On 21.01.2004 04:46, Antonio Gallardo wrote:
Antonio Gallardo dijo:
Sylvain Wallez dijo:
Do you mean you want to remove <wd:booleanfield> and add a styling type="checkbox"?
Yep. This will be clear and for another part a "faster" parsing of definition.
Sorry, I don't understand that sentence :-/
WDYT?
Sounds reasonable.
Sorry, not to me. I don't think checkbox fits naturally as a field styling:
- using a checkbox for a field with a selection-list only applies to lists having exactly 2 values.
- an HTML checkbox returns only a value or a null, but cannot switch between value1 and value2 without some hidden fields with JS tricks.
Actually, I think we should add more stylings to booleanfield (e.g. list and radio) along with the ability to have a selection-list with exactly 2 items.
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com
