Re: [Wicket-user] Ajax Panel Include

2006-06-21 Thread Igor Vaynberg
yeah, unfortunately it is not that simple. we do need to remember what we have already rendered and not to duplicate it again just because of ajax render. yuck, any ideas on how to do that?-Igor
On 6/20/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
Without having tested it. IHeaderContributor is the major interfaceand it has one method void renderHead(final Response response); ThePage calls visitChildren to iterate over all components and thecomponents iterate over all there behaviors. Hence, if an ajax
response should include the header contributions as well the onlything you need to do is to call Component.renderHead() for allcomponents involved in the ajax request. But first you need to changeComponent.renderHead
(HtmlHeaderContainer) toComponent.renderHead(Response). One more thing to consider.HtmlHeaderContainer makes sure that headers are not printed more thanonce etc.. Is that required for ajax responses as well? If yes, than
we probably need some more changes.JuergenOn 6/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: juergen is there an easy way to capture the wicket:head output from an ajax
 render into the ajax target? i think we can just dump it as part of ajax response via document.write or something like that. -Igor On 6/20/06, samyem 
[EMAIL PROTECTED] wrote:   Has this problem been fixed yet? This is becoming a major problem in my  project.  --  View this message in context: 
http://www.nabble.com/Ajax-Panel-Include-t1606490.html#a4957969  Sent from the Wicket - User forum at Nabble.com. ___
  Wicket-user mailing list  Wicket-user@lists.sourceforge.net  
https://lists.sourceforge.net/lists/listinfo/wicket-user  ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Ajax Panel Include

2006-06-20 Thread samyem

Has this problem been fixed yet? This is becoming a major problem in my
project.
--
View this message in context: 
http://www.nabble.com/Ajax-Panel-Include-t1606490.html#a4957969
Sent from the Wicket - User forum at Nabble.com.



___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Ajax Panel Include

2006-06-20 Thread Igor Vaynberg
juergen is there an easy way to capture the wicket:head output from an ajax render into the ajax target? i think we can just dump it as part of ajax response via document.write or something like that.-Igor
On 6/20/06, samyem [EMAIL PROTECTED] wrote:
Has this problem been fixed yet? This is becoming a major problem in myproject.--View this message in context: http://www.nabble.com/Ajax-Panel-Include-t1606490.html#a4957969
Sent from the Wicket - User forum at Nabble.com.___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Ajax Panel Include

2006-06-20 Thread Juergen Donnerstag
Without having tested it. IHeaderContributor is the major interface
and it has one method void renderHead(final Response response); The
Page calls visitChildren to iterate over all components and the
components iterate over all there behaviors. Hence, if an ajax
response should include the header contributions as well the only
thing you need to do is to call Component.renderHead() for all
components involved in the ajax request. But first you need to change
Component.renderHead(HtmlHeaderContainer) to
Component.renderHead(Response). One more thing to consider.
HtmlHeaderContainer makes sure that headers are not printed more than
once etc.. Is that required for ajax responses as well? If yes, than
we probably need some more changes.

Juergen

On 6/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 juergen is there an easy way to capture the wicket:head output from an ajax
 render into the ajax target? i think we can just dump it as part of ajax
 response via document.write or something like that.

 -Igor



 On 6/20/06, samyem [EMAIL PROTECTED] wrote:
 
  Has this problem been fixed yet? This is becoming a major problem in my
  project.
  --
  View this message in context:
 http://www.nabble.com/Ajax-Panel-Include-t1606490.html#a4957969
  Sent from the Wicket - User forum at Nabble.com.
 
 
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 




 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Ajax Panel Include

2006-05-16 Thread Martijn Dashorst
This is a problem facing all developers of Ajax components. Read a similar discussion here:http://www.nabble.com/Problem-loading-DatePicker-inside-Panel-through-AjaxLink-t1554862.html
MartijnOn 5/12/06, Samyem Tuladhar [EMAIL PROTECTED] wrote:
When I include a panel into a page after the page has been loaded through ajax, I do not get the content defined in the wicket:head. How do I access the head of the panel so that I can dynamically load them through ajax once the page has been on the browser?
Samye

-- Wicket 1.2 is coming! Write Ajax applications without touching _javascript_!-- http://wicketframework.org


Re: [Wicket-user] Ajax Panel Include

2006-05-16 Thread Johan Compagner
then we really should fix it! :)IGOR!! come on fix it!johanOn 5/12/06, Martijn Dashorst 
[EMAIL PROTECTED] wrote:This is a problem facing all developers of Ajax components. Read a similar discussion here:
http://www.nabble.com/Problem-loading-DatePicker-inside-Panel-through-AjaxLink-t1554862.html
MartijnOn 5/12/06, Samyem Tuladhar 
[EMAIL PROTECTED] wrote:
When I include a panel into a page after the page has been loaded through ajax, I do not get the content defined in the wicket:head. How do I access the head of the panel so that I can dynamically load them through ajax once the page has been on the browser?
Samye

-- Wicket 1.2 is coming! Write Ajax applications without touching _javascript_!-- 
http://wicketframework.org




[Wicket-user] Ajax Panel Include

2006-05-12 Thread Samyem Tuladhar
When I include a panel into a page after the page has been loaded through ajax, I do not get the content defined in the wicket:head. How do I access the head of the panel so that I can dynamically load them through ajax once the page has been on the browser?
Samye


Re: [Wicket-user] Ajax Panel Include

2006-05-12 Thread Eelco Hillenius

Header contributions are a problem currently with AJAX. Please look
for the discussion we had about this earlier this week.

Eelco


On 5/12/06, Samyem Tuladhar [EMAIL PROTECTED] wrote:

When I include a panel into a page after the page has been loaded through
ajax, I do not get the content defined in the wicket:head. How do I access
the head of the panel so that I can dynamically load them through ajax
once the page has been on the browser?

Samye




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user