• Post Reply Bookmark Topic Watch Topic
  • New Topic

Richfaces rich:listshuffle question  RSS feed

 
Demian Seiler
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I am currently trying to get this component to work, but am having problems with the oncopyclick event in the a4j:support tag.

****************** CODE SAMPLE ***********************
<rich:listShuttle
sourceValue="#{backing_bean.newClubsList}"
targetValue="#{backing_bean.existingClubList}"
var="items"
id="shuttle"
sourceCaptionLabel="Available Clubs"
targetCaptionLabel="Currently Assigned Clubs">

<rich:column>
<hutputText value="#{items.label}"></hutputText>
</rich:column>

<a4j:support event="oncopyclick" action="#{backing_bean.copyCheck}" />

</rich:listShuttle>

****************** CODE SAMPLE ***********************

My issue at this point, is that my copyCheck method is never getting called. I see my new clubs on the left side and my existing clubs on the right. When I select an item from the left side(newClubsList) and click the "copy" button I see the item get moved over to the right side, but again, my copyCheck method is not getting clicked.

Any ideas?

Thanks for your assistance.

Demian
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!