similar to: Scriptaculous insertion fails when XHTML Strict used in FireFox

Displaying 20 results from an estimated 1000 matches similar to: "Scriptaculous insertion fails when XHTML Strict used in FireFox"

2006 Oct 07
1
Request to open up getConnection to embedded interface
Hello all, I would like to request that getConnection() and the struct Rconn declarations be added to the R embedded interface. Here's why. It's common in CGI scripts for web applications to direct stdin, stdout, and stderr map to reading from the browser, writing to the browser, and writing to a web log file respectively; very nice and neat. However, things get a little hairy once
2006 May 09
1
Email -Content type is not set to html
Hi to ROR! I could not change the email content type to text/html What is the problem! order1= Order.find_get_details(params[:ses_value]) #render_text order1.size order=order1[0] email = OrderMailer.create_confirm(order) email.set_content_type("text/html") email = OrderMailer.deliver_confirm(order) email.set_content_type("text/html") Alwas it shows only plain format
2006 May 09
1
Emailcontewnt problem
I ma facing problems regarding the email-set-contentent I am writing the total code for order1= Order.find_get_details(params[:ses_value]) #render_text order1.size order=order1[0] email.set_content_type("text/html") email = OrderMailer.create_confirm(order) email.set_content_type("text/html") email = OrderMailer.deliver_confirm(order) #email =
2007 Dec 20
4
Ruby on Rails mailer
Today I made a first attempt to make use of ruby mailer. A volunteer fills out a form and the information is then sent to an administrator. I generated a mailer called notifier and added the following: class Notifier < ActionMailer::Base def volunteer_signup(volunteer, sent_at = Time.now) @subject = ''A new volunteer has signed up'' @body = { :title =>
2006 Jul 19
4
Rails crashes my fcgid/fastcgi/scgi on apache2/lighttpd :<
Or maybe I crash it and don''t know why. Here is the setup: I have an action that will crash my debian sarge development box using fcgid, fastcgi and scgi running with Apache2, as well as fastcgi running with lighttpd, every time. Here is the action from the controller: ------------------- def crashme @orders = Order.find(:all, :order => "`id` ASC", :offset
2006 Nov 01
2
How to: Individualized mass email with ActiveMailer - separate thread?
Hi, We are building a rails application that''s sort of a CRM + room/course booking. Among other things, it provides a centralized database of all the people the company has been in contact with. We want to provide the possibility of sending customized email messages to groups of contacts, for example a newsletter to 500 people starting with "Hi [:name:]". The naive approach
2006 Mar 10
3
WML sites
Hi all how to make a WML view for rails pages? I''ve tried to create like: <wml> <card> CONTENT </card> </wml> but my phone says unsupported content type... thanks -- Posted via http://www.ruby-forum.com/.
2006 May 17
8
Html Email Problem
Dear Rubyians, I am facing problems to send Html Email scnce one month. I changed the content type is text/html and charecter set "utf-8" I worte the html code in the confirm.heml in the action mailer folder. but mail is going with html code Exapmle: <html border="2"> <tr><td></td></tr></html> code in the confirm .html In the
2006 Aug 07
9
problems with ActionMailer
Hi all, I''m trying to create a worker to send a mail to all the users in my db. Right now I''m doing the tests, this is the code in my worker (Masivo is the ActionMailer subclass): def do_work(args) @progress = 0 @logger.info("MAILER: starting job") records = Record.find(:all) total = records.size records.each_with_index do |record, idx|
2005 Sep 29
0
scriptaculous: Filed Bug #2339: XHTML comments can cause Firefox to throw an error on Sortable.create()
The Wiki page "TheWishList" indicates that bugs should be reported into Trac and to this list. The bug report is here: http://dev.rubyonrails.org/ticket/2339 Description: If there is an XHTML comment in a document at the same level as the elements that are being activated by the Sortable, Firefox 1.0.6 will throw this error: Error: item.id has no properties Source File:
2005 Mar 31
5
Outputting XHTML strict
I''m trying to get a page to validate as XHTML Strict, and I''ve gotten everything fixed except for one <textarea> that Rails is generating. <textarea cols="40" id="estcomment_comment" name="estcomment[comment]" rows="10" wrap="virtual"></textarea> This tag is being called in my view with <%=
2008 Jan 31
3
Handling multiple Check boxes in a XHTML Strict way
Hi, The default way we handle an array of checkboxes is like this: <% items.each do |item| %> <%= check_box_tag ''item[]'', "#{item.id}" %> <% end -%> this returns an array item[] that holds the ids of all the items. Now the real issue: 1. The above loop will same ids to ''n'' items 2. All ids will be ''item[]''
2009 Apr 09
1
Mailing error in Rails 2.3.2
Hi, My mails were working with the earlier version of rails ie. Rails 2.0.2. But recently when i upgraded my environment to 2.3.2 the mails stopped working and gave "Error: End of file reached". But if i send mails independent of my rails app the mailing code works fine. My Environment: Windows Xp Ruby 1.8.7 actionmailer (2.3.2) actionpack (2.3.2) activerecord (2.3.2) activeresource
2006 May 11
1
Doctype -- utf-8 -- html vs xhtml
I was simply trying to write the DOCTYPE line at the top for UTF-8 and got confused. What doctype do I use with rails for utf-8 files? If I put in all the damn closing tags on paragraphs and hr and br and all that will the stuff pass xhml inspection, or will rails insert something I haven'' yet noticed. Warren -------------- next part -------------- An HTML attachment was
2006 Jan 25
2
how to define content charset?
I tried to define koi8-r charset in app/views/layouts/ like this: <head> <meta http-equiv="Content-Type" content="text/html; charset=koi8-r"> <title>Cpu: <%= controller.action_name %></title> <%= stylesheet_link_tag ''scaffold'' %> </head> But it doesn''t work. I suppose WEBrick already sent utf8 charset
2007 May 29
0
specs for ActionMailer
Hi, Email notifications are an important part of my app and I would like to spec them. Here''s what I have going so far. It seems to work. I''d appreciate comments/suggestions. Rails script/generate mailer produces tests for the email contents etc. I''ve started by manually converting the generated unit tests to rspec, and then changing/adding examples as I
2005 Oct 28
6
InPlaceEditor: XHTML validation
It''s not a critical bug by any means, but shouldn''t InPlaceEditor put DIV tags around the INPUT field? From what I can tell on the W3C validator, INPUT has to be in a block-level tag for XHTML. Of course, there are probably a zillion other things that wouldn''t validate, but every little step helps... Corollary question: Anyone know how to see what contexts a tag
2006 Dec 12
10
Scriptaculous loader ... how to clone it?
Hi, I would like to use the system loader as in scriptaculous.js to load dynamicly some of my javascript files. So I copied and pasted the code from scriptaculous.js into my modules.js (this file should load all my js files from the directory "modules" !). But the problem is when I launch my web page, the scriptaculous.js works correctly but not the modules.js. I think the two methods
2006 Mar 30
4
possible scriptaculous bug
I have two sortable lists, one after the other. I can drag from the first to the second but not from the second to the first. The behavior is consistent if n > 2. For example, I can drag from 1 to 2, 3 or 4 from 2 to 3 or 4 and from 3 to 4, but not in the reverse order: I can''t drag from the 4th list to anything (besides itself). From the third list I can drag only to itself and 4.
2006 Jul 19
7
Email Form for Contact Page
Can anyone point me to or provide me with code or a tutorial (preferably a tutorial) for creating simple contact forms where the data is sent over email to a specific email address. I have search all over the internet and there doesn''t see to be anything anywhere. Thanks In Advance, Alex. -- Posted via http://www.ruby-forum.com/.