RE: AjaxCheckBox not working

2009-01-09 Thread wicketworker

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:siva.mad...@gmail.com]
 Sent: Thu 1/8/2009 10:22 PM
 To: users@wicket.apache.org
 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-responsecomponent
 id=preReleasePanel2b ![CDATA[ 
 div id=preReleaseGroupBox2c class=ricGroupbox
 ric:collapsible=collapsed ric:title=Pre-Release 
 table align=center 
  tr id=comments_id 
 tdlabel id=commentsLabelComments
 :/label/td 
 td align=lefttextarea cols=50
 name=preReleasePanel:preReleaseGroupBox:comments ric:maxchars=250
 rows=3Adding Comments/textarea/td 
 /tr 
  /table 
 /div 
 ]]/componentevaluate![CDATA[Ricola.init( $('#preReleasePanel2b')
 );]]/evaluateevaluate![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: 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
 

-- 
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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AjaxCheckBox not working

2009-01-09 Thread Piller Sébastien

Hi,

wicketworker a écrit :

Its working now .. I had to put the panel inside another div tag and create a
WebMarkupContainer for that..
  

sure, this is very common when using wicket  ajax


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:siva.mad...@gmail.com]
Sent: Thu 1/8/2009 10:22 PM
To: users@wicket.apache.org
Subject: AjaxCheckBox not working 




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



RE: AjaxCheckBox not working

2009-01-08 Thread Serkan Camurcuoglu
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:siva.mad...@gmail.com]
Sent: Thu 1/8/2009 10:22 PM
To: users@wicket.apache.org
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-responsecomponent
id=preReleasePanel2b ![CDATA[ 
div id=preReleaseGroupBox2c class=ricGroupbox
ric:collapsible=collapsed ric:title=Pre-Release 
table align=center 
 tr id=comments_id 
tdlabel id=commentsLabelComments
:/label/td 
td align=lefttextarea cols=50
name=preReleasePanel:preReleaseGroupBox:comments ric:maxchars=250
rows=3Adding Comments/textarea/td 
/tr 
 /table 
/div 
]]/componentevaluate![CDATA[Ricola.init( $('#preReleasePanel2b')
);]]/evaluateevaluate![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: 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