I have used the replace/restore attributes before without needing the : in the replace tag.
When I do add the :, I get this error... attribute 'restore' is not allowed on parameter tags (<tr:>) On Jan 27, 5:33 pm, Henry Baragar <[email protected]> wrote: > On January 27, 2011 05:12:16 pm bcavileer wrote: > > > I'm trying to update table rows using AJAX when performing a lifecycle > > transition. > > > I have tried to follow the instructions on this page without success > >http://cookbook.hobocentral.net/recipes/8-use-parts-on-repeated-elements > > > My code looks like this > > > <tr: replace> > > <do part="ticketrow" id="ticketrow-#{typed_id}"> > > <tr restore/> > > I believe that you are missing the ":" after the "tr", and this line should > be: > > <tr: restore/> > > I believe thathttp://cookbook.hobocentral.net/manual/dryml-guidecontains the > same typo. > > Henry > > > </do> > > </tr:> > > > <controls:> > > <transition-button transition="unassign" update="ticketrow- > > #{typed_id}"/> > > </controls:> > > > However I'm getting this error > > undefined method `_tr_restore' for #<ActionView::Base:0x7ef2af0> > > > Is there an easier way to do this? Am I missing something? > > -- > Henry Baragar > Instantiated Software -- 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.
