conditional action?

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

conditional action?

Adrian Baker-2
I'm grasping at straws here, but is there any OPS extension which allows
conditional action execution? I know this isn't possible in standard
XForms 1.0.

The specific problem I have is an action triggered from
xforms-value-changed. Depending on the value changed to I either want to
do a <xforms:submission replace="instance"> (ie just update some data in
the form), or a <xforms:load replace="all"> (navigate to a different
page altogether).

Adrian



--
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: conditional action?

Erik Bruchez
Administrator
Adrian,

Not at the moment, but we plan to implement the 1.1 draft for
conditional actions:

http://www.w3.org/TR/xforms11/#conditional-actions

As you point out, there are clear use cases for this.

No ETA yet, but it doesn't look like this is going to be very difficult
to implement. And it's likely to be standard when 1.1 comes out.

-Erik

Adrian Baker wrote:

> I'm grasping at straws here, but is there any OPS extension which allows
> conditional action execution? I know this isn't possible in standard
> XForms 1.0.
>
> The specific problem I have is an action triggered from
> xforms-value-changed. Depending on the value changed to I either want to
> do a <xforms:submission replace="instance"> (ie just update some data in
> the form), or a <xforms:load replace="all"> (navigate to a different
> page altogether).
>
> Adrian
--
Orbeon - 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