]
Nick Belaevski resolved RF-3309.
--------------------------------
Resolution: Duplicate Issue
I have not switched a4j: status in stop mode and no method is called
a4j: commandButton onmouseout
--------------------------------------------------------------------------------------------------
Key: RF-3309
URL:
http://jira.jboss.com/jira/browse/RF-3309
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: richfaces-ui-3.2.0.SR1, apache-tomcat-6.0.16
Reporter: Alexandr Ivanov
Assigned To: Pavel Yaschenko
Fix For: 3.2.1
I have not switched a4j: status in stop mode and no method is called a4j: commandButton
onmouseout, ie after pressing a button locked, my code:
<a4j:log popup="false" level="ALL" style="width: 800px;
height: 300px;"></a4j:log>
<a4j:status startText="Progress" stopText="Done" />
<rich:tabPanel switchType="ajax" tabClass="tabPanel"
selectedTab="t1" immediate="true">
<rich:tab label="1111" name="t1">
<h:form id="FoneForm">
<h:outputLabel for="fone" id="labelFone" value="add:"
/>
<rich:message for="fone"/>
<h:inputText id="fone" value="#{foneBean.fone}"
validator="#{foneBean.Fone_validate}" size="25"
maxlength="21" required="true"><f:validateLength
minimum="5" maximum="21"/></h:inputText>
<a4j:commandButton value="1111" id="buttonAdd"
actionListener="#{foneBean.onAddFone}" onclick="this.disabled=true;"
oncomplete="this.disabled=false; this.src='./img/page/button_add.jpg';"
onmouseover="this.src='./img/page/button_add_active.jpg';"
onmouseout="this.src='./img/page/button_add.jpg';"/>
</h:form>
</rich:tab>
<rich:tab label="222" name="t2">
<h:form id="ChangePassForm">
<h:panelGrid columns="4" cellpadding="0"
cellspacing="0">
<h:inputSecret id="passOld" size="30" maxlength="20"
value="#{changePassBean.passOld}" required="true" />
<rich:message id="testMess" for="passOld"/>
<a4j:commandButton value="2222" id="buttonChangePass"
action="#{changePassBean.onChangePass}" onclick="this.disabled=true;"
oncomplete="this.disabled=false;
this.src='./img/page/button_change.jpg';"
onmouseover="this.src='./img/page/button_change_active.jpg';"
onmouseout="this.src='./img/page/button_change.jpg';" />
</h:panelGrid>
</h:form>
</rich:tab>
</rich:tabPanel>
a4j:log:
debug[15:00:52,421]: Find meta name='Ajax-Update-Ids'
content='FoneForm:j_id4,ChangePassForm:testMess'
debug[15:00:52,421]: Find meta name='Ajax-Response' content='true'
although ChangePassForm: testMess is in another tab...
and further in the log:
debug[15:00:52,468]: Attempt to update part of page for Id: ChangePassForm:testMess
debug[15:00:52,468]: call getElementById for id= ChangePassForm:testMess
warn[15:00:52,468]: Node for replace by response with id ChangePassForm:testMess not
found in document
If you remove rich:message id="testMess" for="passOld" the problem
disappears
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: