Not exactly sure what you are asking here.

I have a multilingual app, which uses tiles and a different CSS for each
language implementation, and I do something like this:

I create a separate message resource bundle (sys) for system specific
configuration information (rather than user messages), like the stylesheet
to use.

In my main layout jsp, I have something like this:

<link rel="stylesheet" type="text/css" href="<bean:message bundle="sys"
key="css.default"/>"

So by doing this, I can have a language specific properties file that has a
line like this-

css.default= <stylesheet you want goes here>

The user picks a language, and the html gets the stylesheet that goes with
their choice.

I don't know what youre trying to do, but would this sort of technique be
helpful for you?


> -----Original Message-----
> From: Giuseppe Di Guglielmo [mailto:[EMAIL PROTECTED]
> Sent: Sunday, September 12, 2004 8:34 PM
> To: [EMAIL PROTECTED]
> Subject: Struts, Tiles and CSS
>
>
> I'm using Struts and Tiles; please, I want to know which is the most
> simple way to import more css for a specific page, without
> charging all
> css files (only the files I need). Which is the best practice?
>
> I need putting some test in the "servlet" or testing on the jsp?
>
> If I put tests in the servlet, I assume that servlets "know"
> the "view".
>
> Thanks,
> GDG
>
>
> ---------------------------------------------------------------------
> 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