${fv:...} is not implemented in ruote, right?

0 views
Skip to first unread message

Arjan van Bentem

unread,
May 4, 2008, 6:41:09 AM5/4/08
to openwfe...@googlegroups.com

Hi all,

It seems that ${fv:...} from OpenWFE (Java) has not made it to
OpenWFEru, right?

(looking at http://github.com/jmettraux/ruote/tree/master/lib/openwfe/util/dollar.rb
seems to only take the first character before the colon into account)

Arjan.


http://www.openwfe.org/manual/ch06s10.html

combining fields and variables in the dollar notation

A value can be fetched from a field and then from the variable of the
same name if it's not available as a field.

<sequence>

<set variable="c1" value="${fv:customer}" />
<set variable="c2" value="${vf:customer}" />

</sequence>

The variable 'c1' will receive the same value as the field 'customer'.
If this field is not set, 'c1' will receive the value of the variable
'customer'. The second 'set' is equivalent, but it looks first in the
variable 'customer', and then in the field 'customer'.

John Mettraux

unread,
May 4, 2008, 10:39:57 AM5/4/08
to openwfe...@googlegroups.com
On Sun, May 4, 2008 at 7:41 PM, Arjan van Bentem
<arjan.v...@bidnetwork.org> wrote:
>
> It seems that ${fv:...} from OpenWFE (Java) has not made it to
> OpenWFEru, right?
>
> (looking at http://github.com/jmettraux/ruote/tree/master/lib/openwfe/util/dollar.rb
> seems to only take the first character before the colon into account)

Hello Arjan,

you're right, I'll reintroduce this concept :

http://rubyforge.org/tracker/index.php?func=detail&aid=19933&group_id=2609&atid=10195


Best regards,

--
John Mettraux - http://jmettraux.wordpress.com

John Mettraux

unread,
May 4, 2008, 9:53:52 PM5/4/08
to openwfe...@googlegroups.com
> On Sun, May 4, 2008 at 7:41 PM, Arjan van Bentem
> <arjan.v...@bidnetwork.org> wrote:
> >
> > It seems that ${fv:...} from OpenWFE (Java) has not made it to
> > OpenWFEru, right?
> >
> > (looking at http://github.com/jmettraux/ruote/tree/master/lib/openwfe/util/dollar.rb
> > seems to only take the first character before the colon into account)

Hello Arjan,

it's in : http://github.com/jmettraux/ruote/commit/ffafcfe8c78ca2935e3b29e2ef81814dedaad206

Reply all
Reply to author
Forward
0 new messages