xforms upload problem - span class comes as xforms-upload-state-file expected xforms-upload-state-empty

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

xforms upload problem - span class comes as xforms-upload-state-file expected xforms-upload-state-empty

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
Reply | Threaded
Open this post in threaded view
|

Re: xforms upload problem - span class comes as xforms-upload-state-file expected xforms-upload-state-empty

Erik Bruchez
Administrator
Does this happen with a recent nightly build?

-Erik

On Apr 8, 2009, at 9:16 PM, vernekap wrote:

>
> 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:/cygwin
> /elmpoc/orbeon/ops/images/xforms/remove.gif
> /elmpoc/orbeon/ops/images/xforms/help.png <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
> --
> View this message in context: http://www.nabble.com/xforms-upload-problem---span-class-comes-as-xforms-upload-state-file-expected-xforms-upload-state-empty-tp22964180p22964180.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> 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
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
Reply | Threaded
Open this post in threaded view
|

Re: xforms upload problem - span class comes as xforms-upload-state-file expected xforms-upload-state-empty

vernekap
In reply to this post by vernekap

I am still getting this problem on the latest nightly build.

I have attached an xhtml file to reproduce this problem.
file-upload-problem.xhtml
with regards
Pralhad