Details
Description
In the page generated by the following code I click Save button for blank form and receive validation errors about reqiored field.
Having this messages on screen I'm trying to click Search link and validation errors are still present, when it is expected that required validation should be disabled for inputText.
--- CODE
<ice:form>
......
<h:panelGroup styleClass="required">
<h:inputText id="designCustomerSearch" value="#{searchMaps.CustomerList.hname}"/>
</h:panelGroup>
<ice:commandLink partialSubmit="true"
action="selectCustomer"
value="#{ui.cmn_search}">
<f:setPropertyActionListener value="true" target="#{helper.customersShowTable}" />
<f:setPropertyActionListener value="true" target="#{helper.selectCustomer}" />
<f:setPropertyActionListener value="#{dr.selectedItem.parent.bo.distiId}" target="#{searchMaps.CustomerList.distiId}" />
</ice:commandLink>
......
<h:inputText id="qty" value="#{searchMaps.gty}" reguired="true"/>
....
<ice:commandButton value="#{ui.cmn_save}" action="..." />
</ice:form>
--- /CODE
Having this messages on screen I'm trying to click Search link and validation errors are still present, when it is expected that required validation should be disabled for inputText.
--- CODE
<ice:form>
......
<h:panelGroup styleClass="required">
<h:inputText id="designCustomerSearch" value="#{searchMaps.CustomerList.hname}"/>
</h:panelGroup>
<ice:commandLink partialSubmit="true"
action="selectCustomer"
value="#{ui.cmn_search}">
<f:setPropertyActionListener value="true" target="#{helper.customersShowTable}" />
<f:setPropertyActionListener value="true" target="#{helper.selectCustomer}" />
<f:setPropertyActionListener value="#{dr.selectedItem.parent.bo.distiId}" target="#{searchMaps.CustomerList.distiId}" />
</ice:commandLink>
......
<h:inputText id="qty" value="#{searchMaps.gty}" reguired="true"/>
....
<ice:commandButton value="#{ui.cmn_save}" action="..." />
</ice:form>
--- /CODE
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.7 [ 10080 ] | |
Assignee Priority | P2 | |
Assignee | Adnan Durrani [ adnan.durrani ] |
Assignee | Adnan Durrani [ adnan.durrani ] | Philip Breau [ philip.breau ] |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Invalid [ 6 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |