I have checked Jetspeed, they provide such kind of functions. But I think
they are not using WebMacro, but Cocoon. Can any body give me some advise,
if I using WebMacro, this is the right way to realize the function?
----- Original Message -----
From: "Leon Messerschmidt" <[EMAIL PROTECTED]>
To: "Turbine" <[EMAIL PROTECTED]>
Sent: Wednesday, August 02, 2000 3:57 AM
Subject: Re: discuss about integrade several *.wm file into one page
> Maybe you want to take a look at Jetspeed.
>
> ----- Original Message -----
> From: fanyun <[EMAIL PROTECTED]>
> To: Turbine <[EMAIL PROTECTED]>
> Sent: Tuesday, August 01, 2000 4:34 AM
> Subject: discuss about integrade several *.wm file into one page
>
>
> > Hi,
> >
> > First thanks to Leon. With your help, I am now able to use #parse in
*.wm
> > file.
> >
> > I want such a function in my application:
> >
> > I will write serveral function unit of screens, for example:
> > a.wm for show Recent News.
> > b.wm for show Stock price
> > c.wm for show weather
> > Customer can select which function he need(just like my.yahoo.com). The
> > setting will be record in Database.
> >
> >
> >
> > Here is my solution:
> >
> > 1. create a show.java class. In this class, system will get data of
News,
> > Stock, Weather according to settings
> > if(a)
> > context.put("news", news);
> > if(b)
> > context.put("weather", weather);
> > if(c)
> > context.put("stock", stock);
> > 2. create a show.wm template.
> >
> > #if ($a)
> > #parse "a.wm"
> > #if ($b)
> > #parse "b.wm"
> > #if ($c)
> > #parse "c.wm"
> >
> >
> >
> > What do you think about this. Is it the right way to do the work. Or is
> > there any better solution?
> >
> >
> >
> >
> > Regards
> >
> >
> >
> > fanyun
> >
> >
> >
> >
> > ------------------------------------------------------------
> > 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]
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]