[
http://jira.jboss.com/jira/browse/RF-2239?page=comments#action_12410998 ]
Mike Shaw commented on RF-2239:
-------------------------------
This does not seem to work for list Shuttle in modal panel
See code below
<rich:modalPanel id="addFoo" width="650"
height="300">
<f:facet name="header">
<h:panelGroup>
<h:outputText value="Add/Edit
Foo"></h:outputText>
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<h:panelGroup>
<h:graphicImage value="/img/close.png"
style="cursor:pointer" id="hideFooLink"/>
<rich:componentControl for="addFoo"
attachTo="hideFooLink" operation="hide"
event="onclick"/>
</h:panelGroup>
</f:facet>
<a:form id="modalContent">
<s:decorate id="existingFooDecoration"
template="layout/edit.xhtml">
<ui:define name="label">#{messages.editfoo}</ui:define>
<rich:listShuttle sourceValue="#{item.availableFoo}"
targetValue="#{item.existingFoo}"
var="fooName" listHeight="300"
listWidth="300"
sourceCaptionLabel="Available Foo"
targetCaptionLabel="Currently Active Foo"
copyControlLabel="Copy Foo"
copyAllControlLabel="Copy All Foo"
removeControlLabel="Remove Foo"
removeAllControlLabel="Remove All Foo"
converter="fooConverter">
<rich:column>
<h:outputText
value="#{fooName.name}"></h:outputText>
</rich:column>
</rich:listShuttle>
</s:decorate>
</a:form>
</rich:modalPanel>
and the invoking code....
<a:commandLink reRender="modalContent"
oncomplete="Richfaces.showModalPanel('addFoo',{width:650, top:200})">
<h:outputText value="Add/Edit Foo"/>
listShuttle: doesn't works after ajax update
--------------------------------------------
Key: RF-2239
URL:
http://jira.jboss.com/jira/browse/RF-2239
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Ilya Shaikovsky
Assigned To: Tsikhon Kuprevich
Fix For: 3.2.0
<h:form>
<h:selectBooleanCheckbox value="#{bean.enabled}" >
<a4j:support reRender="list" event="onchange"
ajaxSingle="true"/>
</h:selectBooleanCheckbox>
<a4j:outputPanel layout="none">
<rich:orderingList value="#{capitalsBean.capitals}" var="cap"
converter="converter" rendered="#{bean.enabled}"
id="list">
<rich:column>
<f:facet name="header">
<h:outputText value="test"/>
</f:facet>
<h:outputText value="#{cap.name}"/>
<f:facet name="footer">
<h:outputText value="test"/>
</f:facet>
</rich:column>
</rich:orderingList>
</a4j:outputPanel>
</h:form>
Initial value of enabled = false.
after checkbox activation - listShuttle rendered but doesn't works and layout broken.
--
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