xforms-value-changed not dispatched on xforms:upload

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

xforms-value-changed not dispatched on xforms:upload

Ryan Puddephatt
All,
    I've noticed that the xforms-value-changed event is not being dispatched on the xforms:upload. Is there a reason for this?
 
Ryan

Ryan Puddephatt
Software Engineer
 

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

 


--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xforms-value-changed not dispatched on xforms:upload

Alessandro  Vernet
Administrator
Ryan,

The value of the node bound to the upload control is not the local
path to the file, but either a path to the file on the server-side or
the base64-encode file.

So ideally, when you select a file, it would start being uploaded in
the background, and when the upload is finished, an
xforms-value-changed would be dispatched. Until this gets implemented
there is no xforms-value-changed.

Alex

On 11/12/06, Ryan Puddephatt <[hidden email]> wrote:

>
>
> All,
>     I've noticed that the xforms-value-changed event is not being dispatched  on the xforms:upload. Is there a reason for this?
>
> Ryan
>
>
>
>
> Ryan  Puddephatt
> Software  Engineer
>
>
> Teleflex Group - IT  UK
> 1 Michaelson  Square
> Livingston
> West  Lothian
> Scotland
> EH54  7DP
>
> e> [hidden email]
> t>  +44(0)1506 407 110
> f> +44(0)1506 407  108
> w> www.teleflex.com
>
>
>


--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: xforms-value-changed not dispatched on xforms:upload

Ryan Puddephatt
Alex,

I'm trying to upload the file when one has been selected, but no event is
fired that I can handle in xforms. What would you suggest for this?

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

>-----Original Message-----
>From: [hidden email] [mailto:[hidden email]] On Behalf
>Of Alessandro Vernet
>Sent: 13 November 2006 23:30
>To: [hidden email]
>Subject: Re: [ops-users] xforms-value-changed not dispatched
>on xforms:upload
>
>Ryan,
>
>The value of the node bound to the upload control is not the
>local path to the file, but either a path to the file on the
>server-side or the base64-encode file.
>
>So ideally, when you select a file, it would start being
>uploaded in the background, and when the upload is finished,
>an xforms-value-changed would be dispatched. Until this gets
>implemented there is no xforms-value-changed.
>
>Alex
>
>On 11/12/06, Ryan Puddephatt <[hidden email]> wrote:
>>
>>
>> All,
>>     I've noticed that the xforms-value-changed event is not
>being dispatched  on the xforms:upload. Is there a reason for this?
>>
>> Ryan
>>
>>
>>
>>
>> Ryan  Puddephatt
>> Software  Engineer
>>
>>
>> Teleflex Group - IT  UK
>> 1 Michaelson  Square
>> Livingston
>> West  Lothian
>> Scotland
>> EH54  7DP
>>
>> e> [hidden email]
>> t>  +44(0)1506 407 110
>> f> +44(0)1506 407  108
>> w> www.teleflex.com
>>
>>
>>
>
>
>
>--
>Blog (XML, Web apps, Open Source):
>http://www.orbeon.com/blog/
>
>



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xforms-value-changed not dispatched on xforms:upload

Alessandro  Vernet
Administrator
Ryan,

You like your xforms-value-changed event handler to be called when the
submission replace="all" happens, but before the query is made to URL
specified in the action attribute?

Alex

On 11/14/06, Ryan Puddephatt <[hidden email]> wrote:

