myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Schaaf" <>
Subject [Trinidad]: selectManyShuttle seems to block when there is a selected item
Date Tue, 23 Oct 2012 12:14:34 GMT
I'm trying to use the Trinidad selectManyShuttle component and I find that
if I bind the value of the component, then while an item is selected in
either the leading or trailing lists of the shuttle component, commandLinks
on the page are blocked.  If I click either the "move all", or "remove all"
buttons to move all of the items in the shuttle to either the trailing or
leading list (thereby deselecting individual items in the list), then the
commandLinks on the page become unblocked.  I've boiled the problem down to
the simple example given below.

Any suggestions for either what I'm doing wrong in my use of the component
or a workaround?

Library versions:
Originally encountered on MyFaces 2.0.5 / Trinidad 2.0.0
Reproduced on the latest versions: MyFaces 2.1.9 / Trinidad 2.0.1

Problem happens in both FireFox 16.0.1 and IE 8.



<tr:commandLink text="Link"

<tr:selectManyShuttle value = "#{selectmanyshuttlebacking.shuttleItems}">
    <tr:selectItem label="Apple" value="1" />
    <tr:selectItem label="Orange" value="2" />


package org.apache.myfaces.trinidad.blank;

import javax.faces.bean.ManagedBean;

public class SelectManyShuttleBacking {
	public SelectManyShuttleBacking() {	
	private Integer[] m_shuttleItems = null;
	public Integer[] getShuttleItems() {
		return m_shuttleItems;
	public void setShuttleItems(Integer[] shuttleItems) {
		m_shuttleItems = shuttleItems;
	public String someAction() {
		return "outcome";

View raw message