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 that http://cookbook.hobocentral.net/manual/dryml-guide contains 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.

Reply via email to