Can someone tell me if it is possible to have a custom tag as an
ATTRIBUTE of another custom tag? I have been unable to find the answer
to this question. I am trying to use a within the "href"
attribute of in order to dynamically get the value of
"Param3" which is in bean "ampp". See below:
No, a custom tag is not admissible as a tag attribute.
You can pass your attributes in a Map.
Wellington
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 4:08 PM
To: [EMAIL PROTECTED]
Subject: custom tag as attribute of another custom tag
This is quite true--
For more information on why its this way, you might want to download and
review the JSP specification from here:
http://java.sun.com/products/jsp/download.html
Regards,
Levi Cook
> -Original Message-
> From: Lacerda, Wellington (AFIS) [mailto:[EMAIL PROTECTED]]
> S
I thought that you can use a custom tag as an attribute value for another
tag, provided the attribute is designated within the TLD file as being
true.
Taylor
- Original Message -
From: "Lacerda, Wellington (AFIS)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 9:
The spec says: rtexprvalue <=> scriptlets
Wellington
-Original Message-
From: Taylor Cowan [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 4:27 PM
To: [EMAIL PROTECTED]
Subject: Re: custom tag as attribute of another custom tag
I thought that you can use a custom tag as an attr
The problem you are facing is caused by the fact that you use double quotes
in both the enclosing tag and the enclosed tag. This way, the parser cannot
determine whether the seconde "-character it encounters matches the first to
close it, or opens a nested attribute value as you intend.
Try to us
And it won't.
rtexprvalue = true means you can use something like:
> or
>
You can use a Java expression (any) provided the type matches the type
expected by the tag.
You still CANNOT use a tag in an attribute, even with rtexprvalue=true.
Wellington
-Original Message-
From: Brennan O
mschachter01/07/02 13:14:19
Modified:src/share/org/apache/struts/upload Tag: STRUTS_1_0_BRANCH
BufferedMultipartInputStream.java
MultipartIterator.java
Log:
- fix for file corruption problem with uploads
Submitted by: Mason Black
mschachter01/07/02 13:15:35
Modified:src/share/org/apache/struts/upload
BufferedMultipartInputStream.java
MultipartIterator.java
Log:
- fix for file corruption problem with uploads (Main Branch)
Submitted By: Mason Blackwood