I'm trying to understand the new data_rapid mechanism. Currently we've got
a a single popup edit dialog for "items" which is populated dynamically for
a selected "item" using a Hobo.ajaxRequest in JavaScript. I'm guessing
there's a more elegant way to do this in 1.4 - am I on the right track
with the following in dryml, where the context is the "item" i want to
create an edit dialog for?
<dialog-open-button data-rapid='{"dialog-box":{"item_id":
#{this.id}}}'><this.title/></dialog-open-button>
It gives the following:
NoMethodError: private method `status_code' called for
#<ActionDispatch::ExceptionWrapper:0x000001054b5d38>
ActionView::Template::Error (757: unexpected token at
'{"dialog-box":{"item_id": #{this.id}}}'):
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/hobousers/-/tDyuKfRW4mMJ.
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.