In a cforms (Woody) binding is there any simple
syntax that actually works similar to:
  <wb:value id="type" path="name()"/>

Right now I am using this workaround:
  <wb:javascript id="type" path=".">
    <wb:load-form>
      widget.setValue(jxpathPointer.getNode().getLocalName());
    </wb:load-form>
    <wb:save-form>
      // Don't worry about save behaviour yet...
    </wb:save-form>
  </wb:javascript>

--Tim Larson


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

Reply via email to