> Alex,
>
> I'm trying to upload the file when one has been selected, but no event is
> fired that I can handle in xforms. What would you suggest for this?
>
> Ryan
>
> Ryan Puddephatt
> Software Engineer
>
> Teleflex Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>
> e> [hidden email]
> t> +44(0)1506 407 110
> f> +44(0)1506 407 108
>
>
>
> >-----Original Message-----
> >From: [hidden email] [mailto:[hidden email]] On Behalf
> >Of Alessandro Vernet
> >Sent: 13 November 2006 23:30
> >To: [hidden email]
> >Subject: Re: [ops-users] xforms-value-changed not dispatched
> >on xforms:upload
> >
> >Ryan,
> >
> >The value of the node bound to the upload control is not the
> >local path to the file, but either a path to the file on the
> >server-side or the base64-encode file.
> >
> >So ideally, when you select a file, it would start being
> >uploaded in the background, and when the upload is finished,
> >an xforms-value-changed would be dispatched. Until this gets
> >implemented there is no xforms-value-changed.
> >
> >Alex
> >
> >On 11/12/06, Ryan Puddephatt <[hidden email]> wrote:
> >>
> >>
> >> All,
> >>     I've noticed that the xforms-value-changed event is not
> >being dispatched  on the xforms:upload. Is there a reason for this?
> >>
> >> Ryan
> >>
> >>
> >>
> >>
> >> Ryan  Puddephatt
> >> Software  Engineer
> >>
> >>
> >> Teleflex Group - IT  UK
> >> 1 Michaelson  Square
> >> Livingston
> >> West  Lothian
> >> Scotland
> >> EH54  7DP
> >>
> >> e> [hidden email]
> >> t>  +44(0)1506 407 110
> >> f> +44(0)1506 407  108
> >> w> www.teleflex.com
> >>
> >>
> >>
> >
> >
> >
> >--
> >Blog (XML, Web apps, Open Source):
> >http://www.orbeon.com/blog/
> >
> >
>
>
>
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: xforms-value-changed not dispatched on xforms:upload

Ryan Puddephatt
Alex,
        Sorry I didn't make myself clear, I need the xforms-value-changed
event to be called when a user selects a file, so that I can use xforms:send
to trigger a submission. Something like

<xforms:upload ref="upload">
        <xforms:send ev:event="xforms-value-changed"
submission="upload-file"/>
</xforms:upload>

Thanks

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

>-----Original Message-----
>From: [hidden email] [mailto:[hidden email]] On Behalf
>Of Alessandro Vernet
>Sent: 14 November 2006 23:50
>To: [hidden email]
>Subject: Re: [ops-users] xforms-value-changed not dispatched
>on xforms:upload
>
>Ryan,
>
>You like your xforms-value-changed event handler to be called
>when the submission replace="all" happens, but before the
>query is made to URL specified in the action attribute?
>
>Alex
>
>On 11/14/06, Ryan Puddephatt <[hidden email]> wrote:
>> Alex,
>>
>> I'm trying to upload the file when one has been selected,
>but no event
>> is fired that I can handle in xforms. What would you suggest
>for this?
>>
>> Ryan
>>
>> Ryan Puddephatt
>> Software Engineer
>>
>> Teleflex Group - IT UK
>> 1 Michaelson Square
>> Livingston
>> West Lothian
>> Scotland
>> EH54 7DP
>>
>> e> [hidden email]
>> t> +44(0)1506 407 110
>> f> +44(0)1506 407 108
>>
>>
>>
>> >-----Original Message-----
>> >From: [hidden email] [mailto:[hidden email]] On Behalf Of
>> >Alessandro Vernet
>> >Sent: 13 November 2006 23:30
>> >To: [hidden email]
>> >Subject: Re: [ops-users] xforms-value-changed not dispatched on
>> >xforms:upload
>> >
>> >Ryan,
>> >
>> >The value of the node bound to the upload control is not the local
>> >path to the file, but either a path to the file on the
>server-side or
>> >the base64-encode file.
>> >
>> >So ideally, when you select a file, it would start being
>uploaded in
>> >the background, and when the upload is finished, an
>> >xforms-value-changed would be dispatched. Until this gets
>implemented
>> >there is no xforms-value-changed.
>> >
>> >Alex
>> >
>> >On 11/12/06, Ryan Puddephatt <[hidden email]> wrote:
>> >>
>> >>
>> >> All,
>> >>     I've noticed that the xforms-value-changed event is not
>> >being dispatched  on the xforms:upload. Is there a reason for this?
>> >>
>> >> Ryan
>> >>
>> >>
>> >>
>> >>
>> >> Ryan  Puddephatt
>> >> Software  Engineer
>> >>
>> >>
>> >> Teleflex Group - IT  UK
>> >> 1 Michaelson  Square
>> >> Livingston
>> >> West  Lothian
>> >> Scotland
>> >> EH54  7DP
>> >>
>> >> e> [hidden email]
>> >> t>  +44(0)1506 407 110
>> >> f> +44(0)1506 407  108
>> >> w> www.teleflex.com
>> >>
>> >>
>> >>
>> >
>> >
>> >
>> >--
>> >Blog (XML, Web apps, Open Source):
>> >http://www.orbeon.com/blog/
>> >
>> >
>>
>>
>>
>>
>>
>> --
>> 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
>> ObjectWeb mailing lists service home page:
>> http://www.objectweb.org/wws
>>
>>
>>
>
>
>--
>Blog (XML, Web apps, Open Source):
>http://www.orbeon.com/blog/
>
>



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xforms-value-changed not dispatched on xforms:upload

