You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Vitaliy Ryumshyn <ru...@web.de> on 2003/12/03 09:37:19 UTC

Frame component problem

Hi
I tried to use @Frame component but it does not work by me. No errors or messages,in log file  I see that PageLoader loads all pages but
in result main page (with frameset) has no frame.

Snapshot from result rendered page:

<frameset cols="70%,30%" frameborder="YES" border="1" framespacing="5">
<frame src="/tspd/app?service=page/TsResultFrameLeft" scrolling="AUTO"/>
<frame src="/tspd/app?service=page/TsResultFrameRight" scrolling="AUTO"/>
</frameset>

Why it did not include these pages?
Could anyone give me some example of using this component?

PS. Version 3.0b3

 Thank you in advance.,
Vitali

Re: Frame component problem

Posted by Vitaliy Ryumshyn <ru...@web.de>.
Hi, Thank you for the example, now it works.
But I have another problem: How I can bind some parameters/properties in
pages that will be
loaded with page that has frameset.

for example I have a central page with frameset

<frameset cols="70%,30%" frameborder="YES" border="1" framespacing="5">
 <jwcid="@Frame" page="TsResultFrameLeft" scrolling="AUTO"/>
 <jwcid="@Frame" page="TsResultFrameRight" scrolling="AUTO"/>
</frameset>

this page has property "inputData" and pages that loaded by @Frame component
have such properties, I want to bind them. But I do not know how...Using
Visit object is not suitable for me. Is there another approach for it?

Thank you, Vitali

----- Original Message ----- 
From: "Simon Raveh" <si...@nominum.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Wednesday, December 03, 2003 7:34 PM
Subject: Re: Frame component problem


> Vitaliy Ryumshyn wrote:
>
> >Hi
> >I tried to use @Frame component but it does not work by me. No errors or
messages,in log file  I see that PageLoader loads all pages but
> >in result main page (with frameset) has no frame.
> >
> >Snapshot from result rendered page:
> >
> ><frameset cols="70%,30%" frameborder="YES" border="1" framespacing="5">
> ><frame src="/tspd/app?service=page/TsResultFrameLeft" scrolling="AUTO"/>
> ><frame src="/tspd/app?service=page/TsResultFrameRight" scrolling="AUTO"/>
> ></frameset>
> >
> >Why it did not include these pages?
> >Could anyone give me some example of using this component?
> >
> >PS. Version 3.0b3
> >
> > Thank you in advance.,
> >Vitali
> >
> >
> >
> Here is an example of using frame
>
> <frameset rows="83,*,128" cols="*">
>       <frame name="topFrame" src="Border.html" noresize scrolling="no"
> jwcid="topFrame@Frame" page="TopFrame" />
>       <frameset cols="190,*,300" rows="*">
>               <frame name="leftFrame" src="ContextViewerPage.html"
> scrolling="yes" jwcid="leftFrame@Frame"    page="ContextViewerPage" />
>              <frame scrolling="yes"  name="mainFrame"
> src="AddressBlockPage.html"  jwcid="mainFrame@Frame"
> page="AddressBlockPage" />
>               <frame scrolling="yes"  name="detailFrame"
> src="DetailFramePage.html"   jwcid="detailFrame@Frame"
> page="DetailFramePage"/>
>         </frameset>
>           <frame src="EventFrame.html" noresize scrolling="no" />
>     </frameset>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Frame component problem

Posted by Simon Raveh <si...@nominum.com>.
Vitaliy Ryumshyn wrote:

>Hi
>I tried to use @Frame component but it does not work by me. No errors or messages,in log file  I see that PageLoader loads all pages but
>in result main page (with frameset) has no frame.
>
>Snapshot from result rendered page:
>
><frameset cols="70%,30%" frameborder="YES" border="1" framespacing="5">
><frame src="/tspd/app?service=page/TsResultFrameLeft" scrolling="AUTO"/>
><frame src="/tspd/app?service=page/TsResultFrameRight" scrolling="AUTO"/>
></frameset>
>
>Why it did not include these pages?
>Could anyone give me some example of using this component?
>
>PS. Version 3.0b3
>
> Thank you in advance.,
>Vitali
>
>  
>
Here is an example of using frame

<frameset rows="83,*,128" cols="*">
      <frame name="topFrame" src="Border.html" noresize scrolling="no" 
jwcid="topFrame@Frame" page="TopFrame" />
      <frameset cols="190,*,300" rows="*">
              <frame name="leftFrame" src="ContextViewerPage.html" 
scrolling="yes" jwcid="leftFrame@Frame"    page="ContextViewerPage" />
             <frame scrolling="yes"  name="mainFrame"   
src="AddressBlockPage.html"  jwcid="mainFrame@Frame"  
page="AddressBlockPage" />
              <frame scrolling="yes"  name="detailFrame" 
src="DetailFramePage.html"   jwcid="detailFrame@Frame" 
page="DetailFramePage"/>
        </frameset>
          <frame src="EventFrame.html" noresize scrolling="no" />
    </frameset>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org