struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: Subapps and /WEB-INF (was: Re: DO NOT REPLY [Bug 10268] - Sub-apps need context-relative option for 'input' of an Action)
Date Mon, 01 Jul 2002 20:30:26 GMT


On Mon, 1 Jul 2002, Ted Husted wrote:

> Date: Mon, 01 Jul 2002 16:26:43 -0400
> From: Ted Husted <husted@apache.org>
> Reply-To: Struts Developers List <struts-dev@jakarta.apache.org>,
>      ted@husted.com
> To: Struts Developers List <struts-dev@jakarta.apache.org>
> Subject: Re: Subapps and /WEB-INF (was: Re: DO NOT REPLY [Bug 10268]  -
>      Sub-apps need context-relative option for 'input' of an Action)
>
> inputPath might be more consistant with other attributes.
>

Well, the value is already a path (interpreted as subapp-relative).

> inputForward might sound like you are referring to an ActionForward
> (which might also be a feature worth considering).
>

This is actually the intent -- the controller would use this value in a
mapping.findForward() call, and then do the usual calculation to get the
actual URL (including redirect support, which we currently don't have) of
the input page to redisplay.

That's why I had suggested using "forward" as the attribute name in the
first place.

Craig


> Joe Germuska wrote:
> >
> > At 3:30 PM -0400 2002/07/01, Hal Deadman wrote:
> > >Those changes sound fine but is "forward" a good name for the new action
> > >attribute? I think inputforward provides a slightly better description of
> > >what the attribute is used for. I have always thought that it was not clear
> > >that the attributes "name", "input", "validate", and "scope", all refer to
> > >the action form (or at least they only apply if there is a form) but they
> > >are attributes of the action. I think adding forward would be similarly
> > >confusing.
> >
> > For what it's worth, this was my first reaction as well.
> > "inputForward" was the same alternative that came to my mind.
> >
> > Joe
> >
> > --
> > --
> > * Joe Germuska    { joe@germuska.com }
> > "It's pitiful, sometimes, if they've got it bad. Their eyes get
> > glazed, they go white, their hands tremble.... As I watch them I
> > often feel that a dope peddler is a gentleman compared with the man
> > who sells records."
> >         --Sam Goody, 1956
> > tune in posse radio: <http://www.live365.com/stations/289268>
> >
> > --
> > To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>
>
> -- Ted Husted, Husted dot Com, Fairport NY US
> -- Java Web Development with Struts
> -- Tel: +1 585 737-3463
> -- Web: http://husted.com/about/services
>
> --
> To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message