Hi Tomaso,

On Nov 9, 2007 5:00 PM, Tomaso Tosolini <[EMAIL PROTECTED]> wrote:
>
> sorry for my stupid questions....

Don't worry :)


> $openwferu_engine.register_participant "reader" do |workitem|
>         puts "now insert new field name"
>         field_name = gets
>         field_name.chomp!
>         puts "now insert new field value"
>         field_value = gets
>         workitem.send("#{field_name}=", field_value)
>         puts "workitem's field value is #{      
> workitem.send("#{field_name}") }"

you can write :

    workitem.attributes[field_name] = field_value
    puts "workitem field value is #{workitem.attributes[field_name]}"

( http://openwferu.rubyforge.org/rdoc/index.html )


OK, I assume everything is fine for now. Best regards !

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

Reply via email to