cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Baumberger <nbaumber...@yahoo.com>
Subject CFORMS : example for default selection in <fd:multivaluefield> using binding ?
Date Thu, 28 Apr 2005 15:50:58 GMT
Dear cocooners

Has anybody an example for a default (pre-)selection
in <fd:multivaluefield> selection list (using binding
or flow-jxpath type instatiation AND js-flowscript) ?

I tried:

<fb:javascript id="my_multivaluefieldwidget"
path="my_beancollection" direction="load">
   <fb:load-form>
     var collection = jxpathPointer.getNode();
// setting the list -> it works !
     widget.setSelectionList(collection, "id","text");
// trying to set the default selection


</fb:load-form>
</fb:javascript>

 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message