Luca Stancapiano a écrit :
hi... I need an info about characters decoding into myfaces.... if I
have a simple jsp some it:
<h:form>
<h:commandLink action="#{Action.execute}">
<h:outputText value="some"/>
<f:param name="id" value="modalità"/>
</h:commandLink>
</h:form>
who decodes the word 'modalità' ? is some myfaces object or is
decoding delegates to servlet engine?
If you use facelets, it will be parsed by facelet and stored as a "à" in
java memory (that is , xml entities are read during parsing of facelets
parameters)
If you use jsp, i think the parameter will be passed as is to component
(no interpretation to "à", and you risk ending, during rendering, with
something like &agrave;
whatever method, it's outside scope of myfaces to interpret that
à. It's either jsp or facelet job to do it. Note that i would
recommend to use "à", which is guaranteed in both case to work properly!