Mircea Mihai Carasel wrote:
> 
> 
> 
> 
>     Where do I put (and how do I name ) the properties file to define my
>     service name. 
> 
> Tapestry splits properties files in two categories:
> 1. global properties files, that can contain labels that can be used in
> any page
> 2. property file attached to a specific .html page (that contains labels
> that can be used only in that page)
> All services labels are defined in a global property file. Therefore all
> services labels are defined in sipxconfig-web.properties
> 
>     Can I do it within my service plugin jar ?
> 
> Unfortunately there are limitations in Tapestry 4.1.5 (that we use)
> regarding global properties files and you cannot create
> a global properties file inside your plugin jar. You have to put your
> label in the global sipxconfig-web.properties
> (please check openfire service plugin as an example. The label is:
> label.sipxOpenfireService=Sipx Openfire Service)
> There are open issues about global properties file limitations in
> tapestry 4.1.5:
> http://track.sipfoundry.org/browse/XX-5226
> http://track.sipfoundry.org/browse/XX-5166
> Anyway - if you find a solution to add Tapestry global properties files
> inside plugin jars please let us know :)

Actually - although the problem described by by Mircea does exist - I think
 you can add and overwrite any string property (including service names) in
any plug-in. Please follow the instructions for adding your skin to sipx:

http://sipx-wiki.calivia.com/index.php/SipX_ConfigServer_Customize_Colors,_Layout_and_Logo

You need to set skin.messagesSourceBeanId and define 'myResources' bean and
add names there.
You probably already have *.beans.xml file: you can put it there.
D.

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to