<div part="start-frame-display">1234</div>

<% action_url = url_for(:controller => 'projects', :action =>
'update_start_frame', :id => this.project.id ) %>

<form:project action="&action_url" update="start-frame-display">
    <field-list fields="start_frame"/>
    <input id="project_start_frame" name="project[start_frame]"
type="hidden" value="1"/>
    <input id="render" name="project[render]" type="hidden" value="1"/
>
    <submit value="Update Start Frame"/>
</form>

I only saw hobo built in tags for hidden-id-field.  Once I get it
working I could create my own tag definition to make it more DRY, but
right now I only get 3 parameters in the action:

id, action, controller.  Which are from the URL.  I am not getting
anything by post.  When I debug in the controller action I have:
request.xhr? equals true and request.post? true.

Here is the request content from the Chrome debugger:

Request URL:http://0.0.0.0:3000/projects/8/update_start_frame
Request Method:POST
Status Code:200 OK
Request Headers
Accept:text/javascript, text/html, application/xml, text/xml, */*
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Content-Length:0
Content-type:application/x-www-form-urlencoded; charset=UTF-8
Cookie:_intersection_session=BAh7CCIQX2NzcmZfdG9rZW4iMVNFQTNYQktjdVIyeFhGY0VPQWFiTDNYMDNZc1NoTWZhY3NsaVR1Yy83K3M9Ig9zZXNzaW9uX2lkIiU4OGMwYWNhY2ExYTMyNDc4ZDI0MDY4MDA4YzJhODEyNyIJdXNlciILdXNlcjox--
dda933d0c1a1a8f030a925975b276cff4d3b1599
Host:0.0.0.0:3000
Origin:http://0.0.0.0:3000
Referer:http://0.0.0.0:3000/videos/19-avi-divx-avi
User-Agent:Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.10
(KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
X-Prototype-Version:1.7_rc2
X-Requested-With:XMLHttpRequest
Response Headers
Cache-Control:no-store
Connection:Keep-Alive
Content-Length:147
Content-Type:text/javascript; charset=utf-8
Date:Sun, 13 Feb 2011 14:26:35 GMT
Etag:"922596be912faf499d230186792a66a7"
Expires:0
Pragma:no-cache
Server:WEBrick/1.3.1 (Ruby/1.8.7/2010-04-19)
Set-
Cookie:_intersection_session=BAh7CCIQX2NzcmZfdG9rZW4iMVNFQTNYQktjdVIyeFhGY0VPQWFiTDNYMDNZc1NoTWZhY3NsaVR1Yy83K3M9Ig9zZXNzaW9uX2lkIiU4OGMwYWNhY2ExYTMyNDc4ZDI0MDY4MDA4YzJhODEyNyIJdXNlciILdXNlcjox--
dda933d0c1a1a8f030a925975b276cff4d3b1599; path=/; HttpOnly
X-Runtime:90.502005
X-Ua-Compatible:IE=Edge


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