Gia sou Gianni,
To use EL expressions you have to enable EL expression evaluation. This can be done in web.xml or the JSP file, for example with JSP 2.0:
<jsp:directive.page isELIgnored="false" />
Then just
<html:hidden property="origin"
Google for "enable EL JSP" as it depends to your environment, meaning JSP/container version. I cant use descriptors for this cause webdoclet does not cover web.xml for servlet 2.4 yet.
hth,
Manos
John Antonakos wrote:
just out of curiosity, what is html-el ? i use JSTL, but even in that, i cannot do this: <html:hidden property="firstname" value="<c:out value="${member.firstname}"/>"/>
John
----- Original Message ----- From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 25, 2004 1:26 PM
Subject: SV: How can i put a dynamic value to an <html:hidden> ?
Hi
use html-el and then : <html:hidden property="firstname" value="${member.firstname}"/>
-----Opprinnelig melding----- Fra: John Antonakos [mailto:[EMAIL PROTECTED] Sendt: 25. juni 2004 12:17 Til: [EMAIL PROTECTED] Emne: How can i put a dynamic value to an <html:hidden> ?
I want to do something like the following: <html:hidden property="firstname" value="<bean name="member" property="firstname"/>"/>
is this possible ? The above statement produces an error. Can i use another statement to do this thing ? Give a dynamic value, coming from another bean, to an <html:hidden> field ?
Regards, John
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that DnB NOR cannot
accept any payment orders or other legally binding correspondence with
customers as a part of an email.
This email message has been virus checked by the virus programs used in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]