Thanks, gonna try this.

I hope this also works for adding Components with subcomponents (e.g.
Tables, Panels etc.) and I don't have to manually
Wicket...appendChild() all the subcomponents in js.

On Sun, Jul 17, 2011 at 5:38 PM, Bertrand Guay-Paquet
<ber...@step.polymtl.ca> wrote:
> Hi,
>
> Have you seen
> http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/
> ? I used this method to add form inputs via ajax. If I understand correctly
> what you want to do, you should be able to use this for adding labels.
>
> Bertrand
>
> On 17/07/2011 9:23 AM, Michael Petritsch wrote:
>>
>> Hi,
>>
>> is there a way to load wicket components from javascript? I tried the
>> https://cwiki.apache.org/WICKET/calling-wicket-from-javascript.html
>> approach. I tried to add a Label but it wasn't visible on the page. I
>> tried to add a Panel but it never replaced the markupPlaceHolder I
>> added for it. All I can do is send some js back via
>> target.appendJavascript. Am I using it wrong or is there another way
>> to do this?
>>
>> regards,
>> Michael
>>
>> ---------------------------------------------------------------------
>> 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

Reply via email to