Thanks Stefan, I think your email qualifies as a very nice bug report:
https://github.com/Hobo/hobo/issues/64 Warm regards, Ignacio El 24/01/14 12:19, Stefan Haslinger escribió: > Hi folks, > the lifecycle manual indicates: > > You can create buttons for parameter-less transitions and links to > lifecycle pages *for creators* and transitions with parameters via > the RAPID tags <transition-button> > <http://hobocentral.net/tagdef/hobo_rapid/buttons/transition-button>, > <transition-buttons> > <http://hobocentral.net/tagdef/hobo_rapid/buttons/transition-buttons> > and<transition-link> > <http://hobocentral.net/tagdef/hobo_rapid/buttons/transition-link>. > > > So I tried to create a transition link for my lifecycle creator and > failed miserably. I digged through the hobo code and still believe: you > can't. > Well, why not create one of my own in the spirit of transition-link: > > <def attrs='creator' tag='creator-link'> > <% creat = this.new.lifecycle.class.can_create?(creator, > current_user) %> > <if test='&creat'> > <a merge with='&this' action='&creator'/> > </if> > > </def> > > > can be called like this: > > <creator-link with="&BillingAddress" creator="enter" /> > > > Cheers, > Stefan > > -- > You received this message because you are subscribed to the Google > Groups "Hobo Users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/hobousers. > For more options, visit https://groups.google.com/groups/opt_out. -- Ignacio Huerta Arteche http://www.ihuerta.net Teléfono: 0034 645 70 77 35 Email realizado con software libre -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/hobousers. For more options, visit https://groups.google.com/groups/opt_out.
