Login  Register

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

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

Alex,


On 12.11.2009, at 0.44, Alessandro Vernet wrote:

> Markku,
>
> On Wed, Nov 11, 2009 at 7:02 AM, Markku Laine <[hidden email]>  
> wrote:
>> The XForms markup below does not work in the separate deployment  
>> mode (works
>> in the integrated deployment mode).
>> <xforms:output mediatype="image/*"
>> value="'http://www.google.com/ig/images/weather/ 
>> mostly_cloudy.gif'" />
>>
>> Here is the markup transformed by Orbeon Forms:
>> <span id="xf-54" class="xforms-control xforms-output
>> xforms-mediatype-image">
>>  <img
>> src="/weather/orbeon/xforms-server/dynamic/
>> 67c170744e473f8cf2ee581902c8311c"/>
>> </span>
>
> This is strange, as it works for me, and I have the same markup  
> generated:
>
> <img src="/myapp/orbeon/xforms-server/dynamic/
> 67c170744e473f8cf2ee581902c8311c"
> class="xforms-output-output" id="xf-5$$c"/>
Hmm... that's strange indeed. I did more tests and found out that the  
problem occurs when you have disabled cookies in your browser (or done  
that in the application level by using <Context crossContext="true"  
cookies="false" /> in your META-INF/context.xml file). By disabling  
cookies, the <xforms:output mediatype="image/*" ... /> does not work  
anymore neither in the integrated deployment mode nor in the separate  
deployment mode.

Does the same happen for you when you disable cookies? Can you think  
of any other Orbeon Forms/XForms features that might behave the same  
way i.e. needs to be fixed as well?

Kind regards


-Markku


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