Displaying 20 results from an estimated 100000 matches similar to: "table builder?"
2006 Jul 16
0
Captcha Fun
Hello,
I am trying to integrate a captcha into a form that is used to update a
database. I am using a method that is outlined here:
http://svn.2750flesk.com/validates_captcha/trunk/README, but things are not
working correctly. The captcha image shows up in the user form, but the
captcha input is being ignored. The following shows my controller file:
class PublicController <
2007 May 15
1
Effect.dropout and Too Much Recursion Error
Hi,
I need some help again. :-)
I have "Too much recursion error" prototype.js line 1288,
I heve this error when I try to use Effect.dropout (script.aculo.us)
if I remove table ID, there is no error, and the effect works fine
(remove the tr from table)
But I need this ID assign to this table, as table ID is used by other
effect (Builder.node)
Please help ....
Thanks
YUAN
Here is
2006 Aug 14
4
Updating a table with Ajax
I''ve been banging my head against the wall trying to update a table
(add/delete rows) using Ajax. It seems simple enough but just doesn''t work
for me. I can get it to work using DIVs instead of a table, but doing the
layout with DIVs is much more cumbersome and I know it works for others with
a table (though I haven''t been able to find an exact example code anywhere).
2006 Jul 23
2
[OT] Ajax design question - breaking a table with text...
Hello everyone,
I''ve got a table of data that looks like the following:
...
<tr>
<td>Field 1</td>
<td>Field 2</td>
<td><%= link_to "Info about Field 1", ... %></td>
<td><%= link_to "Info about Field 2", ... %></td>
</tr>
I''d like the user to be able to click on "Info about
2010 Apr 12
3
$(link).previous("input[type=hidden]") is undefined
I am getting this error when trying to use the remove link explained
in the Railscast:
http://railscasts.com/episodes/197-nested-model-form-part-2
error:
$(link).previous("input[type=hidden]") is undefined
remove_fields()applic...1065175 (line 6)
function onclick(event) { remove_fields(this); return false; }()1
(line 2)
[Break on this error]
2006 Jan 05
2
help - edit without using scaffold
Hello,
What am I doing wrong? The code below does not show the current record for editing.
def edit
@user = User.find(params[:id])
end
def update
@user = User.find(params[:id])
if @user.update_attributes(params[:user])
flash[:notice] = ''User was successfully updated.''
redirect_to :action => ''show'', :id => @user
else
render :action
2010 Oct 19
0
Ajax & Table Display Filtering based on Selected Option
My scenario:
On a department''s products page (index.js.rjs), there is a table
showing the products with their id, name, category. The view of this
table is specified by a partial file called _index.html.erb. I''m
going to add in a selection/option drop down menu above the table to
show all the product categories. When the user selects a category
from the drop down menu, Ajax
2006 Jan 21
5
How do you deal with non-model property form values
I have a User ActiveRecord model that has email and password properties. I
want to build a login for that has a "remember me" option. My view looks
like this:
<% @page_title = "Login" -%>
<%= error_messages_for ''user'' %>
<%= form_tag %>
<table>
<tr>
<td align="right" width="1%"
2006 Jan 16
8
AJAX + Table.
Hello all.
I am trying ot load table rows using AJAX based on a search. The
following code results in:
1. Firefox renders correctly (Multiple rows inserted into page).
2. Opera renders the entire returned string in one <td> by the looks of
it (Bunched up under first header, the <> tags arne''t visible)
3. IE6 does nothing....great ;)
This is driving me nuts so any help
2006 Jan 19
0
file_column error: tmp file created but not actual
Hi
When I submit the form with field_column, the actual
image is not
uploaded, only temp files are crreated and I dont see
actual file created and the image file name is not in
the database and get "fieldWithErrors". Then if
submit again, the actual file in created and an
database record is generated.
Here is the log file. I print @params and @wallpaper.
I find the following:
1st
2010 Jul 09
2
Template is missing.... but it is there!
Hello friends!
I have an application to list different kinds of institution names. So
I have one table "instits" for the institutions and another table
"nome_instits" for their names. For test, I put two rows inside
"instits" and three names for the first institution and two names for
the last. Then I created this controller:
class ServInstitController <
2006 Feb 22
0
Need help getting value from text_field_with_autocomplete
Good day.
I have setup of a text field with auto complete and I need to grab the value
from that text field and pass it into a method to update a row in a table.
Here is the view:
<tr>
<td align="center" colspan="6"><%= text_field_with_auto_complete(
:product, :product_code ) %></td>
</tr>
<tr>
<td
2006 Mar 08
4
ajax with tables
There may be an easy solution, but I just can''t seem to get this to work...
I''m using tables for part of my site, as they contain a lot of rows and
columns full of financial data, so just working with div''s and dd''s... etc,
won''t do.
My table structure is pretty simple, as follows:
=================
<table id="items">
<tr>
2006 Jul 21
1
How to dynamically add more rows and submit data
Let''s assume that I am trying to build an application where the user can
enter invoice.
In the app the user can add lines items. Each line item has decription,
date, rate and hours.
When the invoice screen comes up the first time I have one blank row for the
line items.
<tr>
<th>Description</th>
<th>Date</th>
2017 Nov 21
0
[PATCH] builder: planner: Don't add some impossible transitions.
Certain transitions where the input and output filename are the same
are impossible, eg copying a file to itself. Don't add these.
Reported-by: David Kaylor.
---
builder/builder.ml | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/builder/builder.ml b/builder/builder.ml
index a4c830e89..843106a86 100644
--- a/builder/builder.ml
+++
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 18
6
RJS - Insert at top of table?
Quick question regarding RJS and inserting to the top of a table. Here''s
the view I''m working with:
<table id="links-list">
<tr>
<th>Display title</th>
<th>URL</th>
<th>Description</th>
<th>Category</th>
</tr>
<% for link in @links %>
<tr id="link-<%= h link.id
2006 Apr 23
3
custom form builder
In the API docs I found this:
"You can also build forms using a customized FormBuilder class. Subclass
FormBuilder and override or define some more helpers, then use your
custom builder "
I couldn''t find any further documentation on this. Where can I read more
about this formbuilder class? For starters, where would I define a
subclass of this class?
TIA,
Jeroen
--
2007 Mar 21
0
using ''_.'' to indicate table headers doesn''t work in SRC v1.160
I''m using" superredcloth (1.160)
Using ''_.'' to indicate table headers doesn''t work:
$ irb
irb(main):001:0> require ''superredcloth''
=> true
irb(main):005:0> SuperRedCloth.new("|_. name |_. age |_. sex |\n|
joan | 24 | f |\n| archie | 29 | m |\n| bella | 45 | f |\n").to_html
=>
2008 Oct 07
6
Hpricot loop question to read table row values
Hi.
I''ve got a file that contains a table that looks like this:
<table>
<tr><td>column title a</td><td>column title b</td></tr>
<tr><td>row 1 a</td><td>row 1 b</td></tr>
<tr><td>row 2 a</td><td>row 2 b</td></tr>
<tr><td>row 3 a</td><td>row 3