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

Brian Leathem (Updated) (JIRA) jira-events at lists.jboss.org
Wed Oct 5 13:00:16 EDT 2011


     [ https://issues.jboss.org/browse/RF-10853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-10853:
-------------------------------

        Description: 
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}

  was:
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]
        <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>


    Forum Reference: http://community.jboss.org/message/598026#598026  (was: http://community.jboss.org/message/598026#598026)

    
> 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: 4.1.0.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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list