Displaying 20 results from an estimated 500 matches similar to: "The CentOS-Plus kernel"
2006 Jan 02
9
Generating nice tables
Making tables in templates is pretty easy, except for one minor problem.
They tend to be fairly ugly.
If you have a model with three attributes, it''s very easy to create an
html table that looks like this..
Col1 Col2 Col3
A B D
A B E
A C F
A C G
Which becomes difficult to read when you have a lot of repeated data.
What I would really like to generate
2008 Apr 01
1
Navigation Problems
Hi,
I am having problems with my page. I have a banner and navigation bar in
controller_name.rhtml in app/views/layout. Can someone please help?
Thanks
In the navigation bar, I have the following links:
Category1
Sub-Category1
Sub-Category2
Sub-Category3
Sub-Category4
Sub-Category5
Sub-Category6
In the main content, I have the following links:
Sub-Category1 edit delete
2008 May 23
1
Colspan & rowspan
Hi,
What's the best way to build tables with multiple sets of column/row
headings, each spanning 1 or more cols/rows, similar to the colspan/
rowspan options in HTML.
I am using Sweave but couldn't find an option to do this in xtable. I
can obviously build it by hand, just wanted to make sure there wasn't
an easier way.
Thanks.
2002 Aug 17
1
ͨÓÃÍøÖ·-----Ö±½ÓÊäÈëÆóÒµ¡¢²úÆ·¡¢ÍøÕ¾µÄÃû³Æ£¬¼´¿ÉÖ±´ïÄ¿±êÍøÕ¾
Èç¹û±¾Óʼþ¸øÄã´øÀ´Á˲»±ã£¬ÎÒÃÇÉî¸Ð±§Ç¸£¬ÇëÁ¢¼´°ÑËüɾ³ý£¬
²¢À´ÐÅ˵Ã÷£¬ÎÒÃǽ«²»»áÔٴδòÈÅ¡£
ͨÓÃÍøÖ·-----Ö±½ÓÊäÈëÆóÒµ¡¢²úÆ·¡¢ÍøÕ¾µÄÃû³Æ£¬¼´¿ÉÖ±´ïÄ¿±êÍøÕ¾.ÎÞÐè¼ÇÒ临ÔÓ
µÄÓòÃû¡¢ÍøÖ·£¬ÎÞÐèhttp://¡¢www ¡¢.com¡¢.netµÈǰºó׺ ÊǼÌIP¡¢ÓòÃûÖ®ºó£¬×îÏÈ
½ø¡¢×î¿ì½Ý¡¢×î·½±ãµÄµÚÈý´ú»¥ÁªÍø·ÃÎʱê×¼ ¡£ÔÊÐí¸öÈË×¢²á£¬¿ª·Å
ͨÓôʻã×¢²á²¢¿É×ÔÓÉתÈã¬ÉÌ»úÎÞÏÞ£¡¡°Í¨ÓÃÍøÖ·¡±ÔÚÏß×¢²á£¬Ãâ·ÑÊÔÓÃÊ®Ì죬24
2005 Dec 29
3
Post problem with select lists
hey,
i have this problem
how come i always get -1 for the select list??
rhtml
First, select a client.
<select id="client_id" name="client[id]" onChange="submit();" >
<%= options_for_select(@client_options, @client_id.to_i) %>
</select><%= @client_id %>
controller
if @request.post?
if @request.xml_http_request? #called by ajax,
2005 Dec 31
2
Validation errors not displaying and will not save
Hello all,
I''m fairly new to rails so I''m probably doing something really stupid
here.... I have been banging my head at this for hrs now... I''ve tried
so many different things and nothing seems to get me any further...
I am trying to create an image uploading page that will simultaneously
create thumbnails to separate file directories and update the database
via
2006 Mar 20
2
Rails Plugin to Help Debug Views
Hi,
I just released a plugin to help debug views. The plugin makes it easy
to add a button that will popup a new window that displays the
following debug data;
* Request Parameters
* Session Variables
* Flash Variables
* Assigned Template Variables
It was derived from code that traces back to Marten Veldthuis in
Epilog. You can check out webpage and plugin via;
2006 Mar 03
7
Best Practices question regarding views & controllers
Hi List!
I''m reading the Agile book, as many online articles as I can, but
there''s still some things that are just too hard to answer for yourself.
In building my application, I often find myself putting code into my
views of which I am not quite certain it belongs there.
Where do you usually draw the line? Is it okay to, say, loop through an
array of hashes that represents
2008 Aug 27
5
VALIDATION QUESTION
I''m trying to validate a record before save. I''m using one controller
in this case furnii where I have all my calls. The problem is that, the
form containing the field I''m trying to validate resides in the furnii
views. I tried to add validates_presence_of :content (the field name) in
both the furnii model and the ratecomment model but it does not work. I
know there
2006 Mar 01
9
ajax doesn''t show at the right place
Hi,
I use link_to_remote to create a link to trigger an
ajax, things work fine, a new rhtml is created,
however, the newly created rhtml doesn''t replace my
old zone, it shows instead on top of my old
zone...Does someone know why???
my code is like
<table>
<tr><td colspan="2"><a href="#" onclick="new
Ajax.Updater(''zone1'',
2008 May 28
15
Help with output
I am having problems trying to get the output to work in an
application I have. Here is the example
THIS GIVES ME THE CORRECT VALUES
<!-- ######## Flooring ######### -->
<% if(params[:flooring]) %>
<tr><td colspan="4"><h2>Flooring</h2></td></tr>
<% for company in @companies
2006 Jun 23
5
how can i alter the validations error messages.
hello
my name is reynaldo
my question is the next.
i want change the text of the validations error messages generated by
ruby when you don''t wrote properly the data in the form.
--
Posted via http://www.ruby-forum.com/.
2006 Feb 12
3
AJAX to a table row
Hello-
I''d like to throw a little AJAX into a table to allow the user to edit a
single row of data inline rather than moving to another page.
The row (which has N columns) would be swapped out for a row which has a
single column (colspan="N") and the form inputs would be in that row.
My question is, is this legal HTML? I can''t find anything that says
either way.
2006 Jul 10
17
Effect.SlideDown/Up() and HTML issues
Hello,
I''m hoping this is the right place to ask these kind of questions. If not,
please excuse me. Anyway, the problem I''m having is that I have a HTML table
showing some tabular data and I want to use Effect.SlideDown/Up to allow the
user to interactively show "details" for each item (<tr><td> etc) in that
list.
I''ll do some pseudo-code for
2006 Jun 13
1
How to give conditions in rails
Hi, I have Holiday table. the fileds are id,holiday_date,description. i
added new records and list them also. when i listed all the records in
the database are listed but i want to list only one particular year
records. my holiday_list.rhtml page is as follows
<%= stylesheet_link_tag "common", :media => "all" %>
<%= error_messages_for ''holiday''
2007 Dec 27
1
encoding question again
Hi, R Devils,
I'm running the actual R version in JGR (version 1.5-8 ). Sys.getlocale(category = "LC_ALL") yields
[1] "LC_COLLATE=German_Germany.1252;LC_CTYPE=German_Germany.1252;LC_MONETARY=German_Germany.1252;LC_NUMERIC=C;LC_TIME=German_Germany.1252"
I want to write some HTML-Code enhanced by statistical results and labels encoded in Latin-1, which I pass to a function.
2006 Jun 04
3
Ajax table does not update
I have two models: Child and Day. A Child has many days, and a day
belongs to a child.
I want to create ana ajax table listing the children and, after pressing
a button, I want to show the days that belong to that child.
Here is my code:
(list.rhtml)
<table>
<tr>
...
<td><%= link_to ''Days'', :action => ''show_days'', :id =>
2014 Apr 18
2
On of mirrors doesn't work properly
Hello!
curl 'http://64.235.47.134/?release=6&arch=x86_64&repo=os'
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Index of /</title>
</head>
<body>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>CentOS
2008 Dec 08
4
Removing string's accents
Hi, I''m pretty sure to have seen a new method ''remove_accents'' in Rails
2.2 but I can''t find it again. Is it me or does this method exists for
good ?
Thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2006 Mar 09
1
Rails File Upload w/ Ajax Update?
I''m trying to upload a file, display the upload progress and then
update a table with the newly uploaded file. Is there a way to
specify a :success handler for form_tag_with_upload_progress such that
I have access to the request.response data (in the way I can with
link_to_remote)?
The :finish JavaScript is being executed but because there is no
request object, the table