AVT in name attribute of xxforms:context

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

AVT in name attribute of xxforms:context

Grégoire Neuville
Hi all,

While working with an "old" version of Orbeon (3.7.1...) I stumbled
across the following behaviour which I believe was a bug :

<xforms:dispatch targetid="my-target" name="my-event">
  <xxforms:context name="{string('my-name')}" select="string('Yeah !!')" />
</xforms:dispatch>

that code isn't working as expected because of the AVT not being
evaluated (as it should ?)

Does this have been fixed in a later version or has it remained unseen ?

Thanks,
--
Grégoire Neuville


--
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: AVT in name attribute of xxforms:context

Erik Bruchez
Administrator
Grégoire,

Looking at the current code:

https://github.com/orbeon/orbeon-forms/blob/master/src/java/org/orbeon/oxf/xforms/action/XFormsAction.java#L52

It doesn't seem like the attribute is evaluated as an AVT.

That should be pretty easy to implement though.

-Erik

2011/4/18 Grégoire Neuville <[hidden email]>:

> Hi all,
>
> While working with an "old" version of Orbeon (3.7.1...) I stumbled
> across the following behaviour which I believe was a bug :
>
> <xforms:dispatch targetid="my-target" name="my-event">
>  <xxforms:context name="{string('my-name')}" select="string('Yeah !!')" />
> </xforms:dispatch>
>
> that code isn't working as expected because of the AVT not being
> evaluated (as it should ?)
>
> Does this have been fixed in a later version or has it remained unseen ?
>
> Thanks,
> --
> Grégoire Neuville
>
>
> --
> 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
>
>


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