Re: [Xsltforms-support] upload control support
Brought to you by:
alain-couthures
From: <st...@sa...> - 2012-04-02 17:49:17
|
Looking at this some more, I think maybe the new upload control is interacting in an undesirable way with submissions like: <xforms:submission id="htmlTitle" method="get" serialization="none" replace="none" resource="javascript:setTitle()"/> In the form in question, this is called on xforms-ready: <xforms:action ev:event="xforms-ready"> <xforms:send submission="htmlTitle"/> I think that what happens is that the permit-applet dialogue appears the first time the xsltforms.js is loaded after browser cache is cleared, then the javascript resource submission pops up the file-picker dialogue (erroneously, since there is no upload going on there). After the first time, the file-picker pops up whenever a js resource submission is done--if you click on a text item in the right pane, then on the 'Hide Outline'/'Show Outline' control in my xform, you also get the file-picker dialogue. Steve Quoting st...@sa...: >> On 03/30/12, Alain Couthures <ala...@ag...> wrote: >> >> Is it a problem for you if a Java applet is mandatory?? > > I suspect this question of yours may be connected to the fact that > with RC1 every new form load either asks me if it is OK to give access > to the applet or goes straight to a file-browse dialogue (this is with > FF 9.0.1/Mac OS X). In case this behaviour I am seeing is not a > well-known bug, you can see it at: > > http://oracc.museum.upenn.edu/dcclt/launch/p3 > |