maybe I am brain-dead, but I tried this:
<a with="&this" to="&expire">Expire</a>
and all I get is "undefined method expire" for #<ActionView::Base...>
Not sure why transition-button shouldn't work, but using <a /> is fine
by me.
On Jul 16, 3:40 pm, Bryan Larsen <[email protected]> wrote:
> Maybe this is too easy, but I think <a with="&some_object"
> to="&transition_name"> should give you a link to the transition page.
>
> Instead of the transition-button tag, I often use the tag that's auto
> generated in forms.dryml. I'm fairly sure I've used them for create
> steps too.
>
> If you're still having problems I can look into it further.
>
> Bryan
>
> kevinpfromnm wrote:
> > Maybe I'm missing something obvious (seems like each time I start one
> > of these posts I figure out a work around before I hit post) but I'm
> > not sure how one is supposed to use the transition-button tag or the
> > clean way of getting a link to a transition form. Currently, I've
> > manually made a form for one and manually created the href for a
> > link. I did get transition buttons working on already existing
> > lifecycles but have had no such luck for the create part.
>
> > Anyone with some tips? Maybe an example or two?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---