Ruby on Rails Tuesday, January 1, 2013

On Jan 2, 2013, at 12:33 AM, Anon H. wrote:

> Hello Walter Davis,
> I donot need ant dynamic content processings among the frames. i need to
> display to different independent static views(pages)
> How am i supposed to do that?

Do you understand how to write a frameset page by hand? You can make one in a Rails View, just like any other type of HTML. You'll need to specify that you don't want a template, and you'll need to work out how you want to transfer your various URLs (one per frame) to the frameset page, but that's really just a data-marshalling exercise. Start by writing the frameset you want to end up with as a single HTML file. Make sure it works without Rails. Then start pulling out the very few bits of data you need to use Rails to provide, and figure out what your controller will need to look like to provide those bits. You should be able to walk backwards into having Rails generate the frameset if you start there.

Walter

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment