Ok, cool. Just checking. So, I can't use that code because I need to conditionally check to see if it's "ajaxified." No big deal. It's already written and working. Thanks for the pointers.
On Tue, Jul 20, 2010 at 4:24 PM, Igor Vaynberg <igor.vaynb...@gmail.com> wrote: > right, like i said, no. if you try to add something and it doesnt have > output markup id set to true it should throw an exception just like if > you wouldve used addcomponent() > > -igor > > On Tue, Jul 20, 2010 at 11:59 AM, James Carman > <ja...@carmanconsulting.com> wrote: >> I'm talking about that check you suggested, Igor, to see if the user >> has called setOuputMarkupId(true) on the IFeedback component. Should >> that be part of the AjaxRequestTarget.addChildren() method's >> implementation? >> >> On Tue, Jul 20, 2010 at 2:56 PM, Igor Vaynberg <igor.vaynb...@gmail.com> >> wrote: >>> no, if you are adding children you should already know that their ids are >>> set >>> >>> -igor >>> >>> On Tue, Jul 20, 2010 at 10:03 AM, James Carman >>> <ja...@carmanconsulting.com> wrote: >>>> On Tue, Jul 20, 2010 at 11:59 AM, James Carman >>>> <ja...@carmanconsulting.com> wrote: >>>>> On Tue, Jul 20, 2010 at 11:57 AM, Martin Grigorov <mgrigo...@apache.org> >>>>> wrote: >>>>>> What >>>>>> about >>>>>> org.apache.wicket.ajax.AjaxRequestTarget.addChildren(MarkupContainer, >>>>>> Class<?>) >>>>>> >>>>>> I.e.: target.addChildren(getPage(), IFeedback.class) ? >>>>> >>>>> Even cooler! >>>>> >>>> >>>> The only problem with this approach is there is no check in >>>> addChildren() to see if setOutputMarkupId() is turned on or not. >>>> Should that be part of the functionality? >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>>> For additional commands, e-mail: users-h...@wicket.apache.org >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org