|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Customizing the WebClient |
« View previous topic :: View next topic » |
Author |
Message
|
jpmorales |
Posted: Mon Jan 26, 2004 5:29 am Post subject: Customizing the WebClient |
|
|
 Novice
Joined: 13 Nov 2003 Posts: 21 Location: Bogotá, Colombia
|
We are using IBM MQ Workflow V3.4 with the web client. We have customized the list viewer, to accomodate the Look and Feel our client wants. Our client wants the ALT text that appears on thr different images.
For instance, the alternate text for the Logoff button is obtained by looking for a property called ListViewer.Logoff, from the conbtext. Can these properties values' be changed?
Thanks in advance
Juan Pablo Morales _________________ "Entia non sund multiplicanda praeter necesitatem" |
|
Back to top |
|
 |
jpmorales |
Posted: Tue Jan 27, 2004 5:38 am Post subject: Yes they can |
|
|
 Novice
Joined: 13 Nov 2003 Posts: 21 Location: Bogotá, Colombia
|
As several more hours of investigation led me to find out, yes, they can be changed. All of the internationalized Strings reside on the com.ibm.workflow.catalog.servlet package, inside fmcohcli.jar. If one is to change them the only thing that has to be done is create a new file on the com/ibm/workflow/catalog/servlet package, inside your own class repository _________________ "Entia non sund multiplicanda praeter necesitatem" |
|
Back to top |
|
 |
Bobbo |
Posted: Sat Jan 31, 2004 6:52 am Post subject: |
|
|
Acolyte
Joined: 17 Jun 2002 Posts: 50 Location: Buffalo, New York
|
Could you please explain further how you did this? Thanks.
Bob |
|
Back to top |
|
 |
jpmorales |
Posted: Tue Feb 03, 2004 4:46 am Post subject: |
|
|
 Novice
Joined: 13 Nov 2003 Posts: 21 Location: Bogotá, Colombia
|
I opened fmcohcli.jar and extracted the file com/ibm/workflow/catalog/servlet/Client_es.properties (because my language is spanish, in your case it would be Client.properties). I put this file inside my own application's classpath. In this case, since we are dealing with a web application, it has to be inside WEB-INF/classes/
This means that a new file was created in WEB-INF/classes/com/ibm/workflow/catalog/servlet/Client_es.properties
Afterwards I only changed this file, redeployed and the changes were taken.
I believe it is also possible to do this inside a jar, but you'd have to make sure that your jar appears in the classpath before fmcohcli.jar, so that the class loader finds your resources before the ones in fmcohcli.
Hope it helps _________________ "Entia non sund multiplicanda praeter necesitatem" |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|