Re: [Wicket-user] target.addComponent() & setOutputMarkupId(true)

2007-01-30 Thread Scott Swank
Sweet. On 1/30/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: it does in 1.3 and 2.0 -igor On 1/30/07, Scott Swank <[EMAIL PROTECTED]> wrote: > > Good point, thank you. Still, should it raise a Java exception or are > there cases where one would want it to fail? > > On 1/30/07, Nick Heudecker

Re: [Wicket-user] target.addComponent() & setOutputMarkupId(true)

2007-01-30 Thread Igor Vaynberg
it does in 1.3 and 2.0 -igor On 1/30/07, Scott Swank <[EMAIL PROTECTED]> wrote: Good point, thank you. Still, should it raise a Java exception or are there cases where one would want it to fail? On 1/30/07, Nick Heudecker < [EMAIL PROTECTED]> wrote: > > The Ajax debug window tells you that

Re: [Wicket-user] target.addComponent() & setOutputMarkupId(true)

2007-01-30 Thread Scott Swank
Good point, thank you. Still, should it raise a Java exception or are there cases where one would want it to fail? On 1/30/07, Nick Heudecker <[EMAIL PROTECTED]> wrote: The Ajax debug window tells you that it couldn't find a component with the relevant id. It's available in development mode.

Re: [Wicket-user] target.addComponent() & setOutputMarkupId(true)

2007-01-30 Thread Nick Heudecker
The Ajax debug window tells you that it couldn't find a component with the relevant id. It's available in development mode. On 1/30/07, Scott Swank <[EMAIL PROTECTED]> wrote: If you add a component as an Ajax target, but you have not called setOutputMarkupId(true) on the component then the aja

[Wicket-user] target.addComponent() & setOutputMarkupId(true)

2007-01-30 Thread Scott Swank
If you add a component as an Ajax target, but you have not called setOutputMarkupId(true) on the component then the ajax call will never find its target and will silently fail. Should this raise a runtime exception or is there a use case where we would want the Ajax call to silently fail? Thank