Displaying 3 results from an estimated 3 matches for "phansalkar".
2009 Jul 02
2
ajax based form - render action breaks form
hi all,
i''ve 4 select boxes in a form(_form.rhtml), one dependent on the
other. initially, when form is loaded, only 1st box is enabled. after
selecting value in 1st select box, it inserts 2nd, on 2nd''s change, 3rd
gets inserted and on 3rd''s change, 4th gets inserted. this flow works
perfect for me. i''ve used ajax for this flow. this form then is sent to
2008 May 05
7
extract and assign xml values to variable
hi,
how can we assign an xml element value to some variable in
controller? e.g. if we have
<order>
<id>1</id>
<name>abc</name>
<location>xyz</location>
</order>
and if we want value of name i.e. ''abc'' to be assigned in a variable
declared in a controller, say order_controller, like this- temp = "value
of xml element
2008 Jul 01
4
Errno::EIO - Input/output error
...<%=select_tag("stat_id",
options_from_collection_for_select(@statistics, "id", "name"))%>
6: <%= submit_tag ''Add Stat'' %>
7: <% end %>
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
/home/dphansalkar/temp_upload/MergeDemoTRY/app/views/reporter/index.rhtml:4:in
`write''
/home/dphansalkar/temp_upload/MergeDemoTRY/app/views/reporter/index.rhtml:4:in
`_run_rhtml_47app47views47reporter47index46rhtml''
/home/dphansalkar/temp_upload/MergeDemoTRY/app/views/reporter/index.rhtml:4:in
`_ru...