This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1 Replies Last post: Aug 24, 2007 3:02 AM by Dmitry Pikhulya  
MG   62 posts since
Jun 29, 2007
Currently Being Moderated

Aug 23, 2007 10:46 PM

Two list selection disabled items

How in two list selection QuipuKit component can we specify disabled items if we are using f:selectItems (or Seam s:selectItems)?

There is no disabledItems attribute on this tag.

Thanks

Dmitry Pikhulya TeamDev Ltd. 162 posts since
Jan 5, 2007
Currently Being Moderated
1. Aug 24, 2007 3:04 AM in response to: MG
Re: Two list selection disabled items

Hello,

 

The way that TwoListSelection items are specified is the same as for the standard selection components such as should refer to array or collection of javax.faces.model.SelectItem instances. The SelectItem class has the "disabled" property, which you can use to disable individual items.

 

Regards,

Dmitry

More Like This

  • Retrieving data ...