struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Indexed Tags (TextArea)
Date Wed, 05 Sep 2001 16:20:49 GMT

Oleg has just committed the necessary changes, so they should be in the build

You should be able to add the files that were attached to a previous mail too
the current nightly build src, and build it correctly though.



"Henry Mugasha" <> on 09/05/2001 11:35:31 AM

Please respond to; Please
      respond to

cc:    (bcc: David Hay/Lex/Lexmark)
Subject:  RE: Indexed Tags (TextArea)

Hi Nathan,

THanks alot for the Info!! However, I have searched through a couple of the
nightly builds ( from 22nd August to 04 September ) in the binaries and src' but
none of these have the Textarea Tag implementation you have in the TextareaTag
file you sent as attachment. Do you know which build contains the Textarea tag
I noticed that someone has added the prepareIndex method in the BaseHandlertag
so I tried using that setup, but I get alot of problems with the builr jar file
(from Aug-22-2001) since some classes have changed locations (i.e Digester, etc.
even though I place the latest struts.jar, commons*.jar files in my classpath
and the WEB-INF/lib directories)

Anyway, I tried simply adding your Textareatag file attachment to my old src
files (I used to build the latest stable release which works for indexed Text
Tags) and rebuilding with jakarta-ant but get the following error message
(below).I have checked and found out that the TextareaTag extends BaseInputTag
abstract class which extends BaseHandlerTag class that contains the indexed
protected variable. Now since TextareaTag is a descendant of BaseHandlerTag, I
would expect the compiler to figure this out. Do you know the probable cause of
this? Please help.

    [javac] Compiling 135 source files to C:\downloads\struts\src\jakarta-struts
    [javac] C:\downloads\struts\src\jakarta-struts-1.0-src\src\share\org\apache\
struts\taglib\html\ cannot resolve symbol
    [javac] symbol  : variable indexed
    [javac] location: class org.apache.struts.taglib.html.TextareaTag
    [javac]         if ("true".equals(indexed))
    [javac]                           ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 1 error


Your help is highly appreciated.



On Tue, 4 Sep 2001 17:20:04
 Nathan Coast wrote:
>check this message
>not sure if the change has been included in current dev but heres a patch
>for 1.0
>-----Original Message-----
>From: Henry Mugasha []
>Sent: Tuesday, September 04, 2001 4:59 PM
>Subject: Indexed Tags (TextArea)
>The struts-html taglib allows for indexed tags on almost all form tags
>apart form the textarea form tag. Why is this so? Can this be easily fixed?
>Get 250 color business cards for FREE!
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>This footnote also confirms that this email message has been swept by
>MIMEsweeper at LevelSeas for the presence of computer viruses.

Get 250 color business cards for FREE!

View raw message