You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dirk Storck <Di...@cms.tecmath.de> on 2002/02/05 11:13:58 UTC
AW: Struts/Tiles and nightly build features
Hi,
what do you mean with "custom
renderers that serve up different views depending on the browser type"?
Do you have an example?
By the way. For what do I need the input-parameter?
Many Thanks!
-----Ursprüngliche Nachricht-----
Von: Sean Willson [mailto:sean.willson@divine.com]
Gesendet: Donnerstag, 31. Januar 2002 16:50
An: Struts Users
Betreff: Struts/Tiles and nightly build features
Hello All,
Had a question about the latest nightly and some changes/functionality that
was removed or missing. I am currently using Tiles and Struts (build from
11/9/2001) to manage the "View" portion of our website. We have custom
renderers that serve up different views depending on the browser type you
are coming in with. Anyhow, in our struts config file we often use the
<action .... input="some.tile.property.here">
...
</action>
In the old releases this worked fine, but in the latest release it appears
that the action servlet that Tiles uses isn't answering the calls to the
getInput() command called on mapping any longer, the ActionConfig is now. Is
this feature gone or are they planning on returning it? Basically, I guess I
just want to know if the Tiles template will continue to be integrated into
struts as deeply as it was in the past.
I am also trying to get a feel for if I have to modify the code myself,
which we have yet to do, or if I can rely on the standard builds.
Thanks for the help everyone ...
Sean
P.S. Hopefully when we release, which should be soon, I can give a more
detailed look at what we did and what we may be able to contribute back to
struts or jakarta.
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: AW: Struts/Tiles and nightly build features
Posted by Sean Willson <se...@divine.com>.
It is a entension that we wrote to Tiles to allow custom rendering via
routing actions to different views based on the incoming browser type
(User-Agent). It is not open source yet ... still working on that.
You would use the input parameter of an action to redirect to a certain
view when an error occurs in the validation of the form. When an
ActionError is returned at that level it never makes it to the Action,
it goes back to the input JSP specified in the action mapping.
Sean
Dirk Storck wrote:
> Hi,
>
> what do you mean with "custom
> renderers that serve up different views depending on the browser type"?
> Do you have an example?
>
> By the way. For what do I need the input-parameter?
>
> Many Thanks
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>