Thanks Bill,
It's working now :)
Regards
On 6/15/07, Bill Holloway <[EMAIL PROTECTED]> wrote:
onMyAction() returns a textstream to the handleResponse javascript
method on the client. That's a handwritten method. Not sure how
you're getting the whole HTML of your page.
--
Let's create a high
onMyAction() returns a textstream to the handleResponse javascript
method on the client. That's a handwritten method. Not sure how
you're getting the whole HTML of your page.
On 6/14/07, Jun Tsai <[EMAIL PROTECTED]> wrote:
2007/6/14, Joshua Jackson <[EMAIL PROTECTED]>:
>
> Hi Bill
>
> Thanks a
2007/6/14, Joshua Jackson <[EMAIL PROTECTED]>:
Hi Bill
Thanks alot for the example. It works great. But this returns the
whole page of HTML to the alert message. How do I get just the
TextStreamResponse and place it on my page?
Thanks in advance.
You may be see prototpye and scriptaculus.u
Hi Bill
Thanks alot for the example. It works great. But this returns the
whole page of HTML to the alert message. How do I get just the
TextStreamResponse and place it on my page?
Thanks in advance.
On 6/13/07, Bill Holloway <[EMAIL PROTECTED]> wrote:
Joshua,
here's a very simple example:
T
> Hi, i copy & paste this example but it don't work , do i missing something
> ?
Could you post the error? I saw some inline expansions ( ${theLink} ) so
maybe you get the error because you're not running the tapestry
5.0.5-SNAPSHOT release.
--
View this message in context:
http://www.nabble
I had test it. works fine.
2007/6/14, Bill Holloway <[EMAIL PROTECTED]>:
Joshua,
here's a very simple example:
Template:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
function handleResponse (xhrResponse)
{
alert (xhrResponse.responseText);
Hi, i copy & paste this example but it don't work , do i missing something ?
texomaleo wrote:
>
> Joshua,
>
> here's a very simple example:
>
> Template:
>
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>
>
>
>
>
>
> function handleResponse (xhrResponse)
> {
>
Joshua,
here's a very simple example:
Template:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
function handleResponse (xhrResponse)
{
alert (xhrResponse.responseText);
}
function asyncCall ()
{
new Ajax.Req
On 6/13/07, Joshua Jackson <[EMAIL PROTECTED]> wrote:
And then process it with prototype inside your html page?
Yep.
Or do you have any other approach for this?
You may or may not use TextStreamResponse but that pretty much the
same of what i'm using right now
Ciao
--
Massimo
http://merid
Hi Massimo
Thanks for the response. How do you exatcly implement the response?
What I assume is that you do something like this:
public StreamResponse onAction(){
return new TextStreamResponse("text/xml", "");
}
And then process it with prototype inside your html
Hi Howard,
Thanks for the reply. This is a great news for the whole community, as
AJAX is something we can not avoid these days. You're right about
response is a full page HTML. How will the dispatcher only gives back
the data I need instead of the full page HTML?
On 6/12/07, Howard Lewis Ship <
On 6/12/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
My plans for Ajax is to introduce a new Dispatcher that recognizes the
XHR request and handles the response different, rendering a response
within the same request. What you are seeing is probably the result of
the ac tion request sending
My plans for Ajax is to introduce a new Dispatcher that recognizes the
XHR request and handles the response different, rendering a response
within the same request. What you are seeing is probably the result of
the ac tion request sending a redirect to the client, then a full page
of HTML.
On 6/1
Hi all,
I'm having a rough time to Ajaxify my page with the built in
scriptaculous in T5. How do I process and display the streaming result
received from server with the built in scriptaculous bundled with T5?
Has anyone able to implement scriptaculous on their Page? Can you
please share it with
14 matches
Mail list logo