Re: Trouble updating component when using markup inheritance

2016-08-06 Thread Lon Varscsak
Perfect!  Thank you so much for getting me situated!

-Lon

On Sat, Aug 6, 2016 at 3:03 AM, Sven Meier  wrote:

> Hi,
>
> this is a known problem with TransparentWebMarkupContainers, see
> WICKET-5479
>
> You should use a WebMarkupContainer and #queue() instead.
>
> Regards
> Sven
>
>
>
> On 04.08.2016 01:49, Lon Varscsak wrote:
>
>> Hey guys,
>>
>> I’ve got a component (ComponentB) that subclasses from another component
>> (ComponentA).  In ComponentB I call a method on ComponentA that updates a
>> div (ajax) that wraps some content on ComponentA in addition to the
>>  (which is ComponentB’s content).  While this updates
>> correctly, if I have any links in the Child, no Ajax handlers are returned
>> in the ajax call, so the updated values are correct, but none of the links
>> work anymore.
>>
>> If there are any links in ComponentA’s html, they will have the proper
>> handlers regenerated and called.
>>
>> I have a quick start here that demonstrates the problem:
>> https://dl.dropboxusercontent.com/u/549221/test.zip
>>
>> Any thoughts?
>>
>> Thanks,
>>
>> Lon
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Trouble updating component when using markup inheritance

2016-08-06 Thread Sven Meier

Hi,

this is a known problem with TransparentWebMarkupContainers, see WICKET-5479

You should use a WebMarkupContainer and #queue() instead.

Regards
Sven


On 04.08.2016 01:49, Lon Varscsak wrote:

Hey guys,

I’ve got a component (ComponentB) that subclasses from another component
(ComponentA).  In ComponentB I call a method on ComponentA that updates a
div (ajax) that wraps some content on ComponentA in addition to the
 (which is ComponentB’s content).  While this updates
correctly, if I have any links in the Child, no Ajax handlers are returned
in the ajax call, so the updated values are correct, but none of the links
work anymore.

If there are any links in ComponentA’s html, they will have the proper
handlers regenerated and called.

I have a quick start here that demonstrates the problem:
https://dl.dropboxusercontent.com/u/549221/test.zip

Any thoughts?

Thanks,

Lon




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org