Re: Image from upload not displaying

Posted by yemlef on
URL: https://discuss.orbeon.com/Image-from-upload-not-displaying-tp2965704p2968400.html

So I was able to get an image to display but not in a desirable way.  In order to see the image, here are the steps:  

1.  Open Form
2.  Browse and choose an image to upload
3.  Click the save button
4.  Navigate away from that form
5.  Open the same form with the saved instance data
6.  Enter data into another form field and click save again
7.  Navigate away from that form again
8.  Open that form for a third time and the image finally displays and will display in that form until the    session dies.

So, what does that mean?  Is there some sort of session or state handling setting or property that I don't have right?  Here are the properties that I have set for state handling:

<property as="xs:string"  name="oxf.http.state" value="none"/>
<property as="xs:string" name="oxf.xforms.state-handling" value="client"/>

If I change oxf.xforms.state-handling to anything other than "client", I get a session expired error immediately anytime I click on a checkbox, or change focus from a form field.