hi,
I defined a layout, which includes two navigation and a screen, one
navigation is just pure html codes, the other has relative java file. I
found the screen is executed before the navigation, but the
doBuildTemplate() methods in latter navigation and screen are executed
twice. If I remove the latter navigation from the layout, that method is
only executed once. If I remove the screen from the layout, the screen is
still excuted though it didn't display, and the execution time is still two.
so Could you tell me the processing flow to display page. I think that is
Page, Action, Layout, Screen, Navigation from the Specification, right?
but it seems the Screen and Navigation are also executed before Layout. Then
the process would be Page, Action, default Layout, Screen, Navigation,
Layout, Screen, Navigation. Could you give me any comments on the processing
flow.

The Navigation line in Layout is:
$navigation.setTemplate("something.vm"), is that the right way to use
Navigation.

Regars

lvjin




----- Original Message -----
From: "Roall Lein-Killi" <[EMAIL PROTECTED]>
To: "Turbine" <[EMAIL PROTECTED]>
Sent: Monday, January 08, 2001 10:59 PM
Subject: Re: parameters lost


> Then I can't help you without some more info
>
> On Monday 08 January 2001 10:26, you wrote:
> > the doBuildTemplate() method in Screen java class is excuted twice
>
> >
> > > On Sunday 07 January 2001 10:20, you wrote:
> > > > Sorry for a mistake. The parameters don't lost.
> > > > but I really found the screen java class are excuted twice, who can
> > > > tell
> >
> > me
> >
> > > > why?
> > >
> > > which method(s) are called twice ?
> > >
> > > The getLayout method is executed by page to find out whitch layout to
> >
> > execute
> >
> > > and doBuild is then executed by the layout
> > > This makes 2
> > >
> > > killi
> > >
> > > > lvjin
> > > >
> >
> > > >
> > > > > hi, all
> > > > >     I found when a layout include a navigation and a screen, the
> > > >
> > > > navigation
> > > >
> > > > > is excuted first, but both will call the same java class, the
> >
> > parameters
> >
> > > > to
> > > >
> > > > > that page will be get in the navigation, then they'll be thrown,
the
> > > >
> > > > screen
> > > >
> > > > > will never get the parameters, but I think these parameters should
be
> > > > > used in the screen, so I have to do some extra things to keep the
> >
> > values
> >
> > > > > in session. The session have to keep too many values, it doesn't
make
> > > > > sense, What do you think of this?
> > > > >
> > > > > Regards
> > > > >
> > > > > lvjin
> > > > >
> > > > >
>
> --
> Penguins are nice animals -
> if you get to know them!
>
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>
>



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to