-
1. Re: listShuttle -> oncopyclick -> properties to bean
ilya_shaikovsky Aug 24, 2010 6:23 AM (in response to wesser)at first I think it would be ore general solution to use onlistchanged event in support.
and in order to get Items - use valueChangeListener at list shuttle.
-
2. Re: listShuttle -> oncopyclick -> properties to bean
wesser Aug 24, 2010 9:54 AM (in response to ilya_shaikovsky)At first thanks for your answer
But unfortunately I still can´t get the solution.
I tryed:
<rich:listShuttle orderControlsVisible="false" fastOrderControlsVisible="false"
sourceListWidth="250" targetListWidth="250"
sourceValue="#{licence.availableRights}" targetValue="#{licence.usedRights}"
valueChangeListener="#{UserprovisioningAction.onRightMoved}"
var="item">but:
public void onRightMoved(ValueChangeEvent event) {
log.info("onRightMoved(event)");
}isn´t called when i hit the copy button.
I´m sorry but I´m not yet that good in Richfaces/JSF/Seam.
Can you perhaps post a snipped how to get the event to the bean and the currently moved Items from the event?
-
3. Re: listShuttle -> oncopyclick -> properties to bean
ilya_shaikovsky Aug 24, 2010 10:48 AM (in response to wesser)at first add rich:messages to the page.
-
4. Re: listShuttle -> oncopyclick -> properties to bean
wesser Aug 25, 2010 1:58 AM (in response to ilya_shaikovsky)This is already in the template of my page.
But I can´t see how this should help me with my problem.
There is no Exception the listener is just not called.
-
5. Re: listShuttle -> oncopyclick -> properties to bean
ilya_shaikovsky Aug 25, 2010 2:31 AM (in response to wesser)This is already in the template of my page.
and no messages appears on submission?
-
6. Re: listShuttle -> oncopyclick -> properties to bean
wesser Aug 25, 2010 4:40 AM (in response to ilya_shaikovsky)The tag in the template was a h:messages so I added another <rich:messages/> above my <rich:listShuttle\> code from my above post (just to be sure).
But I still do not get any message when clicking the copy button of the listShuffle.