struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Héritier <>
Subject RE: Can i wirte a tag lib html like this ?
Date Tue, 16 Oct 2001 08:30:53 GMT
you can't use a taglib inside another one.
however you can use a runtime expression like this :

<html:form action="DCVaultNodeLinkAction">
<html:hidden property="parentKey" value="<%=((YourBeanType)vault).getKey()%>" />


> -----Message d'origine-----
> De:	Brett Porter []
> Date:	mardi 16 octobre 2001 05:48
> À:	''
> Objet:	RE: Can i wirte a tag lib html like this ?
no, this is against the XML and hence JSP spec. 
I think you will find html:hidden has a way to retrieve the value from a bean already though
(but I'm not sure). 
-----Original Message-----
From: Jim []
Sent: Tuesday, 16 October 2001 1:47 PM
Subject: Can i wirte a tag lib html like this ?

Hi all: 
I have a hidden field in the Form tag 
but the hidden VAULE comes form a prorpery of another bean 
So , can I wirte a tag lib html like follow ? 
<html:form action="DCVaultNodeLinkAction">
<html:hidden property="parentKey" value="<bean:write name=vault property=key>" />
Thank you in advance. 

View raw message