Re: how to access differenct form ?

2008-12-29 Thread Lukasz Lenart
2008/12/22 shrimpywu :
> in the page, i want to create a jspf for menu, and all the page just need to
> include it.
> but for different page, the form is different, how can i read the same value
> from different form?\

Base all your form classes on the same base SuperActionForm with
fields you need and in that SuperAction cast ActionForm to that
SuperActionForm.


Regards
-- 
Lukasz
http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



how to access differenct form ?

2008-12-22 Thread shrimpywu

for all the action form, i create a super class for them, and contain some
info that i want to show onto page, suppose the menu, in the super class, i
got an variable say  : private Menu menu,

in the page, i want to create a jspf for menu, and all the page just need to
include it.
but for different page, the form is different, how can i read the same value
from different form?\


I am using struts 1.39.

Kind Thanks.
-- 
View this message in context: 
http://www.nabble.com/how-to-access-differenct-form---tp21136054p21136054.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org