You can definitely search by wicket id but you may have to specify the
hierarchy as well.
Something like this,

TextField usernameField = (TextField) get("userForm:username");
>

to get the text field component with the wicket id "username" inside the
form whose wicket id is "userForm".

Hope this helps you.

DISCLAIMER: I'm no wicket expert but these are my humble opinions and this
is what I do to locate components when they are loosely coupled.

On Mon, Aug 13, 2012 at 9:41 PM, arkadyz111 <azelek...@gmail.com> wrote:

> Hello, team.
>
> I am looking for a way to locate component by its wicket id in markup
> container. But I see only option to search by "path" is supported.
>
> Do I miss something ?
>
> Thank you.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Is-there-a-way-to-search-component-by-its-wicket-ID-tp4651175.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Thanks & regards
James Selvakumar
mcruncher.com

Reply via email to