why are you doing a round trip when you press > and < ? you can do this all nicely via some very basic _javascript_. see Palette component in extensions, it does exactly what you want and more.

-Igor


On 3/27/06, Nino Wael <[EMAIL PROTECTED]> wrote:

Hi

 

Might be me which has'nt been looking good enough into documentation.

 

So I have the following scenario and question:

 

Two listmultiplechoice box'ses where you can exchange contents of the list boxes by pressing one of two buttons see nice ascii grapichs below:

  Listbox a                               Listbox B

| ____________     ___          |----------------- |

| | selected      |      | >|          |                     |

| |                   |      ----          |                     |

| |                   |      ___          |                     |

| | notselected |      |< |          |                     |

|-------------------     ----          |----------------- |

 

 

So if you select one of the list items in listbox a and click  btn ">" then the selected item should be moved to listbox B. Currently when setting up the page I set .setRequired(true) on both listbox's this results in listbox B complains that it has'nt a selected value.

 

So question is how do I trigger only the relevant validation when pressing < or >.

 

Regards Nino


Reply via email to