Hi All,
I was wondering what is the best practice when referencing components inside an
onClick/onSubmit. Normally:
public void onClick(AjaxRequestTarget target) {
//do things here.
//update these components.
target.addComponent(panelA);
target.addComponent(panelB);
}
But what if you don't have direct access to PanelA or PanelB?
Any help will be greatly appreciated!
Thanks,
Wen Tong
--
The only constant in life is change.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]