[
https://issues.apache.org/jira/browse/TAPESTRY-892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesse Kuhnert updated TAPESTRY-892:
-----------------------------------
Fix Version/s: (was: 4.1.3)
4.1.4
> Need a way to load a page programatically
> -----------------------------------------
>
> Key: TAPESTRY-892
> URL: https://issues.apache.org/jira/browse/TAPESTRY-892
> Project: Tapestry
> Issue Type: New Feature
> Components: Framework
> Affects Versions: 4.0
> Environment: Tap4
> Reporter: Mike Snare
> Assignee: Jesse Kuhnert
> Priority: Minor
> Fix For: 4.1.4
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]