myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott O'Bryan (JIRA)" <>
Subject [jira] Commented: (MYFACES-1358) PortletExternalContextImpl should massage RenderResponse.getNamespace() into acceptable ID
Date Fri, 06 Oct 2006 15:44:21 GMT
    [ ] 
Scott O'Bryan commented on MYFACES-1358:

Hey thanks Jason.  I might just do that.  I've never actually run Gridsphere, I was just looking
over the issues and seeing if I could answer any of them without looking too deep.

> PortletExternalContextImpl should massage RenderResponse.getNamespace() into acceptable
> ------------------------------------------------------------------------------------------
>                 Key: MYFACES-1358
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: Portlet_Support
>    Affects Versions: 1.1.3
>         Environment: MacOS X, JDK 5, GridSphere Portal
>            Reporter: Jason Novotny
> Hi,
>     I've been testing the most basic portlet in our GridSphere framework and ran into
this error:
> java.lang.IllegalArgumentException: Subsequent characters of component identifier must
be a letter, a digit, an underscore ('_'), or a dash ('-')! But component identifier contains
>         at javax.faces.component.UIComponentBase.isIdValid(
> It appears that PortletExternalContextImpl is using the RenderResponse.getNamespace()
method which in our case will return a string containing a #.
> The JSR168 spec. does not specify any disallowed characters in getNamespace() so I think
this is a bug in the PortletExternalContextImpl class-- probably in the
> public String encodeNamespace(String name)
> method, it should conert the response.getNamespace into a form that the UIComponentBase.isValid
method can deal with.
>     Thanks, Jason

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message