You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Craig Doremus (JIRA)" <pl...@jakarta.apache.org> on 2005/07/21 23:56:46 UTC
[jira] Resolved: (PLUTO-85) renderResponse.getNamespace() returns invalid Javascript name
[ http://issues.apache.org/jira/browse/PLUTO-85?page=all ]
Craig Doremus resolved PLUTO-85:
--------------------------------
Fix Version: Current CVS
(was: 1.0.1-rc2)
Resolution: Fixed
In patched RenderResponseImpl with Zhong Zheng's patch in SVN revision 220190
> renderResponse.getNamespace() returns invalid Javascript name
> -------------------------------------------------------------
>
> Key: PLUTO-85
> URL: http://issues.apache.org/jira/browse/PLUTO-85
> Project: Pluto
> Type: Bug
> Components: portlet container
> Versions: Current CVS
> Environment: Cocoon-2.1.5.1 portal
> Reporter: Michal Durdina
> Priority: Minor
> Fix For: Current CVS
> Attachments: RenderResponseImpl.diff.txt, TIMESTAMP_20041116.patch_1.diff
>
> Use of renderResponse.getNamespace() method is primary for prefixing names of script variables and functions in portlets.
> In Cocoon-2.1.5.1 portal environment renderRequest.getNamespace() returns i.e. 'Helloworld-1' and Pluto consequently constructs namespace as 'Pluto_Helloworld-1_'. Such a name is not valid name for Javascript function or variable.
> Patch that translates all '-' to '_' in returning namespace is attached.
--
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