Erik Bruchez
Administrator
Ryan,

First, the fact is that when the user selects a file, the value doesn't
change in the instance, so there is no point sending
xforms-value-changed. The value only changes once the upload is performed.

Second, can you even detect that the user has selected a file in HTML?
If so, another (extension) event could be sent to reflect that.

-Erik

Ryan Puddephatt wrote:

> Alex,
> Sorry I didn't make myself clear, I need the xforms-value-changed
> event to be called when a user selects a file, so that I can use xforms:send
> to trigger a submission. Something like
>
> <xforms:upload ref="upload">
> <xforms:send ev:event="xforms-value-changed"
> submission="upload-file"/>
> </xforms:upload>
>
> Thanks
>
> Ryan
>
> Ryan Puddephatt
> Software Engineer
>
> Teleflex Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>
> e> [hidden email]
> t> +44(0)1506 407 110
> f> +44(0)1506 407 108
>
>  
>
>> -----Original Message-----
>> From: [hidden email] [mailto:[hidden email]] On Behalf
>> Of Alessandro Vernet
>> Sent: 14 November 2006 23:50
>> To: [hidden email]
>> Subject: Re: [ops-users] xforms-value-changed not dispatched
>> on xforms:upload
>>
>> Ryan,
>>
>> You like your xforms-value-changed event handler to be called
>> when the submission replace="all" happens, but before the
>> query is made to URL specified in the action attribute?
>>
>> Alex
>>
>> On 11/14/06, Ryan Puddephatt <[hidden email]> wrote:
>>> Alex,
>>>
>>> I'm trying to upload the file when one has been selected,
>> but no event
>>> is fired that I can handle in xforms. What would you suggest
>> for this?
>>> Ryan
>>>
>>> Ryan Puddephatt
>>> Software Engineer
>>>
>>> Teleflex Group - IT UK
>>> 1 Michaelson Square
>>> Livingston
>>> West Lothian
>>> Scotland
>>> EH54 7DP
>>>
>>> e> [hidden email]
>>> t> +44(0)1506 407 110
>>> f> +44(0)1506 407 108
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: [hidden email] [mailto:[hidden email]] On Behalf Of
>>>> Alessandro Vernet
>>>> Sent: 13 November 2006 23:30
>>>> To: [hidden email]
>>>> Subject: Re: [ops-users] xforms-value-changed not dispatched on
>>>> xforms:upload
>>>>
>>>> Ryan,
>>>>
>>>> The value of the node bound to the upload control is not the local
>>>> path to the file, but either a path to the file on the
>> server-side or
>>>> the base64-encode file.
>>>>
>>>> So ideally, when you select a file, it would start being
>> uploaded in
>>>> the background, and when the upload is finished, an
>>>> xforms-value-changed would be dispatched. Until this gets
>> implemented
>>>> there is no xforms-value-changed.
>>>>
>>>> Alex
>>>>
>>>> On 11/12/06, Ryan Puddephatt <[hidden email]> wrote:
>>>>>
>>>>> All,
>>>>>     I've noticed that the xforms-value-changed event is not
>>>> being dispatched  on the xforms:upload. Is there a reason for this?
>>>>> Ryan
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Ryan  Puddephatt
>>>>> Software  Engineer
>>>>>
>>>>>
>>>>> Teleflex Group - IT  UK
>>>>> 1 Michaelson  Square
>>>>> Livingston
>>>>> West  Lothian
>>>>> Scotland
>>>>> EH54  7DP
>>>>>
>>>>> e> [hidden email]
>>>>> t>  +44(0)1506 407 110
>>>>> f> +44(0)1506 407  108
>>>>> w> www.teleflex.com
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Blog (XML, Web apps, Open Source):
>>>> http://www.orbeon.com/blog/
>>>>
>>>>
>>>
>>>
>>>
>>>
>>> --
>>> 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
>>> ObjectWeb mailing lists service home page:
>>> http://www.objectweb.org/wws
>>>
>>>
>>>
>>
>> --
>> Blog (XML, Web apps, Open Source):
>> http://www.orbeon.com/blog/
>>
>>
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

