# About frameset and frame tag in layout

**URL:** <https://www.ruby-forum.com/t/about-frameset-and-frame-tag-in-layout/117254>\
**Category:** Ruby\
**Created:** [October 15, 2007, 12:53pm UTC](https://www.ruby-forum.com/t/about-frameset-and-frame-tag-in-layout/117254 "2007-10-15T12:53:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [October 15, 2007, 12:53pm UTC](https://www.ruby-forum.com/t/about-frameset-and-frame-tag-in-layout/117254/1 "2007-10-15T12:53:36Z")

</div>

Hello:  
I have used and 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 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 !
