> If I understood correctly, you are using the "activity" value as the
> name of the custom form/partial.

Yes, you understood well what I did (though it was merely a hack for me,
not being sure how to use the "__workitem_partial" thing without
repeating the same form name everywhere) :-)

By the way, if you're indeed implementing it: I kind of abuse the
activity name to get nice Fluo diagrams. So, to support activity names
such as "Read the Manual", I use the

  t_activity.downcase.gsub(/[^a-z0-9]/, '_')

in my hack to get "read_the_manual" to find the partial. Any other
"translation" would be fine as well, of course. Like maybe only
replacing spaces and dashes with an underscore, and simply remove all
other odd characters.

> Sorry for not having ...

Huh? No way you need to say sorry for anything!

Thanks!
Arjan.


-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of John Mettraux
Sent: Monday, April 21, 2008 4:39 PM
To: [email protected]
Subject: [openwferu-users] Re: Densha: is there consensus about using
custom task forms?


On Mon, Apr 21, 2008 at 4:34 PM, Arjan van Bentem
<[EMAIL PROTECTED]> wrote:
>
>
>  First of all: I'm new to both Ruby, Rails and OpenWFE, so forgive if
I'm
>  asking the obvious... Also excuse me for being a bit verbose here --
can
>  you tell I'm a bit insecure? ;-)

Hello Arjan,

thanks for your feedback.

If I understood correctly, you are using the "activity" value as the
name of the custom form/partial. I think it's a great idea, way
simpler that using the "__workitem_partial" thing.

http://rubyforge.org/tracker/index.php?func=detail&aid=19684&group_id=26
09&atid=10195

I will integrate your idea.

Sorry for not having integrated your :tag suggestion as well, but I
was on other things :
http://github.com/jmettraux/ruote/commits/master/


Have I understood you correctly ?

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