Hi,

def search

end



  def search1

            @employee = Employee.find(params[:id])
            respond_to do |format|
              format.html{render :partial => 'show'}
              format.xml
            end

  end





search.html is
 <%= form_for(@employee) do |e| %>
 EMP ID<%= e.text_field :id %><br>
 <%= e.submit 'search', :controller => 'employees', :action =>
'search1' %>
 <% end %>



problem is its not showing up search page itself


thanks,
-pab

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to