struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lowe <mark.l...@talk21.com>
Subject Re: [newbie] Access to message resources from tile controller class
Date Mon, 17 Nov 2003 10:32:27 GMT
I tend to stick to using plain old actions rather than extending tile 
action for tiles stuff..

You can forward to your definitions.

<action path="/process" ..
	<forward name="success"  path="mytiledef.success" />
	..

This way you don't need to store anything in a properties file, just in 
tiles-defs and struts config.

  Cheers Mark


On 17 Nov 2003, at 10:50, Michal.s wrote:

> Dear Group
>
> How can i retrieve a message from application.resources from a tile
> controller class ?
>
> I need to enable the end user of my website/application to modify its
> structure (add new pages and so on). The pages (unique id and 
> corresponding
> file name) could be kept in application.resources file (eg. page.1.11 =
> /components/page1_11.jsp) so the user would have an easy job to do. The
> controller class could get the page id from the request, find the
> appropriate jsp file, put its name in the tileContext and render the 
> layout.
> Is it feasible or am i dreaming ?
>
> thanks for any advice and help,
> Michal
>
> ____________________________________
> Najlepsze bo darmowe konta email
>
> http://www.free.os.pl
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


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


Mime
View raw message