Are you trying to do this?

onclick=#{MyBean.checkA}?'doJS('staticvalue','#{beanA.value}');':'alert('hello'));'"

Only put #{} around parts you want interpreted by EL.

On 3/29/07, Michael Heinen <[EMAIL PROTECTED]> wrote:




I want to express the following Javascript function call via EL:



<sometag

onclick=#{MyBean.checkA?'doJS('staticvalue','#{beanA.value}');':'alert('hello'));'}"

</sometag>



How can I do this ?

Is there any way to escape this stuff ?



Thanks,

Michael

Reply via email to