voyent
How to localize Error Popups  XML
Forum Index -> General Help
Author Message
MichaelBreu

Joined: 17/Aug/2011 10:08:42
Messages: 19
Offline


Hello all,

I recently migrated to Icefaces 4.0.0 .

Some years ago there was a JIRA issue http://jira.icesoft.org/browse/ICE-3016 explaining, how to localize error popups.

This seems not to work any more with icefaces 4.x

Those messages seem to be hard coded again.

How could I localize them again, without duplicating the complete java-script code?

Thank you

Michael
MichaelBreu

Joined: 17/Aug/2011 10:08:42
Messages: 19
Offline


This ticket is now more than one year old.

Our users are quite frustrated that we still do not have a solution?

No Progress in this issue?

Michael
arran.mccullough


Joined: 02/Jan/2007 00:00:00
Messages: 426
Offline


Hi Michael,

Can you provide more details as to what you mean by it doesn't work?

If you can provide a sample that reproduces this issue, it would be the quickest way to get resolved outside of having a support subscription.

The ICEfaces/JSF code has changed dramatically since the 1.7.2 release referenced in the JIRA.

Regards,
Arran

Arran McCullough
Technical Support Engineer
ICEsoft Technologies Inc.
MichaelBreu

Joined: 17/Aug/2011 10:08:42
Messages: 19
Offline


Hello Arran,

Thank you for your answer. Sorry, it took some time to provide a simple example. Find a simple war file under http://server.arctis.at/tmp/ICEFacesLocalization.war. (Sorry it is quite 10 MBytes big, due to ice-faces libs and infrastructure.

It contains a simple index.xhtml which shows a button that provokes a NullpointerException. The result is a message "See your server log for more information class javax.faces.el.EvaluationException"

I have included a bridge-message.properties in the classPath (as explained in http://www.icesoft.org/JForum/posts/list/13726.page#sthash.L9nkpBsu.dpbs ).
However this messages are not evaluated.

What is the proposed way to have shown a localized version of "See your server log for more information"?

arran.mccullough wrote:
Hi Michael,
...
If you can provide a sample that reproduces this issue, it would be the quickest way to get resolved outside of having a support subscription.

...
Regards,
Arran 


Best regards

Michael
arran.mccullough


Joined: 02/Jan/2007 00:00:00
Messages: 426
Offline


Hi Michael,

Thank you for the sample, it helped to understand what you are looking for.

I think the following link might help you with what is demonstrated in the sample:http://www.icesoft.org/wiki/display/ICE/Handling+Exceptions

There are a few techniques that outline how you can handle server side exceptions to the end user.

Regards,
Arran

Arran McCullough
Technical Support Engineer
ICEsoft Technologies Inc.
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team