I looked further and I can see the lifecycle actions in pages.dryml but tlinks to them don't get displayed on other pages. I have available_to set and auto_actions :all in controllers.
Is this a bug/unimplemented feature? If so would the taglibs/ rapid_pages.dryml and taglibs/rapid_lifecycles.dryml be place for me to start looking to fix it? Or does it work for other and I just have a bug in my model/ controller code? On Sep 17, 11:00 am, ryuuguu <[email protected]> wrote: > I am trying to understand lifecycles . I have an available to all > transition and the controller has auto_actions :all (code below) > > l thought that when I went to a job page I would see some link to > trigger the transition "do_debug", but nothing. I checked in the > database and the job has state 'open'. Is there a problem in my code? > in my understanding about transitions appearing on pages? > > #Model....job... > #---- Lifecycle ---# > lifecycle do > state :open, :debugxx > state :open, :default => true > transition :do_debug, { :open => :debugxx }, :available_to =>:all > do > end > end > > #controller > class JobsController < ApplicationController > hobo_model_controller > auto_actions :all > end > > Cheers, > Grant --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
