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 "Nick Lothian (JIRA)" <pl...@jakarta.apache.org> on 2004/11/24 07:22:29 UTC
[jira] Closed: (PLUTO-85) renderResponse.getNamespace() returns invalid Javascript name
[ http://nagoya.apache.org/jira/browse/PLUTO-85?page=history ]
Nick Lothian closed PLUTO-85:
-----------------------------
Assign To: Nick Lothian
> renderResponse.getNamespace() returns invalid Javascript name
> -------------------------------------------------------------
>
> Key: PLUTO-85
> URL: http://nagoya.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
> Assignee: Nick Lothian
> Priority: Minor
> Fix For: Current CVS
> Attachments: 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://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira