You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Markus Joschko (JIRA)" <de...@tapestry.apache.org> on 2008/08/25 10:41:44 UTC

[jira] Created: (TAPESTRY-2618) Do a clientside (javascript) redirect if an event handler returns a page within an ajax call

Do a clientside (javascript) redirect if an event handler returns a page within an ajax call
--------------------------------------------------------------------------------------------

                 Key: TAPESTRY-2618
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2618
             Project: Tapestry
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.0.15
         Environment: all
            Reporter: Markus Joschko


The normal page navigation of tapestry does not work if the request is an ajax request.
Returning a string or a class is not allowed. Returning a page results into the page rendered within the zone that was the target of the ajax request.

Tapestry should be smart enough to figure out if the user wants to navigate to an other page and do the redirect on the client without forcing
the developer to write custom javascript for that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAP5-187) Ajax event handler methods that return a page instance, page class or page name should cause the client to redirect to that page

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship updated TAP5-187:
--------------------------------------

    Summary: Ajax event handler methods that return a page instance, page class or page name should cause the client to redirect to that page  (was: Do a clientside (javascript) redirect if an event handler returns a page within an ajax call)

> Ajax event handler methods that return a page instance, page class or page name should cause the client to redirect to that page
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-187
>                 URL: https://issues.apache.org/jira/browse/TAP5-187
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.0.15
>         Environment: all
>            Reporter: Markus Joschko
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.16
>
>
> The normal page navigation of tapestry does not work if the request is an ajax request.
> Returning a string or a class is not allowed. Returning a page results into the page rendered within the zone that was the target of the ajax request.
> Tapestry should be smart enough to figure out if the user wants to navigate to an other page and do the redirect on the client without forcing
> the developer to write custom javascript for that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Assigned: (TAP5-187) Do a clientside (javascript) redirect if an event handler returns a page within an ajax call

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAP5-187:
-----------------------------------------

    Assignee: Howard M. Lewis Ship

> Do a clientside (javascript) redirect if an event handler returns a page within an ajax call
> --------------------------------------------------------------------------------------------
>
>                 Key: TAP5-187
>                 URL: https://issues.apache.org/jira/browse/TAP5-187
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.0.15
>         Environment: all
>            Reporter: Markus Joschko
>            Assignee: Howard M. Lewis Ship
>
> The normal page navigation of tapestry does not work if the request is an ajax request.
> Returning a string or a class is not allowed. Returning a page results into the page rendered within the zone that was the target of the ajax request.
> Tapestry should be smart enough to figure out if the user wants to navigate to an other page and do the redirect on the client without forcing
> the developer to write custom javascript for that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Closed: (TAP5-187) Ajax event handler methods that return a page instance, page class or page name should cause the client to redirect to that page

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-187.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.16

> Ajax event handler methods that return a page instance, page class or page name should cause the client to redirect to that page
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-187
>                 URL: https://issues.apache.org/jira/browse/TAP5-187
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.0.15
>         Environment: all
>            Reporter: Markus Joschko
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.16
>
>
> The normal page navigation of tapestry does not work if the request is an ajax request.
> Returning a string or a class is not allowed. Returning a page results into the page rendered within the zone that was the target of the ajax request.
> Tapestry should be smart enough to figure out if the user wants to navigate to an other page and do the redirect on the client without forcing
> the developer to write custom javascript for that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org