[richfaces-issues] [JBoss JIRA] Created: (RF-2342) progressBar: multiple using rich:progressBar component leads to incorrect progress processing for one(at least) of comboBoxes.
Mikhail Vitenkov (JIRA)
jira-events at lists.jboss.org
Wed Feb 27 13:04:42 EST 2008
progressBar: multiple using rich:progressBar component leads to incorrect progress processing for one(at least) of comboBoxes.
-------------------------------------------------------------------------------------------------------------------------------
Key: RF-2342
URL: http://jira.jboss.com/jira/browse/RF-2342
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: IE6, IE7, FF, Safari
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Attachments: ProgressBar.java, ProgressBar.xhtml
Step 1. Add two rich:progressBar components on tested xhtml page.
Step 2. Define "value" attribute for 2 progressBars. Use following code:
<h:outputText value="value:" />
<h:inputText id="valuePBID" value="#{progressBar.value}">
<a4j:support event="onchange" reRender="progressBarID"></a4j:support>
</h:inputText>
<h:outputText value="value1:" />
<h:inputText id="valuePBID1" value="#{progressBar.value1}">
<a4j:support event="onchange" reRender="progressBarID1"></a4j:support>
</h:inputText>
Step 3. Define minValue & maxValue attributes for 2 rich:progressBar components. Use following code:
<h:outputText value="minValue:" />
<h:inputText value="#{progressBar.minValue}" onchange="submit();" />
<h:outputText value="maxValue:" />
<h:inputText value="#{progressBar.maxValue}" onchange="submit();" />
<h:outputText value="minValue1:" />
<h:inputText value="#{progressBar.minValue1}" onchange="submit();" />
<h:outputText value="maxValue1:" />
<h:inputText value="#{progressBar.maxValue1}" onchange="submit();" />
Step 4. Define Load method in java bean, like this:
public String getLoadInfo() {
return Data.cityAfrica[value % 62];
}
public String getLoadInfo1() {
return Data.cityAsia[value % 20];
}
Step 5. Use <h:outputText id="loadInfoPBID" value="[Load: #{progressBar.loadInfo}] " /> for output current city, being loaded over progressBar.
Step 6. Navigate to page, contained tested components.
Step 7. Run progress process for the 1st progressBar & verify loaded data(Africa cities should display).
Step 8. Stop process from Step 7 & run progress process for the 2nd progressBar & verify loaded data(Asia cities should display).
Step 9. Run two process simultaneously & verify loaded data.
Actual behavior:
Loaded data for the 1st & 2nd progressBar are equal(Asia cities display). For more information see .xhtml & .java files attached to this issue.
--
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 richfaces-issues
mailing list