--
Orbeon Forms - XForms Everywhere
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: xforms-value-changed not dispatched on xforms:upload

Ryan Puddephatt
Erik,
        I see what you mean about the event, an extention function would be
more appropriate. The onchange event is fired, perhaps Orbeon Forms could
handle that?

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

>-----Original Message-----
>From: Erik Bruchez [mailto:[hidden email]] On Behalf Of
>Erik Bruchez
>Sent: 15 November 2006 10:14
>To: [hidden email]
>Subject: Re: [ops-users] xforms-value-changed not dispatched
>on xforms:upload
>
>Ryan,
>
>First, the fact is that when the user selects a file, the
>value doesn't change in the instance, so there is no point
>sending xforms-value-changed. The value only changes once the
>upload is performed.
>
>Second, can you even detect that the user has selected a file in HTML?
>If so, another (extension) event could be sent to reflect that.
>
>-Erik
>
>Ryan Puddephatt wrote:
>> Alex,
>> Sorry I didn't make myself clear, I need the
>xforms-value-changed
>> event to be called when a user selects a file, so that I can use
>> xforms:send to trigger a submission. Something like
>>
>> <xforms:upload ref="upload">
>> <xforms:send ev:event="xforms-value-changed"
>> submission="upload-file"/>
>> </xforms:upload>
>>
>> Thanks
>>
>> Ryan
>>
>> Ryan Puddephatt
>> Software Engineer
>>
>> Teleflex Group - IT UK
>> 1 Michaelson Square
>> Livingston
>> West Lothian
>> Scotland
>> EH54 7DP
>>
>> e> [hidden email]
>> t> +44(0)1506 407 110
>> f> +44(0)1506 407 108
>>
>>  
>>
>>> -----Original Message-----
>>> From: [hidden email] [mailto:[hidden email]] On Behalf Of
>>> Alessandro Vernet
>>> Sent: 14 November 2006 23:50
>>> To: [hidden email]
>>> Subject: Re: [ops-users] xforms-value-changed not dispatched on
>>> xforms:upload
>>>
>>> Ryan,
>>>
>>> You like your xforms-value-changed event handler to be called when
>>> the submission replace="all" happens, but before the query
>is made to
>>> URL specified in the action attribute?
>>>
>>> Alex
>>>
>>> On 11/14/06, Ryan Puddephatt <[hidden email]> wrote:
>>>> Alex,
>>>>
>>>> I'm trying to upload the file when one has been selected,
>>> but no event
>>>> is fired that I can handle in xforms. What would you suggest
>>> for this?
>>>> Ryan
>>>>
>>>> Ryan Puddephatt
>>>> Software Engineer
>>>>
>>>> Teleflex Group - IT UK
>>>> 1 Michaelson Square
>>>> Livingston
>>>> West Lothian
>>>> Scotland
>>>> EH54 7DP
>>>>
>>>> e> [hidden email]
>>>> t> +44(0)1506 407 110
>>>> f> +44(0)1506 407 108
>>>>
>>>>
>>>>
>>>>> -----Original Message-----
>>>>> From: [hidden email] [mailto:[hidden email]] On Behalf Of
>>>>> Alessandro Vernet
>>>>> Sent: 13 November 2006 23:30
>>>>> To: [hidden email]
>>>>> Subject: Re: [ops-users] xforms-value-changed not dispatched on
>>>>> xforms:upload
>>>>>
>>>>> Ryan,
>>>>>
>>>>> The value of the node bound to the upload control is not
>the local
>>>>> path to the file, but either a path to the file on the
>>> server-side or
>>>>> the base64-encode file.
>>>>>
>>>>> So ideally, when you select a file, it would start being
>>> uploaded in
>>>>> the background, and when the upload is finished, an
>>>>> xforms-value-changed would be dispatched. Until this gets
>>> implemented
>>>>> there is no xforms-value-changed.
>>>>>
>>>>> Alex
>>>>>
>>>>> On 11/12/06, Ryan Puddephatt <[hidden email]> wrote:
>>>>>>
>>>>>> All,
>>>>>>     I've noticed that the xforms-value-changed event is not
>>>>> being dispatched  on the xforms:upload. Is there a reason
>for this?
>>>>>> Ryan
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Ryan  Puddephatt
>>>>>> Software  Engineer
>>>>>>
>>>>>>
>>>>>> Teleflex Group - IT  UK
>>>>>> 1 Michaelson  Square
>>>>>> Livingston
>>>>>> West  Lothian
>>>>>> Scotland
>>>>>> EH54  7DP
>>>>>>
>>>>>> e> [hidden email]
>>>>>> t>  +44(0)1506 407 110
>>>>>> f> +44(0)1506 407  108
>>>>>> w> www.teleflex.com
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Blog (XML, Web apps, Open Source):
>>>>> http://www.orbeon.com/blog/
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> 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
>>>> ObjectWeb mailing lists service home page:
>>>> http://www.objectweb.org/wws
>>>>
>>>>
>>>>
>>>
>>> --
>>> Blog (XML, Web apps, Open Source):
>>> http://www.orbeon.com/blog/
>>>
>>>
>>
>>
>>
>>
>----------------------------------------------------------------------
>> --
>>
>>
>> --
>> 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
>> ObjectWeb mailing lists service home page:
>> http://www.objectweb.org/wws
>
>
>--
>Orbeon Forms - XForms Everywhere
>http://www.orbeon.com/blog/
>
>



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: xforms-value-changed not dispatched on xforms:upload

