On Wed, Jan 21, 2009 at 1:49 AM, <[email protected]> wrote:
>
> we have followed your tip, but using:
>
> <set-fields>
> <hash>
> <entry>
> <string>p_01</string><string>value0</string>
> <string>p_02</string><string>value1</string>
> </entry>
> </hash>
> </set-fields>
>
> we get this error:
>
> class: RuntimeError
> message: apply
> stacktrace:
> exception : unknown expression 'hash'
> .../vendor/openwfe/expressions/raw.rb:96:in `instantiate_real_expression'
Sorry, my bad :
---8<---
<set-fields>
<a>
<hash>
<entry>
<string>customer_name</string><string>Zigue</string>
</entry>
<entry>
<string>customer_age</string><string>34</string>
</entry>
<entry>
<string>approved</string><false />
</entry>
</hash>
</a>
</set-fields>
--->8---
this <a> thing also understands YAML and JSON :
---8<---
<set-fields>
<a>{"customer":{"name":"Zigue","age":34},"approved":false}</a>
</set-fields>
--->8---
Best regards,
--
John Mettraux - http://jmettraux.wordpress.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruote (OpenWFEru) users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---