Hi,

is there any way to set a component, which is surrounded by wicket:enclosure, visible via ajax? setOutputMarkupPlaceholderTag(true); doesn't seem to be working when component is surrounded by wicket:enclosure.

I made a simple example:
http://download.syncrontech.com/public/EnclosureTest.zip

Ajax debug:

INFO: focus set on ajaxLinkb8
INFO:
INFO: Initiating Ajax GET request on ?wicket:interface=:3:ajaxLink::IBehaviorListener:0:&random=0.6930893807323287
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (160 characters)
INFO:
<?xml version="1.0" encoding="UTF-8"?><ajax-response><component id="containerb9" ><![CDATA[<div id="containerb9">Plah, plah</div>]]></component></ajax-response>
INFO: Response parsed. Now invoking steps...
ERROR: Component with id [[containerb9]] a was not found while trying to perform markup update. Make sure you called component.setOutputMarkupId(true) on the component whose markup you are trying to update.
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...
INFO: Calling focus on ajaxLinkb8
INFO: focus removed from ajaxLinkb8

Should this example be working == Should I create a JIRA issue?

- Juha

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to