[
https://jira.jboss.org/jira/browse/RF-7620?page=com.atlassian.jira.plugin...
]
Denis Forveille updated RF-7620:
--------------------------------
Description:
In firefox (3.0.12 and 3.5.1) the following code does not work :
<h:selectOneMenu id="sol_provincePays2"
value="#{commandeCtrl.informationFournisseur.provincePaysEnlevement}">
<a4j:support event="onchange" reRender="pg_termeAchat" />
<s:selectItems id="si_provincePays2"
value="#{listeProvincesPays}" var="s"
label="#{s.descriptionFR}" />
<s:convertEntity />
</h:selectOneMenu>
...
<h:panelGroup id="pg_termeAchat">
<h:message id="m_termeAchat" for="som_termeAchat" >
<h:selectOneRadio id="som_termeAchat"
value="#{commandeCtrl.commandeTemp.termeAchat}" layout="pageDirection"
required="true" >
<s:selectItems id="si_termeAchat"
value="#{commandeCtrl.termesAchatPossibles}" var="itemTermeAchat"
label="#{messages[itemTermeAchat]}" />
<s:convertEnum />
</h:selectOneRadio>
</h:panelGroup>
When a value is selected in the sol_provincePays2 drop down, the
"som_termeAchat" component is rerender, BUT submitting the form fails because of
the required="true" contsraint on termeAchat
Resubmitting the form without changing anything in the page works (ie clicking a second
time on the "submit" button)
Works perfectly on IE 6 and fails in FF 3.0.12 and FF 3.5.1
It seems that the rerendered component is not fully/correctly initialized after RF
rerendered it
was:
In firefox (3.0.12 and 3.5.1) the following code does not work :
<h:selectOneMenu id="sol_provincePays2"
value="#{commandeCtrl.informationFournisseur.provincePaysEnlevement}">
<a4j:support event="onchange" reRender="pg_termeAchat" />
<s:selectItems id="si_provincePays2"
value="#{listeProvincesPays}" var="s"
label="#{s.descriptionFR}" />
<s:convertEntity />
</h:selectOneMenu>
...
<h:panelGroup id="pg_termeAchat">
<h:message id="m_termeAchat" for="som_termeAchat" >
<h:selectOneRadio id="som_termeAchat"
value="#{commandeCtrl.commandeTemp.termeAchat}" layout="pageDirection"
required="true" >
<s:selectItems id="si_termeAchat"
value="#{commandeCtrl.termesAchatPossibles}" var="itemTermeAchat"
label="#{messages[factoriesCommandePrivee.getMsgKey(itemTermeAchat)]}" />
<s:convertEnum />
</h:selectOneRadio>
</h:panelGroup>
When a value is selected in the sol_provincePays2 drop down, the
"som_termeAchat" component is rerender, BUT submitting the form fails because of
the required="true" contsraint on termeAchat
Resubmitting the form without changing anything in the page works (ie clicking a second
time on the "submit" button)
Works perfectly on IE 6 and fails in FF 3.0.12 and FF 3.5.1
It seems that the rerendered component is not fully/correctly initialized after RF
rerendered it
a4j:support rerender on d h:selectOneRadio does not work on firefox:
need to sumit the form twice to work
----------------------------------------------------------------------------------------------------------
Key: RF-7620
URL:
https://jira.jboss.org/jira/browse/RF-7620
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.1, 3.3.2.CR1
Environment: RF 3.3.1 Seam 2.1.2 WebSphere v7.0.0.5 (That include JSF 1.2_07)
Reporter: Denis Forveille
In firefox (3.0.12 and 3.5.1) the following code does not work :
<h:selectOneMenu id="sol_provincePays2"
value="#{commandeCtrl.informationFournisseur.provincePaysEnlevement}">
<a4j:support event="onchange" reRender="pg_termeAchat" />
<s:selectItems id="si_provincePays2"
value="#{listeProvincesPays}" var="s"
label="#{s.descriptionFR}" />
<s:convertEntity />
</h:selectOneMenu>
...
<h:panelGroup id="pg_termeAchat">
<h:message id="m_termeAchat" for="som_termeAchat" >
<h:selectOneRadio id="som_termeAchat"
value="#{commandeCtrl.commandeTemp.termeAchat}" layout="pageDirection"
required="true" >
<s:selectItems id="si_termeAchat"
value="#{commandeCtrl.termesAchatPossibles}" var="itemTermeAchat"
label="#{messages[itemTermeAchat]}" />
<s:convertEnum />
</h:selectOneRadio>
</h:panelGroup>
When a value is selected in the sol_provincePays2 drop down, the
"som_termeAchat" component is rerender, BUT submitting the form fails because of
the required="true" contsraint on termeAchat
Resubmitting the form without changing anything in the page works (ie clicking a second
time on the "submit" button)
Works perfectly on IE 6 and fails in FF 3.0.12 and FF 3.5.1
It seems that the rerendered component is not fully/correctly initialized after RF
rerendered it
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira