Riley wasn't completely potty-trained until recently. Well, I'm crossing my fingers anyway. Right before he turned 6 months old, he got out of his lazy stage (he went through the same "I'm not going to bother telling you" stage that Lyn mention... that's the best way I've heard it described). He stopped having accidents for about 2 weeks... all good, then he had a couple of pee accidents. Now he's been fine for about 3 weeks.
My first mistake was that I stopped crate training for a bit. He would bark on and off all day. He was fine in the house (my lab has made sure that Mommy has made it *very* dog proof), except for the accidents. I changed over to baby-gating him and Sadie into the kitchen when I'm gone. He stopped barking and the accidents stopped. The little lapse he had was actually while I was home (once while I was in the shower, which was annoying, b/c he'd just gone out). LOL.
I think it has finally sunk in, though. He sleeps with me at night. I close the bedroom door to avoid a wandering pee accident, too. Well, last night, he was loose inside (I had a friend over who left after I fell asleep; Riley was out and about, with the bedroom door closed). I woke up around 4am. I think he was hitting the door... not sure. Anyway, I let him in, he laid down, slept. Woke back up to bark at the bedroom door to be let out. He's started doing that. Woot!