simple enough. But then if I try to do the same with an element that is more specific it becomes much more complicated:
this statement references an item thats nested in the main pageblock, that has a pageblocksection in it, that has a pageblocksectionitem, that has a panelgrid, that has an outputpanel, in which lies our textbox.
As you can see this is ENTIRELY too complicated. Sure I should probably take a second look at my page structure and see if its all necessary, and rethink my naming conventions, but surely this will arise at some point. This leads to horribly unreadable code, lots of room for error, and no modularity as when someone changes any element in that hierarchy that ID is no longer valid. Is there a better way to pass that ID that Im just missing?