Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 23466 invoked from network); 16 Jun 2006 09:53:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Jun 2006 09:53:50 -0000 Received: (qmail 24127 invoked by uid 500); 16 Jun 2006 09:53:48 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 24075 invoked by uid 500); 16 Jun 2006 09:53:48 -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 24022 invoked by uid 99); 16 Jun 2006 09:53:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jun 2006 02:53:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jun 2006 02:53:47 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AA853714204 for ; Fri, 16 Jun 2006 09:52:30 +0000 (GMT) Message-ID: <22083224.1150451550695.JavaMail.jira@brutus> Date: Fri, 16 Jun 2006 09:52:30 +0000 (GMT+00:00) From: "Catalin Kormos (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (TOMAHAWK-497) Java script rendering inside f:subview and s:subForm In-Reply-To: <24516007.1150397333810.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/TOMAHAWK-497?page=comments#action_12416468 ] Catalin Kormos commented on TOMAHAWK-497: ----------------------------------------- The actual problem is with the subForm component from the sandbox. It has a wrong component family, which determines a wrong clear function name to be rendered in the onclick attribute (instead of using the enclosing h:form id, it uses the enclosing s:subForm's id). I'm going to change the family of this component and it will work then. Regards, Catalin > Java script rendering inside f:subview and s:subForm > ---------------------------------------------------- > > Key: TOMAHAWK-497 > URL: http://issues.apache.org/jira/browse/TOMAHAWK-497 > Project: MyFaces Tomahawk > Type: Bug > Versions: 1.1.4-SNAPSHOT > Environment: Myfaces 1.1.4 snapshot , tomcat 5.5 jboss 4.0.4.GA > Reporter: Grigoras Cristinel > Attachments: indexdebug2.jsp > > When i use subform i get a command link like next. > id="formPagina:header:headerSubform:linkLogoutHeader" class="header_dreapta_logout"> > Because of java script error the link is not submited. > Error: clear_formPagina_3Ameniu_3AmeniuSubform is not defined > Source File: http://192.168.2.11:8080/comercial/faces/sec/index.jsp > Line: 1 > I have tried today with the last sources from subversion and i get the same error. > The clear method is not rendered anymore. > I have attached a small example. > Cristi. -- 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