Hi all ,
I designed upload button on ops
3.5.1.
i want to manually not enter any value into uploadbutton.
I kept validation like below:
<xforms:bind nodeset="//file/@size" constraint="string-length(.)!=0"/>
or
<xforms:bind nodeset="//file" constraint=". != ''"/>
it is not allowing to enter manually anyvalue into upload
button that is fine .but I upload anyclass through upload button and i
click on submit button submission is not happening.
mycontrol code is like:
<instance>
<job-class><xsl:value-of select="filename"/></job-class>
<file filename="" mediatype="" size=""></file>
</instance>
<xforms:upload ref="instance('main-instance')/file">
<xforms:filename ref="@filename"></xforms:filename>
<xforms:mediatype ref="@mediatype"/>
<xxforms:size ref="@size"/>
</xforms:upload>
plz help me how to provide validation for upload button.
thanks in advance,
Laxminarayana
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws