[jboss-user] [JBoss Seam] - Re: Problem with Ajax and injection with radio boxes
kasim
do-not-reply at jboss.com
Thu Jan 31 08:50:07 EST 2008
Ok here we go .... in the display page:
| <rich:listShuttle sourceValue="#{customFlow.searchTypeList}"
| targetValue="#{searchTypesOrder}" var="item" listHeight="300"
| listWidth="300" sourceCaptionLabel="Available Items"
| targetCaptionLabel="Currently Active Items"
| fastOrderControlsVisible="false" orderControlsVisible="false"
| showButtonLabels="false">
| <h:column>
| <h:outputText value="#{item}"/>
| </h:column>
| <a:support event="onlistchanged" actionExpression="#{customFlow.test}"
| reRender="bondStereoPanel" />
| </rich:listShuttle>
|
|
Which btw the action expression never seems to do anything, i even tried actionListener, neither call the server.
But ... the reRender calls ..
| <a:outputPanel id="bondStereoPanel"> <h:selectOneRadio id="bondOption" class="style3"
| disabled="#{customFlow.stereoDisabled}"
| value="#{bondOption}">
|
| <f:selectItem id="item1" itemLabel="Yes" itemValue="Y" />
| <f:selectItem id="item2" itemLabel="No" itemValue="N" />
| </h:selectOneRadio>
| </a:outputPanel>
|
.... then this is the bondOption
| @In(required = false)
| private String bondOption = "";
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125146#4125146
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125146
More information about the jboss-user
mailing list