Hi,

Based on the CForms documentation, it looks as though the same facilities to bind other fields (namely the XPath notation) is not able to be used for selection lists. For example, if I have an XML file containing a list of elements that I want to display in a list, I either have to put in into the Cocoon-specific markup (i.e use the fd:selector markup) or need to use Javascript (JXPath) (yuck!) to populate the list. Doing the former means I have to essentially hardcode Cocoon-specific markup around data that may be useful in several different contexts, not just Cocoon, just for the sake of being able to bind into a selection list.

I'm likely to use Java and fudge via an enum type just so I'm not tying the data into Cocoon, but I wanted to check that there is no way the "standard" binding notation wors for selection lists (i.e. using fb:value and path attribute) before I did this.

Thanks.

Scott.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to