* Igor Vaynberg:
> our replace methods should migrate the id imho. please add an rfe.
Back to this. Your change to the generation of markup ids in
branch 1.x does not work when a Page is restored from the session:
the auto-increment id returns 0.
The usecase is this:
MyPage has an embedded Form. And in this Form I do:
protected void onSubmit() {
MyPage p = (MyPage) findParent(MyPage.class);
Component c = p.get("someComponent");
System.out.println(c.getMarkupId()); // prints "someComponent0"
}}
When reverting the markup id generation to the one in Wicket
1.2.3, markup ids work reliably.
Are you able to reproduce that? Are you using branch 1.x? Maybe
I should switch to trunk...
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/