about frameset and frame tag in layout

G

Guo Yangguang

Hello:
I have used <frameset>and<frame> tags in my store.rhtml which
conrresponds to store controller,the code fragment like this :

<html>
<head>
<title>
</title>
</head>
<body>
<frameset>
<frame src=?>
</frame>
</frameset>
</body>
</html>

but i do not know how to embed my action_view in this layout.For
example,to display index.rhtml,i set the value: "/store/index.rhtml" or
"<%=@content_for_layout%>" for the <frame> tag`s attribute:src,but i can
not display the index.rhtml in the store layout.
Who can help me?I have posted my question in rails forum,but did
not get answer.
Thank you !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,269
Messages
2,571,348
Members
48,026
Latest member
ArnulfoCat

Latest Threads

Top