[opencms-dev] Resource Bundle to customize XML template labels

Carl Alex Friis Nielsen cfn at kb.dk
Mon Mar 30 09:17:08 CEST 2009


Do you use nested XML ?

 

Publishing the ServiceStartPage  schema might help diagnose the problem.

 

Cheers,

 

Carl

 

Fra: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] På vegne af Lammersdorf, Lorenz
Sendt: 30. marts 2009 08:08
Til: opencms-dev at opencms.org
Emne: [opencms-dev] Resource Bundle to customize XML template labels

 

Dear all,

 

I've created a new module calles com.mysite.service, added a xml schema that includes

 

<xsd:appinfo>
   <resourcebundle name="com.mysite.service.workplace"/>
    ....

at /system/modules/com.mysite.service/classes/com/mysite/service/ I've created a workplace.properties file containing

 

# Start Page
fileicon.ServiceStartPage = Start Page for Service Site
title.ServiceStartPage = Start Page for Service Site

 

that works fine.

 

But I want to customize the nodes also, so I've added:

 

# StartPage nodes
label.ServiceStartPage.Picture = Visual für die Startseite (774 px breit)
label.ServiceStartPage.rightBoxTitle = Überschrift der rechten Box
label.ServiceStartPage.rightBoxText= Inhalt der rechten Box
...

 

and that is ignored. Any ideas what I did wrong?

 

thanks!

 

---------------------------------------------------------------------------
Freundliche Grüsse

Lorenz Lammersdorf
Metrohm AG
Oberdorfstr. 68, CH-9101 Herisau / Switzerland
Tel.: +41 71 353 87 75, Fax +41 71 353 89 01
E-Mail: <<mailto:ll at metrohm.com <mailto:ll at metrohm.com> >>
Web http://www.metrohm.com <http://www.metrohm.com/> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090330/3f1eaed3/attachment.htm>


More information about the opencms-dev mailing list