Forum: Ruby on Rails using variables as FRAME links

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jason (Guest)
on 2008-11-24 19:13
(Received via mailing list)
I have a main page that calls a sub page (see code below) and in the
controller I just set link1, link2, and link3 to be some hard coded
test pages, but when i view the frames page below all the frames are
empty. If I move the hard code links into the place of link1,2,3 then
it works fine, but i want to use variables as I want the frames to
display different things depentent on user variables. Does this make
sense? Thanks


<frameset cols="33%,33%,33%">

   <frame src="<%= @link1 %>">
   <frame src="<%= @link2 %>">
   <frame src="<%= @link3 %>">

      <body>Frames Not Supported</body>


This topic is locked and can not be replied to.