This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

escape special characters while rendering the values in JSF.

 
Purushotham Royal Pasupuleti
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I have an issue in JSF combination of special charactres wtih backing bean. In test.xhtml page there is password text field. while entering data with special characters combination in password text box(eg::: !%55Card) in xhtml page, we are mapping with backing bean object, but in backing bean object value going as (!UCard) as encoded value. Please suggest me how we can prevent from this scenario.

Actual value in xhtml is !%55Card, but its going to backing bean value as !UCard intead of '%55' its decode as 'U'.

So, Could you please suggest me how to escape special characters while rendering the values in JSF.


Many Thanks.
Appreciate your help.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic