[seam-issues] [JBoss JIRA] (JBSEAM-5069) validate-model=false attribute of a page.xml file does not disable bean validation

Marek Schmidt (JIRA) jira-events at lists.jboss.org
Fri Jan 25 04:30:47 EST 2013


     [ https://issues.jboss.org/browse/JBSEAM-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Schmidt resolved JBSEAM-5069.
-----------------------------------

    Resolution: Rejected


I believe this is not a Seam issue, see my comment in:

https://community.jboss.org/message/794252#794252

Feel free to reopen with more information if you feel I have misunderstood the issue.
                
> validate-model=false attribute of a page.xml file does not disable bean validation
> ----------------------------------------------------------------------------------
>
>                 Key: JBSEAM-5069
>                 URL: https://issues.jboss.org/browse/JBSEAM-5069
>             Project: Seam 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.3.0.Final
>         Environment: JBoss 7.1
>            Reporter: Marnix van Bochove
>              Labels: pages_xml, ui, validation
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> Bean validation can be disabled for the whole facelet or for same field by using the validate-model and validateModel attributes of a page.xml file. The value of this field is read correctly, but it isn't used by the class org.jboss.seam.ui.validator.ModelValidator. As a result, bean validation is always executed. There are a lot of pages which use a jsr303 annotated bean, but don't want this validation to be executed (search pages for example).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list