After reading the code, I finaly found out that the .properties location is hard coded to be the same as the .page file.

So there is no way.

I'll put my .properties files in the same folder as the specification, but I hope in 4.0, there will be a way to change this.

Regards

Kuon


Jiki Seirei wrote:

Hello,

In my application, I moved the HTML template to

/templates/

instead of
/WEB-INF/

I added

  <context-asset name="$template"  path="/templates/Home/Home.html"/>

for example to the Home page (I created subfolder with page name for localization purposes).

My .page are in /WEB-INF/pages

everything work well and I'm happy.

But for some pages, I want to add a .properties file for message localization purposes (like text email, logFile comments...)

It work well if I put the .properties next to the .page, but I want to put the .properties next to the .html.

Like

/templates/Home/Home.html
Home_en.html
Home_jp.html
Home.properties
Home_en.properties
Home_jp.properties

and so one.

Any idea?

Regards

Kuon

---------------------------------------------------------------------
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