Label of selection-list

2006-10-10 Thread Feliciano Borrego
Hi, How obtain the label of a selection-list var wdOrig = this.form.lookupWidget(myCode); var cValue = wdOrig.getValue(); var cLabel = wdOrig.getLabel(); -! Thanks,

Getting information from the context

2005-12-02 Thread Feliciano Borrego
Hi all, Any suggestions how I can access, in Cocoon 2.1.8 flowscript, to the context? like the session transformer: session:getxml context=authentication path=/authentication/ID/ session:setxml context=authentication path=/authentication/data/username Mr. Sunshine

[CForms 2.1.8] ignores the first call to setValidationError()

2005-11-29 Thread Feliciano Borrego
Hi, The following form model works correctly in cocoon 2.1.7: fd:repeater-action id=add-ctrl_proy command=add-row repeater=ctrl_proys fd:labelXYZ/fd:label fd:on-action fd:javascript var form = event.source.form;