myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Röthenbacher (JIRA) <...@myfaces.apache.org>
Subject [jira] Created: (TRINIDAD-1444) Client validation fails for subforms.
Date Thu, 02 Apr 2009 21:35:12 GMT
Client validation fails for subforms.
-------------------------------------

                 Key: TRINIDAD-1444
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1444
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions:  1.2.12-core
         Environment: Apache Pluto Portal
            Reporter: Felix Röthenbacher


When using subforms to limit scope of validation Trinidad still validates the whole form.
Reason is that a variable with name equal the form name holding all subforms on a page isn't
retrieved correctly by client side Javascript validation code. The variable name is built
replacing any colons ':' with underscores '_' to make it Javascript compatible (see XhtmlUtils.java:514).
 This name building isn't reflected in client side validation code. Instead the original form
name is used which fails to get the subforms (see Core.js:2481).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message