Alessandro  Vernet
Administrator
Ryan,

Yes, I think we will want to handle that. First, we'll support the the
basic functionality of the upload control with replace="instance".
Then we can support the incremental="true", where the upload to the
server will start in the background before you submit the instance
that contains the node bound to the upload control. When there is a
incremental="true" on <xforms:upload>, then it will make sense to
generate the xforms-value-change event.

The XForms specification is also fairly clear on this:
http://www.w3.org/TR/xforms/slice8.html#ui-upload

Does it make sense?

Alex

On 11/15/06, Ryan Puddephatt <[hidden email]> wrote:

> Erik,
>         I see what you mean about the event, an extention function would be
> more appropriate. The onchange event is fired, perhaps Orbeon Forms could
> handle that?
>
> Ryan
>
> Ryan Puddephatt
> Software Engineer
>
> Teleflex Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>
> e> [hidden email]
> t> +44(0)1506 407 110
> f> +44(0)1506 407 108
>
>
>
> >-----Original Message-----
> >From: Erik Bruchez [mailto:[hidden email]] On Behalf Of
> >Erik Bruchez
> >Sent: 15 November 2006 10:14
> >To: [hidden email]
> >Subject: Re: [ops-users] xforms-value-changed not dispatched
> >on xforms:upload
> >
> >Ryan,
> >
> >First, the fact is that when the user selects a file, the
> >value doesn't change in the instance, so there is no point
> >sending xforms-value-changed. The value only changes once the
> >upload is performed.
> >
> >Second, can you even detect that the user has selected a file in HTML?
> >If so, another (extension) event could be sent to reflect that.
> >
> >-Erik
> >
> >Ryan Puddephatt wrote:
> >> Alex,
> >>      Sorry I didn't make myself clear, I need the
> >xforms-value-changed
> >> event to be called when a user selects a file, so that I can use
> >> xforms:send to trigger a submission. Something like
> >>
> >> <xforms:upload ref="upload">
> >>      <xforms:send ev:event="xforms-value-changed"
> >> submission="upload-file"/>
> >> </xforms:upload>
> >>
> >> Thanks
> >>
> >> Ryan
> >>
> >> Ryan Puddephatt
> >> Software Engineer
> >>
> >> Teleflex Group - IT UK
> >> 1 Michaelson Square
> >> Livingston
> >> West Lothian
> >> Scotland
> >> EH54 7DP
> >>
> >> e> [hidden email]
> >> t> +44(0)1506 407 110
> >> f> +44(0)1506 407 108
> >>
> >>
> >>
> >>> -----Original Message-----
> >>> From: [hidden email] [mailto:[hidden email]] On Behalf Of
> >>> Alessandro Vernet
> >>> Sent: 14 November 2006 23:50
> >>> To: [hidden email]
> >>> Subject: Re: [ops-users] xforms-value-changed not dispatched on
> >>> xforms:upload
> >>>
> >>> Ryan,
> >>>
> >>> You like your xforms-value-changed event handler to be called when
> >>> the submission replace="all" happens, but before the query
> >is made to
> >>> URL specified in the action attribute?
> >>>
> >>> Alex
> >>>
> >>> On 11/14/06, Ryan Puddephatt <[hidden email]> wrote:
> >>>> Alex,
> >>>>
> >>>> I'm trying to upload the file when one has been selected,
> >>> but no event
> >>>> is fired that I can handle in xforms. What would you suggest
> >>> for this?
> >>>> Ryan
> >>>>
> >>>> Ryan Puddephatt
> >>>> Software Engineer
> >>>>
> >>>> Teleflex Group - IT UK
> >>>> 1 Michaelson Square
> >>>> Livingston
> >>>> West Lothian
> >>>> Scotland
> >>>> EH54 7DP
> >>>>
> >>>> e> [hidden email]
> >>>> t> +44(0)1506 407 110
> >>>> f> +44(0)1506 407 108
> >>>>
> >>>>
> >>>>
> >>>>> -----Original Message-----
> >>>>> From: [hidden email] [mailto:[hidden email]] On Behalf Of
> >>>>> Alessandro Vernet
> >>>>> Sent: 13 November 2006 23:30
> >>>>> To: [hidden email]
> >>>>> Subject: Re: [ops-users] xforms-value-changed not dispatched on
> >>>>> xforms:upload
> >>>>>
> >>>>> Ryan,
> >>>>>
> >>>>> The value of the node bound to the upload control is not
> >the local
> >>>>> path to the file, but either a path to the file on the
> >>> server-side or
> >>>>> the base64-encode file.
> >>>>>
> >>>>> So ideally, when you select a file, it would start being
> >>> uploaded in
> >>>>> the background, and when the upload is finished, an
> >>>>> xforms-value-changed would be dispatched. Until this gets
> >>> implemented
> >>>>> there is no xforms-value-changed.
> >>>>>
> >>>>> Alex
> >>>>>
> >>>>> On 11/12/06, Ryan Puddephatt <[hidden email]> wrote:
> >>>>>>
> >>>>>> All,
> >>>>>>     I've noticed that the xforms-value-changed event is not
> >>>>> being dispatched  on the xforms:upload. Is there a reason
> >for this?
> >>>>>> Ryan
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Ryan  Puddephatt
> >>>>>> Software  Engineer
> >>>>>>
> >>>>>>
> >>>>>> Teleflex Group - IT  UK
> >>>>>> 1 Michaelson  Square
> >>>>>> Livingston
> >>>>>> West  Lothian
> >>>>>> Scotland
> >>>>>> EH54  7DP
> >>>>>>
> >>>>>> e> [hidden email]
> >>>>>> t>  +44(0)1506 407 110
> >>>>>> f> +44(0)1506 407  108
> >>>>>> w> www.teleflex.com
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Blog (XML, Web apps, Open Source):
> >>>>> http://www.orbeon.com/blog/
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> 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
> >>>> ObjectWeb mailing lists service home page:
> >>>> http://www.objectweb.org/wws
> >>>>
> >>>>
> >>>>
> >>>
> >>> --
> >>> Blog (XML, Web apps, Open Source):
> >>> http://www.orbeon.com/blog/
> >>>
> >>>
> >>
> >>
> >>
> >>
> >----------------------------------------------------------------------
> >> --
> >>
> >>
> >> --
> >> 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
> >> ObjectWeb mailing lists service home page:
> >> http://www.objectweb.org/wws
> >
> >
> >--
> >Orbeon Forms - XForms Everywhere
> >http://www.orbeon.com/blog/
> >
> >
>
>
>
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet