Its working now .. I had to put the panel inside another div tag and create a WebMarkupContainer for that..
Serkan Camurcuoglu-3 wrote: > > did you call setOutputMarkupId(true) and > setOutputMarkupPlaceHolderTag(true) on your panel? setOutputMarkupId(true) > is required for the panel to have an id, and > setOutputMarkupPlaceHolderTag(true) is required if it will be initially > invisible.. > > > -----Original Message----- > From: wicketworker [mailto:[email protected]] > Sent: Thu 1/8/2009 10:22 PM > To: [email protected] > Subject: AjaxCheckBox not working > > > I am trying to display a panel when the user clicks on the check box. Ajax > request is getting fired and response is not getting processed by the > browsder with an error. > > > INFO: Received ajax response (2681 characters) > INFO: > <?xml version="1.0" encoding="UTF-8"?><ajax-response><component > id="preReleasePanel2b" ><![CDATA[ > <div id="preReleaseGroupBox2c" class="ricGroupbox" > ric:collapsible="collapsed" ric:title="Pre-Release"> > <table align="center"> > <tr id="comments_id"> > <td><label id="commentsLabel">Comments > :</label></td> > <td align="left"><textarea cols="50" > name="preReleasePanel:preReleaseGroupBox:comments" ric:maxchars="250" > rows="3">Adding Comments</textarea></td> > </tr> > </table> > </div> > ]]></component><evaluate><![CDATA[Ricola.init( $('#preReleasePanel2b') > );]]></evaluate><evaluate><![CDATA[Ricola.page.hidePleaseWait();]]></evaluate></ajax-response> > > INFO: Response parsed. Now invoking steps... > ERROR: Component with id [[preReleasePanel2b]] 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. > > I can clearly see that preReleasePanel2b is there in the response, can > anyone please tell me why i am getting this error. > > > > -- > View this message in context: > http://www.nabble.com/AjaxCheckBox-not-working-tp21360165p21360165.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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] > -- View this message in context: http://www.nabble.com/AjaxCheckBox-not-working-tp21360165p21373053.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
