Displaying 20 results from an estimated 80000 matches similar to: "link to rhtml page from html"
2006 Nov 04
1
trouble linking from the html page to a rhtml page
Hi,
I am having trouble linking from the html page to a rhtml page.
Any suggestions will be greatly appreciated.
JIm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060824/b197ad2b/attachment-0001.html
2006 Nov 04
0
link first page html to other rhtml
I want to have a page that will be the table of contents. I will access this page with
http//localhost:3000. It will contain the table of contents. This toc will point to the pages created by the rails such as the show.rhtml. I am having problems defining the link in the table of contents.
Thanks for any help!
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 May 05
1
create a report page with 3 tables involved?
Hi,
I am learning Radrails and want to tie the web project all together by displaying 3 tables linked together.
I want to select one item from the main table, and then link to the other two tables. they will be linked by the key of the first table.
It seems that I should create a rhtml in a main table or should I just copy the list.rhtml created by the generator scaffold?
I might not make any
2006 Aug 19
1
if starting index is html?
Hi,
Is the index.html file in public folder is the first page the user would see when he browses to my web site? How do I direct him to the other pagesif they are rhtml.
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060819/466adf68/attachment.html
2006 Jun 02
1
controller instance methods available in rhtml?
In rhtml, you have access to controller. I am trying to set an instance var
in my controller, then retrieve it in my form display. I know I could do
this through one of the hashes I have access to, but I''m trying to
understand why I can''t do it this way.
No matter what, when I try to output from my rhtml either
<%= controller.whynot || ''Unknown'' %> or
2006 Jan 05
0
Re: html generated from scaffold
On Jan 5, 2006, at 9:02 AM, Jim wrote:
>
> Question 1: In a scaffold-generated view, wouldn''t it be better to
> generate more user friendly rhtml and code? I mean, it generates a
> loop
> that goes through each column in the database table and generates html
> table columns from these. I''m sure it''s very efficient and has
> hyper-ruby-coolness,
2006 Mar 28
2
Homepage as index.rhtml, not index.html?
Hi all,
I''m building my first Rails app. Please forgive my ignorance as I get
acquainted with the technology.
What I''d like to do is have a form that the scaffolding created for me
appear on my home page. It''s just one text field, a submit button, and
some error messages.
I first tried to copy the code from the new.rhtml view into the homepage
(index.html), then
2006 Apr 15
1
is it allowed to mix .rhtml and .html
I want to use RoR to perform a simple search function on my site that
contains a lot of (static) .html pages.
Can I mix .rhtml and .html pages on the site? The search box would be on
.rhtml and a rail controller would redirect to the right .html page
Thanks,
Ted
--
Posted via http://www.ruby-forum.com/.
2006 Apr 26
3
Setting focus in a rhtml view
How do I set focus on a specific form field when I render a partial from the controller?
I can do it with page[''name''].focus from an RJS view, but I can''t figure out how to do it when rendering this rhtml partial from the controller.
I''m rendering a partial with two fields and neither one has focus until I hit the tab key or put the cursor in a field with the
2008 Jul 23
2
difference between html.hi to evererb &rhtml
hi to everyone whats the difference between html.erb & rhtml
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this
2006 Apr 19
3
include contents of one rhtml in another
Hi
I have a rhtml documment in views/account/login.rhtml
I want to include the contents of login.rhtml in
views/welcome/index.rhtml
any suggestions on how this can be done?
Thanks
Scott
--
Posted via http://www.ruby-forum.com/.
2005 Dec 30
3
Too many columns for list.rhtml to display on one page
I''ve gone once through the Agile book and am now attempting my own rails
app. I''ve created a table named ''volunteers'' with over 15 columns. The
problem is the default list.rhtml that is created with the scaffold,
shows all the columns. I only want to show 4 of them with the list
view.
Where would I start to only return a handfull of columns to the
2006 Jul 05
0
MasterView rails-optimized (x)html friendly template engine - Release 0.2.3
MasterView is a rails-optimized (x)html friendly template engine plugin that
provides another option to the existing rails view templates (rhtml and
rxml). The main idea is to provide a template engine that would provide all
the power of layouts, partials, and rails helpers but still be
editable/styleable in a WYSIWYG editor. It was also a major goal that the
syntax of these attribute directives
2006 Sep 28
2
RHTML page not rendering properly
I''ve got a weired problem. I got a RHTML page which is not rendered
properly in the browser all other pages in my app do renders correctly.
Only this one page returns the page''s HTML with the following header
Content-Type: text/html
Set-Cookie: _session_id=cb3c140fd4ef907c99ef203a053fba1a; path=/
Status: 200 OK
Cache-Control: no-cache
<html>
.....................
2006 Apr 17
2
Refreshing RHTML page with previously posted data?
All,
After a POST, I want to be able to redisplay a view with the data that
was previously entered when my controller action notices a validation
failure and calls render on the view that does the submit.
Example:
View x.rhtml - text field is filled in
Call controller action
Controller action fails validation calls render (:action => ''x'')
x.rthml shows up with blank text
2006 Apr 29
1
can i alter the _form.rhtml without have troubles to validat
hello my name is reynaldo
and i have a problem
i alter the _form.rhtml to display a select option in the place a simple
text_box, and the application work very well, but in the moment that i
apply a validation in the model i get a error.
the code is the next
in the controller:
def new
@catelemento = Catelemento.new
@komandancias = Catcomandancia.find(:all)
end
in the
2006 Aug 02
3
controller methods for app/views/A/B.rhtml
If I want to call A/B, can I call a corresponding controller action for
it?
Like with app/views/A.rhtml, I can it will call the method A in the
controller file.
But with A/B.rhtml, I cant do def A/B.
--
Posted via http://www.ruby-forum.com/.
2006 Sep 07
0
why scaffold.rhtml?
Hi,
I am using a tutorial "Riding the Rails" and it creates a file "scaffold.rhtml".
when I run scaffold I don''t find any scaffold.rhtml!
Why?
Do I not have something. I get the CRUD.
Thanks in advance
Jim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2006 Mar 10
2
Syntax for <input type=hidden> in rhtml????
Hi,
I am new to ROR. PLease tell me what is syntax of creating hidden field
in form inside RHTML file. I knonw the syntax for text box (<%=
text_field ''product_item'',''product_id'', :value=>product.id%>)
But I don''t know syntax for hidden field(like <input type=hidden> in
HTML).
Please tell me.
Thanx in advance.
Prash
--
Posted via
2006 Aug 17
2
RJS - slower than normal RHTML?
I know that isn''t supposed to be the case, and it usually isn''t, but
today, I''ve run across a situation where rendering the same partial
through RJS is taking about 5 times longer than rendering the partial in
the RHTML.
I have in my main RHTML
<tbody id="account_transactions">
<%= render :partial =>