Title: Message

Well you don’t even have to do that.

Like I wrote you just do:

 

test.action="">

test.success=somepage.jsp

 

which accomplishes it, my idea was just for clearer naming.

 

 

Regards,

-Andre Mermegas

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of James Cook
Sent: Friday, February 21, 2003 1:32 PM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] ActionForward or some sort of forward type thing

 

I don't think it belongs in WebWork proper. I suppose you just want this class?

 

class ActionForward implements Action {

    public String execute() {return SUCCESS;}

}

 

If that is it, then it would take 2 secs to add it to your personal project. I imagine it wouldn't be for production because it is simpler to just reference your view directly.

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason Carreira
Sent: Friday, February 21, 2003 1:22 PM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] ActionForward or some sort of forward type thing

Why? What's the difference here?

-----Original Message-----
From: Andre Mermegas [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 21, 2003 12:21 PM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] ActionForward or some sort of forward type thing

Hey all, I’m curious if perhaps in ww2 there could be some sort forward type idea.

I’ll illustrate a little. Right now as I understand it, if I have a view, that I don’t have any particular logic or model to associate with it at the moment, but I want it go through the WebWork framework instead of just accessing the .jsp page I have to do something like this:

 

test.action="">

test.success=somepage.jsp

 

which could be clearer if it were like this

othertest.action="">

othertest.success=someotherpage.jsp

 

I think it might be useful if there was a utility class in webwork.action called ActionForward or something similar that just extended ActionSupport

What do you think?

 

Regards,

-Andre Mermegas

 

Reply via email to