Solution # 2 (setMarkupId) worked for us.

But Sven's Solution # 1 did not. Even after adding id="datefield"
wicket:id="datefield" to <input type="text">, the output still contained the
attribute id="datefield7" or something similar.

# 2 works for us, but I'm just wondering, is there something preventing # 1
from working?

There are no Ajax events on this TextField. Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-ID-sometimes-changes-sometimes-stays-the-same-tp4659238p4659255.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

Reply via email to