You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2006/03/23 15:54:19 UTC

[jira] Assigned: (TAPESTRY-892) Need a way to load a page programatically

     [ http://issues.apache.org/jira/browse/TAPESTRY-892?page=all ]

Jesse Kuhnert reassigned TAPESTRY-892:
--------------------------------------

    Assign To: Jesse Kuhnert

> Need a way to load a page programatically
> -----------------------------------------
>
>          Key: TAPESTRY-892
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-892
>      Project: Tapestry
>         Type: New Feature
>   Components: Framework
>     Versions: 4.0
>  Environment: Tap4
>     Reporter: Mike Snare
>     Assignee: Jesse Kuhnert
>     Priority: Minor

>
> I have an interceptor that acts in front of the service method major engine services to perform authentication.  If the user is not authenticated I want to force him back to the login page, after which he can be redirected to the original page.
> The post-login redirect back to the desired page can only work currently if the page takes no parameters, and can be successfully rendered using only a name-based redirect (i.e. no parameters and is not the result of a method that sets it up). 
> ExternalCallbacks don't work because at the time the interceptor is running, the page hasn't been set up yet (perhaps that happens inside the service method somewhere?)  I need a way to have a page's properties, etc. get set set up without actually servicing the user's request for the page.
> If I can do that, then I can check if the page implements some interface I define that would have a getParamArray method and that would also extend IExternalPage.  Then I could get an instance of the page from the request cycle, set it up using this new feature I'm requesting, and call the getParamArray from it and use that for the callback.
> Jesse Kuhnert is aware of this request from the user mailing list, and asked that it be assigned to him.
> Thanks Jesse,
> -Mike

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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