Login  Register

Re: Re: Re: Re: <xforms:output mediatype="image/*" ... /> does not work in the separate deployment mode

Posted by Markku Laine on Nov 13, 2009; 5:07am
URL: https://discuss.orbeon.com/xforms-output-mediatype-image-does-not-work-in-the-separate-deployment-mode-tp585891p620777.html

Alex,


> Yes, it is normal that this doesn't work if you disable cookies, as
> Orbeon Forms won't be able to keep track of your session in that case.
> Do you get anything else to work with cookies disabled? Maybe you are
> using the client mode?

Just a quick reply... Actually, everything else (at least all my test
applications) is working perfectly if cookies are disabled. This might be
due to URL encoding (URL rewriting to include the session ID) that I am
applying to all links (e.g., <xforms:submission action="..."/>,
<xforms:load resource="..." /> and <a href="..." />) in my own XFormsDB
transformation (an XForms-based framework I am working on), though. I have
to try without the transformation to confirm this.

I use Orbeon Forms as such i.e. I have not made any modifications to the
configurations etc. Just downloaded the *.war file and deployed it.

As a work around for the <xforms:output mediatype="image/*" ... />
issue I am currently using AVTs in the <img src="..." /> attribute. Works
fine.

We need to support cookieless user agents as well because some mobile
phones might not support cookies. In addition, if you embed an
XForms-based widget two or more times to a Web page/site using iframe
etc., the same cookie is being used by all widget instances --> things
start to get mixed up.

I also have to try to apply URL encoding to the <xforms:output
mediatype="image/*" ref/value="..." /> attribute. Maybe that works.

Regards


-Markku

Ps. I will let you know how things work without the XFormsDB
transformation.


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