I am trying to use an update button, i don't know how to use the
params field.

http://cookbook.hobocentral.net/api_tag_defs/update-button

params: Another hash with additional HTTP parameters to include in the
ajax request

I tried:

<update-button id="start_position" label="Start Position"
update="update-fields" params="{'a' : 1}"/>
Fails because it's a string

<update-button id="start_position" label="Start Position"
update="update-fields" params={'a' : 1 }/>
Fails without error message

Temporarily I will use the 'fields' because anything in there gets
sent to the controller as with the model name as the key.  But just
wondering it I can get it to work.

-- 
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