# About layout containing frame tag

**URL:** <https://www.ruby-forum.com/t/about-layout-containing-frame-tag/117181>\
**Category:** Rails\
**Created:** [October 14, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/about-layout-containing-frame-tag/117181 "2007-10-14T13:25:27Z")\
**Posts on this page:** 2\
**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 14, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/about-layout-containing-frame-tag/117181/1 "2007-10-14T13:25:27Z")

</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?  
Thank you !

---

<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:51pm UTC](https://www.ruby-forum.com/t/about-layout-containing-frame-tag/117181/2 "2007-10-15T12:51:33Z")

</div>

Who can help me? Thank you very much!
