Take a look at the jira issue, it's something I suggested too. We
should disable by default evaluation of expressions when they are an
input from the user (i.e. parameters to an action) and enable by
default expression when specified as parameters to tags.
Il giorno 16/lug/07, alle ore 11:29, Aram Mkhitaryan ha scritto:
Actually that patch is not a solution, definitely.
The solution could be:
disable evaluation by default,
add a hint to enable evaluation.
for example
old--- <s:property value="%{amount}" />
solution--- <s:property value="eval/%{amount}" >
i suggest this solution since
<s:property value="%{amount}" />
and
<s:property value="amount" />
should output the same. am I wrong?
also because for the most of the cases just attribute values should be
printed and not evaluated the content
(note: the initial problem was the s2 performance)
Best,
Aram
________________________________
Aram Mkhitaryan
52, 25 Lvovyan, Yerevan 375000, Armenia
Mobile: +374 91 518456
E-mail: [EMAIL PROTECTED]
--
Ing. Andrea Vettori
Consulente per l'Information Technology
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]