tiles:put name=topleftbean:write name=ac
property=section.name/./tiles:put
But this code doesn't work:
html:hidden property=sectionName value=bean:write name=ac
property=section.name/ /
of course not.
bean:write writes an output in the http-stream.
but you want to give the attribute value a
:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 8:15 PM
To: 'Struts Users Mailing List'
Subject: value=bean:write../ question
Hi,
This code works:
tiles:put name=topleftbean:write name=ac
property=section.name/./tiles:put
But this code doesn't work:
html:hidden property=sectionName value
You could use:
bean:define name=myBean property=myProperty id=myId type=String/
... value=%= myId% ..
-Original Message-
From: Vijay Balakrishnan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 8:15 PM
To: 'Struts Users Mailing List'
Subject: value=bean:write
:
bean:define name=myBean property=myProperty id=myId type=String/
... value=%= myId% ..
-Original Message-
From: Siggelkow, Bill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 5:36 AM
To: 'Struts Users Mailing List'
Subject: RE: value=bean:write../ question
You cannot use
: Wednesday, January 08, 2003 5:36 AM
To: 'Struts Users Mailing List'
Subject: RE: value=bean:write../ question
You cannot use a tag as a value of an attribute in a tag -- you need to use
a Runtime Expression (or expression language if you are using JSTL) as in
the following:
html:hidden property
PROTECTED]]
Sent: Wednesday, January 08, 2003 3:01 PM
To: Struts Users Mailing List
Subject: Re: value=bean:write../ question
input type=hidden name=sectionName value=bean:write name=ac
property=section.name/ /
is just text with a custom tag in the middle. There's nothing special
about input
PROTECTED]]
Sent: Wednesday, January 08, 2003 3:01 PM
To: Struts Users Mailing List
Subject: Re: value=bean:write../ question
input type=hidden name=sectionName value=bean:write name=ac
property=section.name/ /
is just text with a custom tag in the middle. There's nothing special
about input
PROTECTED]]
Sent: Wednesday, January 08, 2003 3:59 PM
To: [EMAIL PROTECTED]
Subject: RE: value=bean:write../ question
No, it will still be set.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Siggelkow, Bill [mailto
Hi,
This code works:
tiles:put name=topleftbean:write name=ac
property=section.name/./tiles:put
But this code doesn't work:
html:hidden property=sectionName value=bean:write name=ac
property=section.name/ /
Can someone explain what I need to do ?
Thanks,
Vijay
--
To unsubscribe, e-mail:
9 matches
Mail list logo