[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1100) s:convertEnum doesn't throw exception if setter is missing

Christian Bauer (JIRA) jira-events at lists.jboss.org
Fri Mar 23 16:31:34 EDT 2007


s:convertEnum doesn't throw exception if setter is missing
----------------------------------------------------------

                 Key: JBSEAM-1100
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1100
             Project: JBoss Seam
          Issue Type: Bug
          Components: JSF
            Reporter: Christian Bauer
         Assigned To: Pete Muir
            Priority: Minor


                <h:selectOneMenu value="#{a.attribute.visibility}">
                    <s:convertEnum/>
                    <s:enumItem enumValue="SYSTEM"  label="Only System" />
                    <s:enumItem enumValue="USER"    label="Allow user override" />
                    <s:enumItem enumValue="NODE"    label="Allow per-node override" />
                </h:selectOneMenu>

'attribute' is a class that was missing the setVisibility(enum) method. I did not get any exception and spent some time tracking down the problem. My request was just skipping the INVOKE APPLICATION phase and doing RENDER RESPONSE. No faces message either.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list