[万分紧急] 请求回复 - autocomplete 请求action时发生422错误!
在用auto_complete_field请求url时报错, 返回http状态422. 根本没有请求到action.
IDE:Netbeans6.5
错误信息如下: 127.0.0.1 - - [13/Mar/2009:10:11:08 CST] "POST /configurations/autocomplete_promptname HTTP/1.1" 422 14261 http://localhost:3000/configurations/testcycle/3 -> /configurations/autocomplete_promptname
部分代码如下:
<%= text_field_tag "MOC#{testcycle_mbist_output_field.id}", testcycle_mbist_output_field.time, :size => '30', :class => 'box_output_readonly', :readonly => true %>
<div class="auto_complete" id="prompt_MOC<%= testcycle_mbist_output_field.id %>"></div>
<%= auto_complete_field "MOC#{testcycle_mbist_output_field.id}",
:update => "prompt_MOC#{testcycle_mbist_output_field.id}",
:url => {:controller => 'configurations', :action => 'autocomplete_promptname'},
:tokens => ['+', '-', '*', '/'] %>
哪位仁兄知道该如何解决? 我在另一个测试工程中,使用类似代码,没有出现问题!难道是配置问题???急等回复!