[ 
https://issues.apache.org/jira/browse/TRINIDAD-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Röthenbacher updated TRINIDAD-1444:
-----------------------------------------

    Status: Patch Available  (was: Open)

> 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
>         Attachments: Core.js.diff.txt
>
>
> 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.

Reply via email to