Re: Wicket and dynamic adding form compoment

2018-04-06 Thread Shengche Hsiao
Dear all After try-error, I built an working example. testpage.html Add Remove Submit testpage.java public class Test2Page extends BasePage { private static fin

Re: Wicket and dynamic adding form compoment

2018-04-05 Thread Shengche Hsiao
Thanks, Maxim. On Fri, Apr 6, 2018 at 8:45 AM, Maxim Solodovnik wrote: > The idea is: to > create list > Draw it > On button click add another item to list > Redraw it > > WBR, Maxim > (from mobile, sorry for the typos) > > On Fri, Apr 6, 2018, 07:29 Shengche Hsiao wrote: > > > Yep, thanks, I'l

Re: Wicket and dynamic adding form compoment

2018-04-05 Thread Maxim Solodovnik
The idea is: to create list Draw it On button click add another item to list Redraw it WBR, Maxim (from mobile, sorry for the typos) On Fri, Apr 6, 2018, 07:29 Shengche Hsiao wrote: > Yep, thanks, I'll try. > > On Fri, Apr 6, 2018 at 8:22 AM, Maxim Solodovnik > wrote: > > > So you need somethi

Re: Wicket and dynamic adding form compoment

2018-04-05 Thread Shengche Hsiao
Yep, thanks, I'll try. On Fri, Apr 6, 2018 at 8:22 AM, Maxim Solodovnik wrote: > So you need something like: "add new row" functionality? > This can be done with listview for example > > WBR, Maxim > (from mobile, sorry for the typos) > > On Fri, Apr 6, 2018, 06:56 Shengche Hsiao wrote: > > > B

Re: Wicket and dynamic adding form compoment

2018-04-05 Thread Maxim Solodovnik
So you need something like: "add new row" functionality? This can be done with listview for example WBR, Maxim (from mobile, sorry for the typos) On Fri, Apr 6, 2018, 06:56 Shengche Hsiao wrote: > Because I don't know how many rows users may required. > > But using invisible input is an bright

Re: Wicket and dynamic adding form compoment

2018-04-05 Thread Shengche Hsiao
Because I don't know how many rows users may required. But using invisible input is an bright way to do, thank you Maxim. On Thu, Apr 5, 2018 at 11:33 PM, Maxim Solodovnik wrote: > Why to produce the input and not start with invisible input (on server > side) > And show it onclick? > > On Thu,

Re: Wicket and dynamic adding form compoment

2018-04-05 Thread Maxim Solodovnik
Why to produce the input and not start with invisible input (on server side) And show it onclick? On Thu, Apr 5, 2018 at 8:39 PM, Shengche Hsiao wrote: > Dear All > > > I want to design a form with an button, that when click it will produce a > new input text filed within form, and retrieve it in

Wicket and dynamic adding form compoment

2018-04-05 Thread Shengche Hsiao
Dear All I want to design a form with an button, that when click it will produce a new input text filed within form, and retrieve it in server side. I tried listview, but cannot work. I also cannot find relevant examples on stackoverflow, any suggestion? -- ---