[ https://issues.apache.org/jira/browse/TRINIDAD-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650162#action_12650162 ]
Matthias Weßendorf commented on TRINIDAD-1199: ---------------------------------------------- A simple test case it here: <?xml version='1.0' encoding='utf-8'?> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:f="http://java.sun.com/jsf/core" xmlns:tr="http://myfaces.apache.org/trinidad" version="1.2"> <jsp:directive.page contentType="text/html;charset=utf-8"/> <f:view> <tr:document title="test"> <!-- initialize session variables --> <jsp:scriptlet> if (session.getAttribute("alreadyInitialized") == null) { session.setAttribute("flag1", true); session.setAttribute("alreadyInitialized", "done"); } </jsp:scriptlet> <tr:form id="trForm"> <tr:subform id="setup"> <tr:panelHorizontalLayout> <tr:selectBooleanCheckbox id="internal2" label="checker" value="#{sessionScope.flag1}" autoSubmit="true" immediate="true" /> </tr:panelHorizontalLayout> </tr:subform> <tr:subform> <tr:panelHorizontalLayout partialTriggers=":setup:internal2"> <tr:inputText label="Some value" partialTriggers=":internal2" required="#{sessionScope.flag1}"/> <tr:commandButton id="save2" text="Save"/> </tr:panelHorizontalLayout> </tr:subform> </tr:form> </tr:document> </f:view> </jsp:root> > Field is always required, even when set to false via PPR > -------------------------------------------------------- > > Key: TRINIDAD-1199 > URL: https://issues.apache.org/jira/browse/TRINIDAD-1199 > Project: MyFaces Trinidad > Issue Type: Bug > Components: Components > Affects Versions: 1.2.9-core > Reporter: Stephen Friedrich > Attachments: required.png > > > When a tr:inputText is switched from required="true" to required="false" > using PPR, then the required icon is correctly removed, but validation still > fails if the inputText is empty. > See TRINIDAD-1130 for an example app. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.