Danny,

you're making sense,

pls add this feature-request to bugzilla if you don't mind.

by the way: should there be a reason why we don't just provide access to the datatype on every widget?

regards,
-marc=



Danny Bols wrote:

Hi Cocoon Committers,

the CFORM-API for MultiValueField is missing the getDataType() method which
means I can't create any selection lists based on iterators in my Beans like
I did to do with the Field class:

    StaticSelectionList list = new
StaticSelectionList(myField.getDatatype());
    myField.setSelectionList(list);


Anybody willing to add this method to the MultiValueField Class?


Thanks

--
Danny


-- Marc Portier http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center Read my weblog at http://blogs.cocoondev.org/mpo/ [EMAIL PROTECTED] [EMAIL PROTECTED]

Reply via email to