Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

escape special characters while rendering the values in JSF.  RSS feed

 
Purushotham Royal Pasupuleti
Greenhorn
Posts: 4
  • 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!