Am Freitag, 24. Oktober 2008 09:57:18 schrieben Sie: > If you can, I would suggest that > you re-organize your application so that every event (usually a post) > is followed by a redirect (using the redirect action result type).
I still can but i don't see how it would work. If i use "redirectAction" my previous request is lost, right? So i need to specify all parameters via params? Not that problem so far. But the "redirectAction" is used in renderPhase and there i can't get the ActionRequest. ActionRequest cannot be obtained in render phase But i need to set some session wide attribute (which have to be generated first) - needed for JFreeChart to generate Images for JasperReport - actually the jprint Object has to be put in the PortletSession in APPLICATION_SCOPE. So i am confused how this can be done? How can i get back my jprint Object from the session in render phase if i cannot call: PortletActionContext.getActionRequest().getPortletSession() .... Afaik understand, i can't "generate" my stuff and than redirect because all things are lost. But if i have to generate my view in renderPhase, how to get my object back from the session if i have to put in there in the "submit" phase before redirecting ... -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." -- Linus Torvalds
smime.p7s
Description: S/MIME cryptographic signature