tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Commented: (TAPESTRY-524) Problems with Client Side Persistence
Date Thu, 04 Aug 2005 21:38:35 GMT
    [ http://issues.apache.org/jira/browse/TAPESTRY-524?page=comments#action_12317682 ] 

Howard M. Lewis Ship commented on TAPESTRY-524:
-----------------------------------------------

Much easier for me if the patch is in the form of ... a CVS patch.

> Problems with Client Side Persistence
> -------------------------------------
>
>          Key: TAPESTRY-524
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-524
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>  Environment: Tapestry 3.0 Beta 3
>     Reporter: Adam Greene
>     Assignee: Howard M. Lewis Ship
>  Attachments: recordfix.zip
>
>     public void initializeService()
>     {
>         List names = _request.getParameterNames();
>         Iterator i = names.iterator();
>         while (i.hasNext())
>         {
>             String name = (String) i.next();
>             if (!name.startsWith(PREFIX))
>                 continue;
>             // At this point we need to validate the parameter against what type of persistent
strategy this is, we are blindly grabbing page persistence,even
>             // when the strategy is application.
>             String pageName = name.substring(PREFIX.length());
>             String encoded = _request.getParameterValue(name);
>             PersistentPropertyData data = new PersistentPropertyData(_encoder);
>             data.storeEncoded(encoded);
>             _data.put(pageName, data);
>         }

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


Mime
View raw message