On Tue, Apr 10, 2012 at 7:38 AM, Wilhelmsen Tor Iver toriv...@arrive.no wrote:
In 1.4 version of wicket there was no impact, but in 1.5.5 the id is not
overwritten by wicket.
Presumably they changed it so that it would work as a markup equivalent to
setMarkupId(), though I haven't checked
I have a panel like :
public class IntervalFieldPanel extends Panel {
private TextFieldString intervalText;
public IntervalFieldPanel(String id, final IModel model) {
super(id, model);
...
intervalText = new TextFieldString(intervalText, model);
I found the problem.
Inside html I also had the id like:
input wicket:id=intervalText id=intervalText ... /
In 1.4 version of wicket there was no impact, but in 1.5.5 the id is not
overwritten by wicket.
So I removed it, and everything is ok.
--
View this message in context:
In 1.4 version of wicket there was no impact, but in 1.5.5 the id is not
overwritten by wicket.
Presumably they changed it so that it would work as a markup equivalent to
setMarkupId(), though I haven't checked the changes list to verify that. :)
- Tor Iver