not sent to list ... sorry
 
feky
 
----- Original Message -----
To: John Yu
Sent: Friday, November 16, 2001 12:05 PM
Subject: Re: Global Forwards

i meant that forwardYYY() method for every globalForward can be in some BaseAction class and all XXXActionBase classes could extend this BaseAction class. That could help to manage all global forward in one class.
 
the other issue is when i draw forward on story board from action to action or page that is global forward i can't say "use global forward" i must create new dynamic forward to target of global forward. in generated class then i got two forwards (global & dynamic) which point to same target.
i hope you understand what i mean.
 
feky
 
----- Original Message -----
From: John Yu
 
Sent: Friday, November 16, 2001 11:38 AM
Subject: Re: Global Forwards

Feky,

If I haven't misunderstood what you said, Camino does these already.

Each generated XXXActionBase class will have a forwardYYY() method for every globalForward found in the struts-config.xml file.
e.g. If you take a look at the Horoscope tutorial, you will see every XXXActionBase class has a forwardExit() method as there's a globalForward called "exit".


At 11:02 am 16-11-2001 +0100, you wrote:
is it possible to forward from action to global forward ? now i can only create dynamic forward from action to target of global forwards.
 
and what about some abstract base class with all global forwards which will all Base classes extending ? i like that forwardXXX a lot ;]
 
feky

--
John Yu                       Scioworks Technologies
e: [EMAIL PROTECTED]         w: +(65) 873 5989
w: http://www.scioworks.com   m: +(65) 9782 9610

Scioworks Camino - "Rapid WebApp Assembly for Struts"

Reply via email to