Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 70775 invoked from network); 6 Oct 2006 15:44:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Oct 2006 15:44:38 -0000 Received: (qmail 59305 invoked by uid 500); 6 Oct 2006 15:44:36 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 59283 invoked by uid 500); 6 Oct 2006 15:44:36 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 59272 invoked by uid 99); 6 Oct 2006 15:44:36 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Oct 2006 08:44:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:36323] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 68/54-24193-3E976254 for ; Fri, 06 Oct 2006 08:44:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B98337141F2 for ; Fri, 6 Oct 2006 08:44:21 -0700 (PDT) Message-ID: <2548167.1160149461757.JavaMail.root@brutus> Date: Fri, 6 Oct 2006 08:44:21 -0700 (PDT) From: "Scott O'Bryan (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (MYFACES-1358) PortletExternalContextImpl should massage RenderResponse.getNamespace() into acceptable ID In-Reply-To: <2010173.1152426509893.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/MYFACES-1358?page=comments#action_12440489 ] 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 ID > ------------------------------------------------------------------------------------------ > > Key: MYFACES-1358 > URL: http://issues.apache.org/jira/browse/MYFACES-1358 > 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(UIComponentBase.java:1049) > 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: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira