views:

5

answers:

0

I am using richfaces 3.3.3 final and want to have a localized file-upload. Therefore i use something like this:

<rich:fileUpload id="myUpload"
    ...
    addControlLabel="#{msgs.DO_ADD}"
    clearAllControlLabel="#{msgs.DO_CLEAR_ALL}"
    clearControlLabel="#{msgs.DO_CLEAR}"
    stopEntryControlLabel="#{msgs.DO_CANCEL}"
    uploadControlLabel="#{msgs.DO_UPLOAD}"
    cancelEntryControlLabel="#{msgs.DO_CANCEL}"
    doneLabel="#{msgs.UPLOAD_COMPLETE}"
</rich:fileUpload>

Deploying on JBoss 5.1 or Tomcat 6 it'll end up double html-escaping all special chars coming from msgs. For example DO_ADD=Hinzufügen will turn into Hinzuf&uuml ;gen (ignore the spaces) which looks kinda silly.

How can i stop or suppress richfaces from double escaping these message-values?