cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Anderson <benanderson...@gmail.com>
Subject Re: [Forms] broadcastEvent
Date Tue, 05 Apr 2005 21:35:14 GMT
ok, I won't use broadcastEvent()...

Is there a way to specify a default value for the selection-list
throught the pipeline specified?  For instance my pipeline could
return something like:

<fd:selection-list default="1">
  <fd:item value="1">
    <fd:label>foo</fd:label>
  </fd:item>
  <fd:item value="2">
    <fd:label>bar</fd:label>
  </fd:item>
</fd:selection-list>

so now when I run this code:
  someWidget.setSelectionList("cocoon:/selection-lists/some/pipe?raSearch="
+ value);
  var raId = someWidget.getValue();

so now raId contains 1.  That would certainly help me out.

I guess I'll try using processPipelineTo here.  I've heard people
mention on the list before that rhino has some inherent xml processing
abilities.  Can anyone point me to documentation for this?

Thanks,
Ben

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


Mime
View raw message