[stringtemplate-interest] Web app - read templates from multiple directories
Ran Tavory
rantav at gmail.com
Sun Nov 1 07:03:36 PST 2009
Ah, that simple, thanks!
On Sun, Nov 1, 2009 at 11:06 AM, Terence Parr <parrt at cs.usfca.edu> wrote:
>
> On Nov 1, 2009, at 5:49 PM, Ran Tavory wrote:
>
> I've implemented a string template result type for struts2, and so far I'm
>> very happy with st, but there's one limitation I haven't been able to figure
>> out.
>> It seems ST requires all template files to be at the same directory. (or
>> did I miss anything?...)
>> So, for medium to large web-apps this is an annoyance. I'd like to be able
>> to create multiple directories, such as "full_pages" or "layouts" or
>> "snippets" or "reports" and be able to load multiple .st files from their
>> common parent directory.
>>
>> Is there a way to get over this limitation?
>>
>
> Use subdirectories and then use $misc/searchbox()$ and $gutter/leftnav()$
> etc :)
>
> Ter
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20091101/390d26e4/attachment.html
More information about the stringtemplate-interest
mailing list