yes, the palette takes care of everything for you. thats the point of encapsulation :)

check out component reference in wicket examples for 1.2

-Igor


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

Well, because it was the only way I knewJ Im afraid I would need some example to get further with the Palette component, how do I plug it into my current listmutiplechoice components?

 

Im not completely sure that I would like to write _javascript_ from java, does the palette component do that for me?

 

-Regards Nino

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Igor Vaynberg
Sent: 27. marts 2006 10:10
To: [email protected]
Subject: Re: [Wicket-user] Validation

 

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