[JBoss JIRA] Created: (RF-7235) tabPanel: valueChangeListener called in UPDATE_MODEL_VALUES phase instead of PROCESS_VALIDATIONS phase
by Vadim Mikovoz (JIRA)
tabPanel: valueChangeListener called in UPDATE_MODEL_VALUES phase instead of PROCESS_VALIDATIONS phase
------------------------------------------------------------------------------------------------------
Key: RF-7235
URL: https://jira.jboss.org/jira/browse/RF-7235
Project: RichFaces
Issue Type: Bug
Components: component-output
Affects Versions: 3.3.2.CR1
Reporter: Vadim Mikovoz
Assignee: Nick Belaevski
Precondition:
<rich:tabPanel value="#{custom.value}"
valueChangeListener="#{custom.valueChangeListener}"
immediate="false">
<rich:tab></rich:tab>
<rich:tab></rich:tab>
</rich:tabPanel>
In bean:
public void valueChangeListener(ValueChangeEvent e) {
System.out.println("***>> valueChangeListener");
}
1. Open test page
2. Switch between tabs
3. See server log
------------------------
Actual result: valueChangeListener called in UPDATE_MODEL_VALUES phase
Expected result: valueChangeListener should be called in PROCESS_VALIDATIONS phase
--
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
14 years, 1 month
[JBoss JIRA] Created: (RF-8468) "eventsQueue" attribute of a4j:form doesn't work
by Denis Petrunin (JIRA)
"eventsQueue" attribute of a4j:form doesn't work
------------------------------------------------
Key: RF-8468
URL: https://jira.jboss.org/jira/browse/RF-8468
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.3.3.CR1
Environment: RichFaces 3.3.3.CR1
Seam: 2.1.1.GA
Windows XP
Firefox 3.5.8
Reporter: Denis Petrunin
"eventsQueue" attribute of a4j:form doesn't work, ajax requests aren't queued.
1) Click "TEST" button
2) Wait ~1 sec
3) Click "TEST" button once more
Expected result: ajax requests must be queued and processed one-by-one
Actual result: ajax requests aren't queued, as result exception occurs: javax.servlet.ServletException: org.jboss.seam.core.LockTimeoutException: could not acquire lock on @Synchronized component: testBean
========== JSF view code
<a4j:form eventsQueue="TestQueue">
<a4j:commandButton value="TEST" action="#{testBean.test}" />
</a4j:form>
========== Java bean code
@Name("testBean")
@Scope(ScopeType.SESSION)
public class TestBean {
public void test() throws InterruptedException {
Thread.sleep(60000);
}
}
==========
--
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
14 years, 1 month
[JBoss JIRA] Created: (RF-8280) progressBar: conditions seems differs in renderer and script.
by Ilya Shaikovsky (JIRA)
progressBar: conditions seems differs in renderer and script.
-------------------------------------------------------------
Key: RF-8280
URL: https://jira.jboss.org/jira/browse/RF-8280
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-output
Affects Versions: 3.3.3.BETA1
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
Nick check please next code pieces:
renderer when encodes client state checks:
String state = (value.doubleValue() <= min.doubleValue()) ? "initialState"
: ((value.doubleValue() >= max.doubleValue()) ? "completeState"
: "progressState");
but script in oncomplete contains:
if (this.state == "progressState") {
if (this.value > this.getMaxValue()) {
this.forceState("complete",null);
return;
}
so renderer condition is >= and script condition is >
--
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
14 years, 1 month