Hi nino, are you proposing to add a check to prevent components from adding themself?
Argh sorry I was trying to simplify it.It should state getForm().add(getForm.add(new TextField("id"))). The problem are the double calls to getForm it's wrong and an error.. I just wanted to mention it. regards Nino 2011/8/30 Martin Grigorov<[email protected]>:the pasted code is broken can you paste again ? On Tue, Aug 30, 2011 at 10:37 AM, nino martinez wael <[email protected]> wrote:I just made an copy paste error, resulting in this: getForm().add( getFlow().add( However this results wicket running in circles, I know I made an error but should'nt wicket complain over the component already has been added? regards Nino-- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com
