wicket:enclosure is a _convinience_ so dont expect it to work everywhere for every imaginable usecase.
-igor On Mon, Mar 31, 2008 at 10:30 AM, Juha Alatalo <[EMAIL PROTECTED]> wrote: > Ok. That's the answer I was afraid of. > > - Juha > > > > Igor Vaynberg wrote: > > enclosures dont really work with ajax. you would have to update some > > container that the enclosure is in > > > > -igor > > > > > > On Mon, Mar 31, 2008 at 10:22 AM, Juha Alatalo > > <[EMAIL PROTECTED]> wrote: > >> 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] > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]