Re: Getting a page content

2009-03-12 Thread Atli Páll Hafsteinsson
Hi guys I decided on a different aproach since this all sounds funky :) Using ajax instead. But thanx for the response. Atli On 3/12/09 12:12 PM, "Mike Schrag" wrote: >> From memory (Mike to correct me) PW does two appendToResponse phases >> for its AJAX system. So maybe you could do somet

Re: Getting a page content

2009-03-12 Thread Mike Schrag
From memory (Mike to correct me) PW does two appendToResponse phases for its AJAX system. So maybe you could do something like this and write the second time into a dummy response or something? I'm not too sure if this would work for what you want. actually, two invokeActions, one appendToR

Re: Getting a page content

2009-03-12 Thread Andrew Lindesay
Hello Atli; I don't think that makes sense because if you are in the "appendToResponse" phase then the rest of the page still has to be drawn. From memory (Mike to correct me) PW does two appendToResponse phases for its AJAX system. So maybe you could do something like this and write t

Getting a page content

2009-03-12 Thread Atli Páll Hafsteinsson
Hi Is there a way to get the current page content in a component beiing rendered within that page? Calling context().page().context().response().contentString(); or context().response().contentString(); only gives me the content from the top of the page down to the current component, which kinda