On 15 Oct 2010, at 17:42, Oliver Siegmar <oli...@siegmar.org> wrote:

> Pid,
>
> Am Friday 15 October 2010 schrieb Pid:
>>>> No, because that would call a method getName() which doesn't exist - the
>>>> method is named name().
>>>
>>> <c:out value="${myEnumValue.getName()}"/>
>>
>> I don't think that'll work in 6.0.
>
> That's right.
>
>>> Or, just consistently use EL, since that actually works as you expect.
>>
>> +1  '<c:out' seems surplus.
>
> And how do you escape XML characters to entity codes using pure EL?

JSTL Function?

I can't remember the exact syntax.

${fn:escapeXml(my.attribute)}


p

>
>
> Bye
>
> Oliver
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to