[richfaces-issues] [JBoss JIRA] Updated: (RF-2280) a4j command: immediate and ajax single true works wrong.

Tsikhon Kuprevich (JIRA) jira-events at lists.jboss.org
Fri Apr 11 12:19:12 EDT 2008


     [ http://jira.jboss.com/jira/browse/RF-2280?page=all ]

Tsikhon Kuprevich updated RF-2280:
----------------------------------

    Fix Version/s: 3.2.1

> a4j command: immediate and ajax single true works wrong.
> --------------------------------------------------------
>
>                 Key: RF-2280
>                 URL: http://jira.jboss.com/jira/browse/RF-2280
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>            Reporter: Ilya Shaikovsky
>         Assigned To: Alexander Smirnov
>             Fix For: 3.2.0, 3.2.1
>
>
> 		<h:form id="form">
> 			<a4j:jsFunction name="ajaxCall" immediate="true" action="#{bean.action}" ajaxSingle="true"/>
> 			<a4j:commandButton value="a4j button and ajaxCall" immediate="true" action="#{bean.action}" ajaxSingle="true" oncomplete="ajaxCall();"/>
> 			<a4j:commandButton value="a4j button" immediate="true" action="#{bean.action}" ajaxSingle="true"/>
> 			<a4j:commandLink value="a4j link" immediate="true" action="#{bean.action}" ajaxSingle="true"/>
> 			<h:commandButton value="h button" immediate="true" action="#{bean.action}"/>
> 			<h:inputText>
> 				<a4j:support event="onclick" immediate="true" action="#{bean.action}" ajaxSingle="true"/>
> 			</h:inputText>
> 		</h:form>
> Only h:control works fine. Any a4j control with both immediate and ajax Single setted to true works with next log:
> 18.02.2008 14:53:31 org.exadel.jsf.PhaseTracker beforePhase
> INFO: BEFORE RESTORE_VIEW 1
> 18.02.2008 14:53:31 org.exadel.jsf.PhaseTracker afterPhase
> INFO: AFTER RESTORE_VIEW 1
> 18.02.2008 14:53:31 org.exadel.jsf.PhaseTracker beforePhase
> INFO: BEFORE APPLY_REQUEST_VALUES 2
> 18.02.2008 14:53:31 org.exadel.jsf.PhaseTracker afterPhase
> INFO: AFTER APPLY_REQUEST_VALUES 2
> 18.02.2008 14:53:31 org.exadel.jsf.PhaseTracker beforePhase
> INFO: BEFORE PROCESS_VALIDATIONS 3
> 18.02.2008 14:53:31 org.exadel.jsf.PhaseTracker afterPhase
> INFO: AFTER PROCESS_VALIDATIONS 3
> 18.02.2008 14:53:31 org.exadel.jsf.PhaseTracker beforePhase
> INFO: BEFORE UPDATE_MODEL_VALUES 4
> 18.02.2008 14:53:31 org.exadel.jsf.PhaseTracker afterPhase
> INFO: AFTER UPDATE_MODEL_VALUES 4
> 18.02.2008 14:53:31 org.exadel.jsf.PhaseTracker beforePhase
> INFO: BEFORE INVOKE_APPLICATION 5
> 18.02.2008 14:53:31 org.exadel.jsf.PhaseTracker afterPhase
> INFO: AFTER INVOKE_APPLICATION 5
> 18.02.2008 14:53:31 org.exadel.jsf.PhaseTracker beforePhase
> INFO: BEFORE RENDER_RESPONSE 6
> 18.02.2008 14:53:31 org.exadel.jsf.PhaseTracker afterPhase
> INFO: AFTER RENDER_RESPONSE 6
> So at first - request not immediate and action isn't called.

-- 
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