Yeah, I understand why this would be the case in say a ListView (when repeated markup would not have a unique id) but when adding a behavior to a component 'myId3' is no more unique than 'myId'. Under what circumstances would the original id no longer be unique? I think that is what I am asking.
Thanks for your reply. Nino.Martinez wrote: > > Hi Neil > > It's id because it's the only thing unique.. > > Neil McT wrote: >> Hi, >> >> I noticed that when I add an Ajax behavior to a component, that >> components >> id is changed - from 'myId' to say 'myId3'. >> >> I know there are ways around this e.g. use the css class to identify the >> component rather than the id - but I am wondering why this is? >> >> Thanks, >> >> Neil. >> > > -- > -Wicket for love > > Nino Martinez Wael > Java Specialist @ Jayway DK > http://www.jayway.dk > +45 2936 7684 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Adding-Ajax-behavior-changes-component-id-tp20046426p20049320.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
