Indeed. Ok, after some more experimenting I have:
| <a:region>
| <ui:repeat id="listt" var="listvar"
value="#{NewBlogEntryComponent.blogEntry_be.tags}">
| <h:outputText value="#{listvar} "/>
| <a:commandButton value="Delete" reRender="foo"
action="#{NewBlogEntryComponent.remove(listvar)}"/>
| <br />
| </a:repeat>
| <br />
| <s:decorate>
| <h:selectOneMenu id="tags1" value="#{dev.nulll}"
valueChangeListener="#{NewBlogEntryComponent.listener}">
| <s:selectItems var="field" label="#{field.toString}"
value="#{AllTag}" noSelectionLabel="Please select : " />
| <s:convertEntity/>
| <a:support event="onchange" reRender="listt"
bypassUpdates="true" />
| </h:selectOneMenu>
| </s:decorate>
| </a:region>
|
This actually works (as in: the list gets updated perfectly), but... my
ui:repeat is not re-rendered. The page must be reloaded manually to reflect the
new data. I tried switching it to an a:repeat which I found somewhere in the
A4J docs, allegedly it should do the magic, but that didn't work. Am I missing
something?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056369#4056369
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056369
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user