You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Nick Baumberger <nb...@yahoo.com> on 2005/04/28 17:50:58 UTC

CFORMS : example for default selection in using binding ?

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