cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: New woody multivaluefield styling: the double listbox
Date Fri, 21 Nov 2003 09:04:55 GMT
Leszek Gawron wrote:

>On Wed, Nov 19, 2003 at 05:53:57PM +0100, Sylvain Wallez wrote:
>>Hi all,
>>Woody goodie of the day, I wrote a new styling for multivalue fields. We 
>>already had list-type="checkbox", list-type="listbox" and we now have 
>>This displays two lists with buttons between them to switch items 
>>between the lists. The selected values are on the left.
>>This again relies on Matt Kruse's JS libraries (thanks Matt!) and 
>>required to add a generic infrastructure in the woody JS library to 
>>register "handlers" that are called either during "onload" of the 
>>document or "onsubmit" of the form.
>>You can have a look at it in the "Boolean fields" tab in the "Various" 
>Would it be possible to add the appropriate javascript code to the page only
>if a certain feature is being used? Including all the javascript code in the
>page makes it more heavy and also a bit messy.

Most of the JS code has been moved in the "woody-lib.js" file, and the 
produced HTML now contains only calls to these functions.

Is this what you meant, or did I missed something?


Sylvain Wallez                                  Anyware Technologies 
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -

View raw message