Displaying 7 results from an estimated 7 matches for "textvalue".
Did you mean:
extvalue
2006 Apr 20
1
Rails is losing key information
...-----------
ID PARENT_ID PRESENTATION_ID
14 1 43
SEQ POINTS TIME_ALLOWED
6 0 [null]
TIP_PRESENTATION_ID EXPLANATION_PRESENTATION_ID
44 43
----------------------------------
Firebird DDL:
----------------------------------
create table presentations
(
ID INTEGER not null primary key,
textvalue varchar (1024),
audio varchar (1024),
visual varchar (1024)
);
create table quizzes
(
ID INTEGER not null primary key,
name varchar (255) not null,
preamble_presentation_id INTEGER references presentations(ID),
postamble_presentation_id INTEGER references presentations(ID)
);
creat...
2006 Mar 15
8
Tags to ruby interface: What I am missing? (repost)
I offer my apologies in advance for the repost. On a list as busy as
this, it is sometimes easy to get missed in the shuffle.
I am trying to create, display and edit a referenced object''s text field
on the same view as my root object.
For example:
-------------------------
Quiz: <<quiz.name>>
Preamble: <<quiz.preamble_presentation.text>>
Postamble:
2006 Jul 14
3
Rails newbie: How does the submit_tag work?
...ipt - -->
</SCRIPT>
<h1><%= @quizrun.quiz.name %></h1>
<h2><%= @quizrun.user.name %></h2>
<table>
<tr><td><h3>Question <%= @question.seq %></h3></td></tr>
<tr><td><%= @question.presentation.textvalue %></td></tr>
</table>
<table cellpadding="3" cellspacing="0" id="answersTable">
<thead>
<tr>
<td></td>
<td>Check</td>
<td></td>
<td>Possible Answers</td&g...
2006 May 14
3
need help for simple form tag (noob)
when the user click on "Search" I would like it to point to
http://curentpage/?filter=searchtext (the filtering code is already
written)
it would look like this:
<%= start_form_tag(url_for_options = {<something>}) %>
<%=text_field (<my_filter>) %>
<%= submit_tag(value = "Search")%>
any idea how to do this?
thanx in advance
2006 Apr 01
0
Okay, what gives? find_by_id is failing.
...n.new
aParent = Quiz.find_by_id(params[:parent_quiz])
STDOUT.print("\r\n------------------------------\r\n")
STDOUT.print("Parent = ",aParent,"\r\n")
@question.parent = aParent
@question.presentation = Presentations.new
@question.presentation.textvalue = @params
[:question][:presentation][:textvalue]
STDOUT.print("\r\n------------------------------\r\n")
STDOUT.print("Parent should be = ",params[:parent_quiz],"\r\n")
-- *** Blows up here ***
STDOUT.print("Parent = ",@question.parent.id.to_str,&q...
2006 Jun 03
12
How to get dynamically created inputs from html form back to rails app
Thank you in advance.
Although I have many years of experience in general, including cross-
platform processing, I am not an HTML/Javascript programmer. As a
result, I do not have certain specific baseline skills and/or knowledge
that are presumed in the Rails and Ajax documentation.
I am experienced with DOM manipulations, so the bare mechanics of
manipulating the browser GUI via Javascript
2006 Apr 02
2
"Quiz" site
Hi,
I am thinking about how to best design a quiz site in RoR. I think it
should be fairly easy, but have run into a wall. In the simplest form,
the view would grab all of the questions for a particular quiz and
display them (e.g. multiple choice, so 4 option buttons per question).
However, I can''t figure out how to "mark" the quiz. The form is
submitted to the