I've never tried this, but sounds like a limitation of the jxpath() lib?

what is exactly the effect of doing the path="name()" thing?

-marc=

Timothy Larson wrote:

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/


-- Marc Portier http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center Read my weblog at http://blogs.cocoondev.org/mpo/ [EMAIL PROTECTED] [EMAIL PROTECTED]



Reply via email to