On 10/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I have also some other problems with the iterator expression.
> The version which is used in the example is OK, it works as expected.
> But if i use a more dynamic version which is discussed in the
> documentation
>
> iterator :on_value => "${f:participant_list}", :to_variable => "p" do
> participant "${p}"
> end
>
> nothing will happend (no iteration will take place) --> I think
> somethink is wrong with the
> :on_value => "${f:participant_list}" construct.
>
>
> In my example if I use the dynamic dollor construct "${f:comp}" it
> should work:
>
> iterator :on_value => "${f:comp}", :to_variable =>"next_participant"
> do
>
> _if do
> equals :field_value => "$
> {next_participant}", :other_value => "bob"
> # then
> companyDefiner
> # else
> supplier :supplierName => "${next_participant}"
> end
> end
>
>
> But no iteration will take place. What is wrong with that ?
Hi,
I have tried to reproduce your issue in OpenWFEru trunk but without success :
http://openwferu.rubyforge.org/svn/trunk/openwfe-ruby/test/ft_15b_iterator.rb
This test just works fine for me. I added it anyway to the test suite.
I guess you're using OpenWFEru 0.9.15. Is there something in the logs
about your problem ?
--
John Mettraux -///- http://jmettraux.openwfe.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"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
-~----------~----~----~----~------~----~------~--~---