Re: Unexpected component-ID "2" for 1 child of repeating view.

2020-03-18 Thread Sven Meier
Hi, that looks fine. I was thinking of longer tests: - start page - click link* - click button* - ... - check table contents (* initiating a page render) You could put a breakpoint in RepeatingView#newChildId() and check who's creating new items. Have fun Sven On 18.03.20 12:38, Thorsten

Re: How to change the target of some form-action to some configured value?

2020-03-18 Thread Thorsten Schöning
Guten Tag Sven Meier, am Mittwoch, 18. März 2020 um 10:41 schrieben Sie: > have you tried overriding #getActionUrl()? No, that was exactly what I was looking for and must have missed. Thanks, it works as expected. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: t

Re: Unexpected component-ID "2" for 1 child of repeating view.

2020-03-18 Thread Thorsten Schöning
Guten Tag Sven Meier, am Mittwoch, 18. März 2020 um 10:04 schrieben Sie: > what IItemReuseStrategy are you using? > DefaultItemReuseStrategy creates new items on each render, which leads > to new ids. I didn't care yet and can't find anything regarding that strategy, so I guess it's the default

Re: How to change the target of some form-action to some configured value?

2020-03-18 Thread Sven Meier
Hi Thorsten, have you tried overriding #getActionUrl()? Sven On 18.03.20 10:19, Thorsten Schöning wrote: Hi all, I'm rendering a web page for offline use, but am playing around with integration into the parent web site where that offline page comes from. The current approach is to simply sho

How to change the target of some form-action to some configured value?

2020-03-18 Thread Thorsten Schöning
Hi all, I'm rendering a web page for offline use, but am playing around with integration into the parent web site where that offline page comes from. The current approach is to simply show the same auth-form used by the online variant itself already and to simply POST credentials there. The probl

Re: Unexpected component-ID "2" for 1 child of repeating view.

2020-03-18 Thread Sven Meier
Hi Thorsten, what IItemReuseStrategy are you using? DefaultItemReuseStrategy creates new items on each render, which leads to new ids. Maybe testing your additional panels initiates additional pages renderings? Have fun Sven On 18.03.20 09:29, Thorsten Schöning wrote: Hi all, I have some

Unexpected component-ID "2" for 1 child of repeating view.

2020-03-18 Thread Thorsten Schöning
Hi all, I have some test in Wicket which renders a HTML-table using some "DataView" and in that test I'm distinguishing the cases 0, 1 and 3 result rows. The following is an example for 1 and 3 rows: > assertNotNull(tester.getComponentFromLastRenderedPage("html:body:meterCnt.someMonth.pnMcsmSumma