[ http://issues.apache.org/jira/browse/TAPESTRY-524?page=all ]
Howard M. Lewis Ship updated TAPESTRY-524:
------------------------------------------
Summary: Client Side Persistence Scopes can conflict with each other (was:
Problems with Client Side Persistence)
> Client Side Persistence Scopes can conflict with each other
> -----------------------------------------------------------
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]