Hi all,

I've created an inputText field that is passed as a URL parameter like that:

In my page I have

<h:inputText value="#{materialHome.nomeMaterial}" />
  | <h:commandButton value="Search" action="/admin/materiais.xhtml" />

And in pages.xml I have

<page view-id="/admin/materiais.xhtml">
  |     <param name="id" value="#{materialHome.id}" />
  |     <param name="firstResult" value="#{materiais.firstResult}" />
  |     <param name="nome" value="#{materialHome.nomeMaterial}" />
  | </page>
It works fine, but if I use accents I get problems like this:

If I insert the work balão
After a post I get the inputText with the word balão

I also tried to include in components.xml

<web:character-encoding-filter encoding="UTF-8"
  |     override-client="true"
  |     url-pattern="*.seam"/>

with several variations of the encoding param

Any sugestion?

Just for testing, if in pages.xml I remove the line <param name="nome" 
value="#{materialHome.nomeMaterial}" /> the accents are properly preserved in 
the inputText.


Thanks,
Ricardo Memória

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042695#4042695

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042695

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to