Because the id is unique only within the markup container of a component. It need not be unique in a page. This is by design. For more details refer: https://cwiki.apache.org/WICKET/component-hierarchy.html
On Tue, Aug 14, 2012 at 3:42 PM, arkadyz111 <[email protected]> wrote: > But why we have to write "userForm" ? What is an idea behind of this ? > > Why get("username") is not enough ? > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Is-there-a-way-to-search-component-by-its-wicket-ID-tp4651175p4651217.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Thanks & regards James Selvakumar mcruncher.com
