Upload not working around fieldset tag

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

Upload not working around fieldset tag

SD
Hi All,

I have the following code in my app

<xhtml:fieldset>
	<xhtml:legend>Company Logo</xhtml:legend>
	<xhtml:table cellpadding="0" cellspacing="0" border="0" width="40%">
		<xhtml:tr>
			<xhtml:td class="table-data-dark" width="50%">Upload file to be stored as a document</xhtml:td>
			<xhtml:td class="table-data-light">
				<xforms:upload ref="instance('attachment')/attachment" >
					<xforms:filename ref="@filename"/>
					<xforms:mediatype ref="@mediatype"/>
					<xxforms:size ref="@size"/>														
				</xforms:upload>												
			</xhtml:td>
		</xhtml:tr>
	</xhtml:table>
</xhtml:fieldset>	

This code works fine on Chrome and FireFox 3.x while it fails on FireFox 4.x, 5.x, IE8 and IE9.

A careful debugging got me to this point that if i remove the fieldset wrapper and just have the table and its contents then the code works fine on all the browsers mentioned above (all the versions as well). I'm not understanding how is this fieldset hampering the functionality for FF 4.x, 5.x and IE8 and IE9.

Anybody has any clue on this?

regards
--SD
Reply | Threaded
Open this post in threaded view
|

Re: Upload not working around fieldset tag

Erik Bruchez
Administrator
With which version is this? This sounds like a bug that was fixed back in May:

https://github.com/orbeon/orbeon-forms/commit/85ec7d009510193cfb2e86614bc5b3c31923464e

-Erik

On Thu, Aug 4, 2011 at 11:24 AM, SD <[hidden email]> wrote:

> Hi All,
>
> I have the following code in my app
>
>
> <xhtml:fieldset>
>        <xhtml:legend>Company Logo</xhtml:legend>
>        <xhtml:table cellpadding="0" cellspacing="0" border="0" width="40%">
>                <xhtml:tr>
>                        <xhtml:td class="table-data-dark" width="50%">Upload file to be stored as
> a document</xhtml:td>
>                        <xhtml:td class="table-data-light">
>                                <xforms:upload ref="instance('attachment')/attachment" >
>                                        <xforms:filename ref="@filename"/>
>                                        <xforms:mediatype ref="@mediatype"/>
>                                        <xxforms:size ref="@size"/>
>                                </xforms:upload>
>                        </xhtml:td>
>                </xhtml:tr>
>        </xhtml:table>
> </xhtml:fieldset>
>
>
> This code works fine on Chrome and FireFox 3.x while it fails on FireFox
> 4.x, 5.x, IE8 and IE9.
>
> A careful debugging got me to this point that if i remove the fieldset
> wrapper and just have the table and its contents then the code works fine on
> all the browsers mentioned above (all the versions as well). I'm not
> understanding how is this fieldset hampering the functionality for FF 4.x,
> 5.x and IE8 and IE9.
>
> Anybody has any clue on this?
>
> regards
> --SD
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Upload-not-working-around-fieldset-tag-tp3719477p3719477.html
> Sent from the Orbeon Forms (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
>
>


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

Re: Upload not working around fieldset tag

SD
Hey Erik,

I'm on Orbeon Forms 3.9.0.201105152046 CE.

regards
--SD
Reply | Threaded
Open this post in threaded view
|

Re: Re: Upload not working around fieldset tag

Erik Bruchez
Administrator
So just around the date of the fix. I wonder if you have the patch, or
if you just missed it!

Anyway, can you send a XHTML+XForms that shows the issue?

-Erik

On Fri, Aug 12, 2011 at 10:05 AM, SD <[hidden email]> wrote:

> Hey Erik,
>
> I'm on Orbeon Forms 3.9.0.201105152046 CE.
>
> regards
> --SD
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Upload-not-working-around-fieldset-tag-tp3719477p3739910.html
> Sent from the Orbeon Forms (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
>
>


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

Re: Re: Upload not working around fieldset tag

SD
Erik,

The code above is what I've in my app. Do you need the .xhtml file ?

regards
-SD
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Upload not working around fieldset tag

Erik Bruchez
Administrator
Yes, I need the .xhtml file, and also I need to be able to run it to
reproduce the problem.

-Erik

On Wed, Aug 17, 2011 at 2:42 PM, SD <[hidden email]> wrote:

> Erik,
>
> The code above is what I've in my app. Do you need the .xhtml file ?
>
> regards
> -SD
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Upload-not-working-around-fieldset-tag-tp3719477p3751260.html
> Sent from the Orbeon Forms (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
>
>


--
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