voyent
How coustomize bridge-messages for session timeot  XML
Forum Index -> General Help
Author Message
kschueller

Joined: 30/Jan/2009 00:00:00
Messages: 2
Offline


How can i customize the message, which appears on session time out for german language?

I found fin the File com.icesoft.faces.context.DOMResponseWriter.java code, that tries to load a message bundle wthe the FailoverBundleResolver. i dont now where to place the message bundle files.

I tried to place a message bundle files:

bridge-messages.properties and
bridge-messages_de_DE.properties

in the src directory but it does not work.

klaus
 Filename bridge-messages_de_DE.properties [Disk] Download
 Description message bundle for german messages on timeout
 Filesize 242 bytes
 Downloaded:  312 time(s)

 Filename bridge-messages.properties [Disk] Download
 Description message bundle for german messages on timeout
 Filesize 242 bytes
 Downloaded:  383 time(s)

mircea.toma

Joined: 10/Feb/2005 00:00:00
Messages: 323
Offline


The message bundle file needs to be in the classpath. So you can put it in WEB-INF/classes folder or have it in the jar file with your application code.
[Email]
kschueller

Joined: 30/Jan/2009 00:00:00
Messages: 2
Offline


My IDE is Eclipse Ganymade, so i have no WEB-INF/classes directory. I put the file bridge-messages_de_DE.properties in my src directory. In the build script i create a jar-file with all files from build/classes and put this jar in the WEB-INF/lib directory of my WAR file. This solution works fine!
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team