On 15 Oct 2010, at 17:42, Oliver Siegmar <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]