Re: Pluto2: Cannot retrieve attribute from doView that set in processAction!
[email protected] Mon, 30 Jun 2008 22:28:46 -0400 (EDT)
| Newsgroups | gmane.comp.jakarta.pluto.user |
|---|---|
| Message-ID | <[email protected]> |
> > In the processAction method, I set an attribute "name", but it can't > retrieve in doView. Is it a bug? > > Best regards, > Eric > Eric, Its not a bug. Action request attributes are not available in the render phase. I think there is a runtime option for that in JSR 286, but keeping those attributes around for possibly multiple render phases has memory implications. Similarly, you could use the portlet session for this. -- Ben