participate


JavaServer Faces - Bug with translation?
<<   Back to Forum  |   Give us Feedback
This topic has 1 reply on 1 page.
Hackemesser
Posts:29
Registered: 4/7/04
Bug with translation?   
Feb 1, 2007 8:27 AM

 
hi there.

I've created a jsf page with some of the lines here:

	<f:loadBundle basename="de.szb.pt.i18n.View" var="View" />
....
					<h:outputFormat value="#{View.transaktionDataReceived}"
						escape="false">
						<f:param value="#{client.atmTransactionDataCount}" />
						<f:param value="#{client.atms}" />
						<f:param value="#{client.newSuggestionsCount}" />
						<f:param value="#{client.suggestionsCount}" />
						<f:param value="#{client.approvedSuggestionsCount}" />
					</h:outputFormat>
 


I've a property file with this line:
transaktionDataReceived=Transaktionsdaten f?r {0} von {1} GA's erhalten.<br />{2} neue Bef?llvorschl?ge insgesamt {3}, davon {4} gepr?ft. Ungepr?fte Bef?llvorschl?ge mit:


The resulting page shows this result:

Transaktionsdaten f?r 44 von 82 GAs erhalten.
{2} neue Bef?llvorschl?ge insgesamt {3}, davon {4} gepr?ft. Ungepr?fte Bef?llvorschl?ge mit:


It shows that params 2 to 4 aren't filled. I have tried to show the params in a outputText tag and they are definitely filled. Why not in that outputFormat?

Tried that on websphere AS 6.0.2

Kind regards,
Kai
 
Hackemesser
Posts:29
Registered: 4/7/04
Solved: Bug with translation?   
Feb 6, 2007 7:54 AM (reply 1 of 1)  (In reply to original post )

 
Hi there,

Found it. There was a single quotation mark in the message text.

Ciao
Kai
 
This topic has 1 reply on 1 page.
Back to Forum
 
Read the Developer Forums Code of Conduct

Click to email this message Email this Topic

Edit this Topic
  
 
 
Forums Statistics
    Users Online : 28
  • Guests : 133

About Sun forums
  • Oracle Forums is a large collection of user generated discussions. It is here to help you ask questions, find answers, and participate in discussions.

    Check out our guide on Getting started with Oracle Forums for a full walkthrough of how to best leverage the benefits of this community.

Powered by Jive Forums