Hello Elena,

This works for me.

Html file:

<html>

<head>
<title>Frame test</title>
</head>

<frameset cols="205,*" framespacing="0" border="0" frameborder="0">
<frame jwcid="Page1" name="contents" target="main"  marginwidth="0"
marginheight="0" scrolling="no" />
<frame jwcid="Page2" name="main" src="main.asp" marginwidth="0"
marginheight="0" scrolling="auto" />
<noframes>
<body style="margin : 0% 0% 0% 0%;">
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>

</html>


JWC file:

<specification class="net.sf.tapestry.html.BasePage"
allow-body="no"allow-informal-parameters="yes">

 <component id="Page1" type="Frame">
  <static-binding name="page">Page1</static-binding>
 </component>

 <component id="Page2" type="Frame">
  <static-binding name="page">Page1</static-binding>
 </component>

</specification>


You got to have Page1, Page2 and the Frame page defined in your application
file.
HTH,

Luis Neves




len wrote:

> Dear Developers and Users!
> How to use a component frame?
>
>
> In the documentation I had attempt to find that:
> Frame
> Provides the <frame> element within a <frameset>.
> Parameters
> page
>
> The name of the page to display in the frame.
>
>
> I very much need in an example.
> How to use frame with tapestry?Please, advise!
> Elena.



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to