Hi, Alternatively, you can use the programmatic way: component.setOutputMarkupId(true).setMarkupId("myId");
Regards, Sebastien. On Tue, Jun 4, 2013 at 9:59 PM, Sven Meier <s...@meiers.net> wrote: > If you specify an id attribute in your markup, Wicket will use it > unaltered: > > <span wicket:id="wicketId" id="stableMarkupId"></span> > > Sven > > > On 06/04/2013 09:51 PM, eugenebalt wrote: > >> Some of my components have the same static Wicket ID, but others look like >> "field7" or "field5" while their ID is "field". >> >> What is the rule governing whether an ID changes or not? And how can I >> enforce a static ID? Thanks >> >> >> >> >> >> -- >> View this message in context: http://apache-wicket.1842946.** >> n4.nabble.com/Wicket-ID-**sometimes-changes-sometimes-** >> stays-the-same-tp4659238.html<http://apache-wicket.1842946.n4.nabble.com/Wicket-ID-sometimes-changes-sometimes-stays-the-same-tp4659238.html> >> Sent from the Users forum mailing list archive at Nabble.com. >> >> ------------------------------**------------------------------**--------- >> To unsubscribe, e-mail: >> users-unsubscribe@wicket.**apache.org<users-unsubscr...@wicket.apache.org> >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > users-unsubscribe@wicket.**apache.org<users-unsubscr...@wicket.apache.org> > For additional commands, e-mail: users-h...@wicket.apache.org > >