<html:text property="myproperty" readonly="${readonlyproperties.myproperty}"/>

If I do like this the EL is not evaluated in the STRUTS TAG
I say this because after I tried to put the output whit the JSTL c:out and I 
see value of the expression correctly

Example 

In the request   variable myValue="test"

<html:test property="MyPro" value="${myValue}"/>  output result "${myValue}" EL 
not evaluated   

<c:out value="${myValue}"/> output result "test"  EL evaluated

Why the EL are not evaluated in the STRUTS TAG?

I'm using struts 1.3.8 and JSTL 1.0.6  JSP 1.2



-----Messaggio originale-----
Da: Antonio [mailto:[EMAIL PROTECTED] 
Inviato: giovedì 23 ottobre 2008 9.19
A: Struts Users Mailing List
Oggetto: Re: TAG embeded inside TAG struts 1

2008/10/22 D'Ottavio Alessandro <[EMAIL PROTECTED]>:
> <html:text property="myproperty"  readonly=<bean:write
> name="readonlyproperties" property="myproperty">   />

You cannot nest tags in JSP, but you can use EL (if you are using at
least Servlet 2.4):

<html:text property="myproperty"
readonly="${readonlyproperties.myproperty}"  />

HTH
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



"Questo messaggio ed ogni suo allegato sono confidenziali e possono essere 
riservati o, comunque, protetti dall'essere diffusi. Se il ricevente non é il 
destinatario diretto del presente messaggio, é pregato di contattare 
l'originario mittente e di cancellare questo messaggio ed ogni suo allegato dal 
sistema di posta. Se il ricevente non é il destinatario diretto del presente 
messaggio, sono vietati l'uso, la riproduzione e la stampa di questo messaggio 
e di ogni suo allegato, nonché la diffusione del loro contenuto a qualsiasi 
altro soggetto"
*****
"This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, 
please contact the sender and delete this message and any attachment from your 
system. If you are not the intended recipient you must not use, copy or print 
this message or attachment or disclose the contents to any other person."

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to