[richfaces-issues] [JBoss JIRA] (RF-10853) dataScroller: do not works with a4j:status properly

nimo stephan (JIRA) jira-events at lists.jboss.org
Fri Jan 4 07:15:09 EST 2013


    [ https://issues.jboss.org/browse/RF-10853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743505#comment-12743505 ] 

nimo stephan commented on RF-10853:
-----------------------------------

I have also this issue: onstart is called, but onstop not.

But my usecase is a little different:

<h:form id="form">
<a4j:status onstart="#{rich:component('splash')}.show()" onstop="#{rich:component('splash')}.hide()" />

<h:panelGroup id="myPanel">	
<a4j:commandButton id="myAction" action=".." render="myPanel"></a4j:commandButton>
</h:panelGroup>
		
</h:form>


So you see, I render mypanel after clicking myAction. The onstop is never called.

                
> dataScroller: do not works with a4j:status properly
> ---------------------------------------------------
>
>                 Key: RF-10853
>                 URL: https://issues.jboss.org/browse/RF-10853
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: base functionality , component-tables
>    Affects Versions: 4.0.0.Final
>            Reporter: Ilya Shaikovsky
>             Fix For: 5-Tracking
>
>
> 1) do not works properly with form scoped default status. onstart called but onstop - not.
> Problem seems in dataScroller because the same case with the button works see [1]
> 2) do not works at all using status="status". Seems just not implemented.
> [1]
> {code}
> //
>         <rich:popupPanel id="splash" autosized="true" width="200" height="80" moveable="false" resizeable="false">
>           <f:facet name="header"><h:outputText value="WAIT" /></f:facet>
>           <h:outputText value="WAIT!" />
>         </rich:popupPanel>
> 	<h:form id="form">
>         <a4j:status onstart="#{rich:component('splash')}.show()" onstop="#{rich:component('splash')}.hide()" />
> 		<h:panelGrid columnClasses="acent">
> 		<rich:dataScroller for="table" maxPages="5" />
> 		<rich:dataTable value="#{carsBean.allInventoryItems}" var="car"
> 			id="table" rows="#{userBean.age}">
> ................
> 		</rich:dataTable>
> 		<rich:dataScroller for="table" maxPages="5" status="status"/>
> 		</h:panelGrid>
> 		<a4j:commandButton ></a4j:commandButton>
> 	</h:form>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list