On Mon, May 5, 2008 at 6:24 PM, Arjan van Bentem
<[EMAIL PROTECTED]> wrote:
>
> Is there a reason why @workitem.fields_hash['params'] could ever be nil in
> ruote-web? I assume not, but if so, then WorkitemHelper:: find_partial needs
> a minor patch.
>
>     128:   activity = wi_fields['params']['activity']

What about something like

---8<---
    class OpenWFE::Extras::Workitem
      def params
         self.field('params') || {}
      end
    end
--->8---

?

It's true that having it break and complain can save time. (Hence not
sure about adding).


> http://github.com/jmettraux/ruote-web/tree/1c6b31fdb1ff24d181ab3724401ff79fe2e6ec19/app/helpers/workitem_helper.rb#L128

This #Lxxx trick is neat, where did you learn about it ?


> -- John, thanks for adding ${fv:..} and ${vf:..} !

You're welcome !


Best regards,

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

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