xforms:upload in noscript, xxforms-submit event not supported

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

xforms:upload in noscript, xxforms-submit event not supported

Jeroen Hoffman
Hi,
As I mentioned before on jan 14th, the xforms-upload example app does not work in noscript. I did some debugging and if I read the code correctly I have found that in script mode, an internal event called xxforms-submit is inserted containing a files element with the file(s) data.
 
Now, in the performDefaultAction() of XFormsModelSubmission object, the XFormsUploadControl is only filled correctly in case it concerns an xxforms-submit event. In noscript, this internal event is not inserted so file upload is not supported.
 
Is there any way to work around this?
Or, do you have some clues on where and what to adjust in code?
 
Thanks
Jeroen
 
 


--
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 in noscript, xxforms-submit event not supported

Alessandro Vernet
Administrator
Jeroen,

It is better if Erik has a look at this one. He will as soon as he  
gets a chance and will follow-up in this thread.

Alex

On Jan 20, 2009, at 6:20 AM, Jeroen Hoffman wrote:

> Hi,
> As I mentioned before on jan 14th, the xforms-upload example app  
> does not work in noscript. I did some debugging and if I read the  
> code correctly I have found that in script mode, an internal event  
> called xxforms-submit is inserted containing a files element with  
> the file(s) data.
>
> Now, in the performDefaultAction() of XFormsModelSubmission object,  
> the XFormsUploadControl is only filled correctly in case it concerns  
> an xxforms-submit event. In noscript, this internal event is not  
> inserted so file upload is not supported.
>
> Is there any way to work around this?
> Or, do you have some clues on where and what to adjust in code?
>
> Thanks
> Jeroen
>
>
>
> --
> 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 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet



--
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 in noscript, xxforms-submit event not supported

Alessandro Vernet
Administrator
Jeroen,

On Jan 22, 2009, at 4:06 AM, Alessandro Vernet wrote:

> It is better if Erik has a look at this one. He will as soon as he  
> gets a chance and will follow-up in this thread.


I created this bug for tracking:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=312533&group_id=168&atid=350207

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet



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