Displaying 3 results from an estimated 3 matches for "thecontrol".
Did you mean:
lmecontrol
2006 Jul 26
3
adding class or id tags to tags like linkto and form
I''m trying to figure out things like this by myself so I don''t bother my
developer and slow him down. How do I add class or id css attributes to
tags like this:
<%= form_remote_tag :url => { :action => "send_url" } %>
<%= link_to_remote "My Profile URL", :url => { :action =>
"send_profile_url", :id => @user.id } %>
2006 Aug 17
0
confused about scoping in controller when using render
...update (as in
the comments) it works fine. Thanks very much.
---- view ----
<%= javascript_include_tag :defaults %>
<div id="result">testing</div>
<%= link_to_remote ''change'', :url => { :action => :change } %>
---- controller ----
class TheController < ApplicationController
def index
end
def change
# no error here testmethod returns correctly
x = testmethod()
render :update do |page|
# error - test method undefined.
page.replace_html ''result'', testmethod()
#page.replace_html '...
2007 Mar 23
4
Complex sendmail alias handling.
Hi all:
I have a situation where I need to change the distribution of emails
for selected accounts on a regular basis. This is for the controlling
of the distribution of our "support" email address.
In the past I just created a "alias.bas" file to hold the bulk of our
aliases and then 3 "support" alias files, alias.wkd, alias.evn and
alias.wed (for weekday, evening