cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <o...@wlkp.org>
Subject Re: New woody multivaluefield styling: the double listbox
Date Fri, 21 Nov 2003 08:43:30 GMT
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 
> list-type="double-listbox".
> 
> 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" 
> example.
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.

	ouzo
-- 
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/       ouzo@wlkp.org           _\\()//_
         .'/()\'.     Phone: +48(501)720812     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |


Mime
View raw message