Displaying 3 results from an estimated 3 matches for "transfer_reason".
2008 May 26
0
setfocus to a field in view
Hi
I have a div "reason_for_transfer_search_sd" like
<div id="reason_for_transfer_search_sd" >
<%= render :partial =>
"service_desk_part/on_action_transfer_reason_sd_search", :locals => {
:sd_ticket=>sd_ticket } %>
</div>
And in on_action_transfer_reason_sd_search
<%= text_area_tag "transfer_reason", nil, :size => "50x1" %>
<%= link_to_remote "Submit",
{:with => "''transfer_r...
2008 Jun 02
2
text_area_tag
Hi
How can I set value for text_area_tag..I tried
<%= text_area_tag "transfer_reason#{div_no}", nil, :size => "50x1",
"value"=>params[:transfer_reason] %>
But not working
Thanks in advance
Sijo
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to...
2008 May 13
4
calling another rjs file in an if condition
Hi
I have a controller action like below.This def is called by a
submit_to_remote
def edit_service_desk_status_after_transfer
if params[:transfer_reason].empty?
#This is used in the :failure of submit_to_remote
else
@sd_ticket = ServiceDeskTicket.find(params[:sd_id])
ActiveRecord::Base.transaction do
@sd_status_history = ServiceDeskStatusHistory.new
@sd_status_history.service_desk_ticket_id = @sd_ti...