> (BTW, right
> now don't matter how I write it tiles configuration is assumed to be
> in WEB-INF/tiles.xml, what do I need to put in my web.xml?)

Gonçalo,

Did you try this:

    <context-param>
        <param-name>definitions-config</param-name>
        <param-value>/WEB-INF/some-other-filename.xml</param-value>
    </context-param>

Regards,
Dj.

-----Original Message-----
From: Gonçalo Luiz [mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 03, 2007 7:56 PM
To: Dave Newton
Cc: Struts Users Mailing List
Subject: Re: One tile-conf.xml per namespace

Hello Dave,

Thank you for your answer.

I now I can have multiple files in a comma-separated list (BTW, right
now don't matter how I write it tiles configuration is assumed to be
in WEB-INF/tiles.xml, what do I need to put in my web.xml?).

What I'm trying to achieve is to use the same name for some tiles
without getting into an "definition overwrite" problem. As long as the
definitions stay in a different Struts Namespace I think there's no
problem. However I only know hot to configure a app-wide tiles's
configuration (in web.xml) and not a namespace-wide tile's
configuration.

Is it clear what I'm trying to achieve?

Thank you very much.

Best Regards,
Gonçalo Luiz.

On 03/02/07, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Gonçalo Luiz <[EMAIL PROTECTED]> wrote:
> > Is it possible to have one tiles configuration file
> > per struts namespace ?
>
> For both S1 and S2 you can configure multiple tiles
> config files in a comma-separated list.
>
> d.
>
>
>
>
>
____________________________________________________________________________
________
> Get your own web address.
> Have a HUGE year through Yahoo! Small Business.
> http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
>


-- 
Gonçalo Luiz

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to