Re: [S2] Simple forking

2008-07-02 Thread Struts Two
3 PM Subject: Re: [S2] Simple forking Oh, thank you Lukasz. So, I just return string, I don't need to use predefiend Action.SUCCESS, etc. -- Thx, Milan Lukasz Lenart wrote: > >> No, I haven't. But, how do I choose "result1" or "result2" from >>

Re: [S2] Simple forking

2008-07-02 Thread Milan Milanovic
t.org.pl/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-S2--Simple-forking-tp182406

Re: [S2] Simple forking

2008-07-02 Thread Lukasz Lenart
> No, I haven't. But, how do I choose "result1" or "result2" from InputActions' > "save" method ? Base on the result from execute() public String execute() { if (something) { return "result1"; } else { return "result2"; } } Regards -- Lukasz http://www.lenart.org.pl/ ---

Re: [S2] Simple forking

2008-07-02 Thread Milan Milanovic
web browser - no download required. Try the > new Yahoo! Canada Messenger for the Web BETA at > http://ca.messenger.yahoo.com/webmessengerpromo.php > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional c

Re: [S2] Simple forking

2008-07-02 Thread Struts Two
Have you tried:       // First result     /pages/Finish.jsp   // Second result       second   /secondparam>   true   ${id}     __ Connect wit

Re: [S2] Simple forking

2008-07-02 Thread Milan Milanovic
; -- > Lukasz > http://www.lenart.org.pl/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.c

Re: [S2] Simple forking

2008-07-02 Thread Lukasz Lenart
> So, that's it ? But, what in the case if my page should be supported with > another action class (in another namespace) ? You can use instead full file path, not just fille name Regards -- Lukasz http://www.lenart.org.pl/ -

Re: [S2] Simple forking

2008-07-02 Thread Milan Milanovic
nputAction define getPageName() > > > Regards > -- > Lukasz > http://www.lenart.org.pl/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >

Re: [S2] Simple forking

2008-07-02 Thread Lukasz Lenart
Use params in result /pages/${pageName} and in InputAction define getPageName() Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

[S2] Simple forking

2008-07-02 Thread Milan Milanovic
namespace). How I can define that in struts.xml and choose from my action class (method) ? This is my current action in struts.xml: /pages/Finish.jsp but I need more results. -- Thx, Milan -- View this message in context: http://www.nabble.com/-S2--Simple-forking-tp18240640p182