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

Carlin Rogers updated BEEHIVE-1031:
-----------------------------------

      Component: NetUI
    Fix Version: 1.1
        Version: V1
                 1.1
      Assign To: Carlin Rogers

> Develop an API for marking scoped request attributes as "persistable".
> ----------------------------------------------------------------------
>
>          Key: BEEHIVE-1031
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-1031
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: V1, 1.1
>     Reporter: Carlin Rogers
>     Assignee: Carlin Rogers
>      Fix For: 1.1

>
> We need a way for a portal framework using the NetUI Scoping support to be 
> able to determine which request attributes should be persisted and which 
> could be removed before persisting the attributes.
> Here's some detail from Rich and his design document...
> http://wiki.apache.org/beehive/Design/PortletScoping - see the third 
> paragraph and below under "Issues and Future Directions".  Basically, the 
> choice of which attributes are persisted is in the developer's control, but 
> we'll offer an API that allows setting of a "hint" for a persisted request 
> attribute, and we'll use this API for attributes NetUI sets as necessary 
> (e.g., the attribute that holds Page Inputs).
> A dev would be able to figure out which attributes we expect to be persisted: 
> in the Map we pass you from ScopedRequest.getAttributeMap(), the attributes 
> that extend ReconstructibleAttribute are the ones from NetUI that you should 
> definitely persist.  This eliminates the need to know our internal attribute 
> names.    
> When you do persist a ReconstructibleAttribute, you should call 
> dropAttribute() on it -- we'll automatically reconstruct it as needed during 
> ScopedRequest.getAttribute().
> Rich also tried to start up a discussion on the dev list earlier in August,
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200509.mbox/[EMAIL 
> PROTECTED]

-- 
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

Reply via email to