xforms upload state empty file

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

xforms upload state empty file

vernekap
Hi

My environment is:
orbeon-3.7.0beta1.200808260135
tomcat 5.5
jdk 1.5
firefox 3.0.8

Problem:
For file upload control, in the generated html,  I am getting span class as : xforms-upload-state-file
where as  I am expecting xforms-upload-state-empty

In view.xhtml:
My model looks like this:

                        <property>
                            <name>core.cygwin.home</name>
                            <value>C:/cygwin</value>
                        </property>


and xform-upload control is:
                                    <xforms:upload id="core.cygwin.home"
                                    navindex="4" ref="/product-state/properties/property[name='core.cygwin.home']/value">
                                    <xforms:label>Cygwin Installation Directory:</xforms:label>
                                    <xforms:filename ref="/product-state/properties/property[name='core.cygwin.home']/value"/>
                                    <xforms:help>Full path to the Cygwin installation directory (Windows only).</xforms:help>
                                    </xforms:upload>


and server generates this:

<label class=" xforms-label" for="core.cygwin.home">Cygwin Installation Directory:</label><input class="xforms-upload-select" type="file" name="core.cygwin.home" unselectable="on" tabindex="4">C:/cygwinRemove File<label class=" xforms-help" for="core.cygwin.home">Full path to the Cygwin installation directory (Windows only).</label>



Can you give me some pointers?

with regards
Pralhad