Hi Santhi,

You cannot use a struts tag within another tag, same like JSP tags,
But another alternative that you can use is expressions.

<bean:define id="firstName" name="item" property="firstname"
type="java.lang.String"/>

value="<%= firstName %>"

Regards,

Ginny

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 01, 2003 6:43 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [MVC-Programmers] Using strut tag values inside other tags

It is possible to write like that:
value=<bean:write name="item" property="firstname"/>

Santhi

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 9:02 PM
To: [EMAIL PROTECTED]
Subject: [MVC-Programmers] Using strut tag values inside other tags


Hi,

I was wondering if it was possible to use strut tag
values inside other ones... i.e. evaluate the tag
value and add it as part of another tag.

For example i'd like to do something like

<html:text property="blah" value="<bean:write
proprty=blah/>" />

I'm sure if this is possible i'd have to delimit it or
something... if anyone knows, much appreciated.
Thanks.

-w

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
_______________________________________________
MVC-Programmers mailing list
[EMAIL PROTECTED]
http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers
_______________________________________________
MVC-Programmers mailing list
[EMAIL PROTECTED]
http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers

_______________________________________________
MVC-Programmers mailing list
[EMAIL PROTECTED]
http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers

Reply via email to