-
1. Re: listshuttle and status.onStop()
ilya_shaikovsky Feb 28, 2008 7:07 AM (in response to c_inconnu)<h:form>
<rich:toolBar id="toolBar" itemSeparator="line" height="28px">
<c:forEach items="#{toolBar.items}" var="item">
<h:panelGroup>
<h:graphicImage value="#{item.iconURI}" styleClass="pic"/>
<h:outputLink value="#">
<h:outputText value="#{item.label}"></h:outputText>
</h:outputLink>
</h:panelGroup>
</c:forEach>
</rich:toolBar>
<rich:spacer height="20"></rich:spacer>
<rich:listShuttle sourceValue="#{toolBar.freeItems}"
targetValue="#{toolBar.items}" var="items" listHeight="300" listWidth="300"
sourceCaptionLabel="Available Items"
targetCaptionLabel="Currently Active Items"
converter="listShuttleconverter">
<rich:column width="18">
<h:graphicImage value="#{items.iconURI}"></h:graphicImage>
</rich:column>
<rich:column>
<h:outputText value="#{items.label}"></h:outputText>
</rich:column>
<a4j:support event="onlistchanged" reRender="toolBar"/>
</rich:listShuttle>
<a4j:status onstart="alert('1')" onstop="alert('2')"/>
</h:form>
both onstart and onstop called for me. -
2. Re: listshuttle and status.onStop()
ilya_shaikovsky Feb 28, 2008 7:07 AM (in response to c_inconnu)sorry,
<h:form> <rich:toolBar id="toolBar" itemSeparator="line" height="28px"> <c:forEach items="#{toolBar.items}" var="item"> <h:panelGroup> <h:graphicImage value="#{item.iconURI}" styleClass="pic"/> <h:outputLink value="#"> <h:outputText value="#{item.label}"></h:outputText> </h:outputLink> </h:panelGroup> </c:forEach> </rich:toolBar> <rich:spacer height="20"></rich:spacer> <rich:listShuttle sourceValue="#{toolBar.freeItems}" targetValue="#{toolBar.items}" var="items" listHeight="300" listWidth="300" sourceCaptionLabel="Available Items" targetCaptionLabel="Currently Active Items" converter="listShuttleconverter"> <rich:column width="18"> <h:graphicImage value="#{items.iconURI}"></h:graphicImage> </rich:column> <rich:column> <h:outputText value="#{items.label}"></h:outputText> </rich:column> <a4j:support event="onlistchanged" reRender="toolBar"/> </rich:listShuttle> <a4j:status onstart="alert('1')" onstop="alert('2')"/> </h:form>
-
3. Re: listshuttle and status.onStop()
c_inconnu Feb 28, 2008 7:48 AM (in response to c_inconnu)really sorry, i mixed things up... my problem is with scrollableDataTable, not with listshuttle !
maybe i should start another thread ??? -
4. Re: listshuttle and status.onStop()
ilya_shaikovsky Feb 28, 2008 10:25 AM (in response to c_inconnu)No, do not warry. For now we have critical issue in 3.2.0 branch with selection. So it will be difficult to check this. Will be tetsted after resolution.
http://jira.jboss.com/jira/browse/RF-1846