tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <ahardy.str...@cyberspaceroad.com>
Subject internationalised strings in the database
Date Sun, 02 Sep 2007 16:23:15 GMT
It would be great if someone could give me some insights into possible ways of 
leveraging tiles2 in order to provide translating facilities on a page by page 
basis for a website, where the translated strings are kept in a database, 
indexed by the JSP where they are used and a non-unique name (e.g. title).

(1) is it possible to write a taglib that could work out automatically what the 
name of its JSP is?

(2) given no. 1 is possible, would it be possible to work out the name of the 
master tile that the taglib is in, in order to quote that tile in a URL param 
like this:


so that the 'translate' page could retrieve and display translated strings in a 
form for all JSPs used by the master tile?

Thanks and regards

View raw message