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 impl'. 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. compile.library: [javac] Compiling 135 source files to C:\downloads\struts\src\jakarta-struts -1.0-src\target\library\classes [javac] C:\downloads\struts\src\jakarta-struts-1.0-src\src\share\org\apache\ struts\taglib\html\TextareaTag.java:118: 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 BUILD FAILED Your help is highly appreciated. Henry --- On Tue, 4 Sep 2001 17:20:04 Nathan Coast wrote: check this message http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg02891.html not sure if the change has been included in current dev but heres a patch for 1.0 Nathan -Original Message- From: Henry Mugasha [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 04, 2001 4:59 PM To: [EMAIL PROTECTED] Subject: Indexed Tags (TextArea) Hi, 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? Henry Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/ ** 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. www.mimesweeper.com ** Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/
RE: Indexed Tags (TextArea)
Oleg has just committed the necessary changes, so they should be in the build tomorrow. 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. Cheers, Dave Henry Mugasha [EMAIL PROTECTED] on 09/05/2001 11:35:31 AM Please respond to [EMAIL PROTECTED]; Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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 impl'. 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. compile.library: [javac] Compiling 135 source files to C:\downloads\struts\src\jakarta-struts -1.0-src\target\library\classes [javac] C:\downloads\struts\src\jakarta-struts-1.0-src\src\share\org\apache\ struts\taglib\html\TextareaTag.java:118: 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 BUILD FAILED Your help is highly appreciated. Henry --- On Tue, 4 Sep 2001 17:20:04 Nathan Coast wrote: check this message http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg02891.html not sure if the change has been included in current dev but heres a patch for 1.0 Nathan -Original Message- From: Henry Mugasha [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 04, 2001 4:59 PM To: [EMAIL PROTECTED] Subject: Indexed Tags (TextArea) Hi, 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? Henry Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/ ** 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. www.mimesweeper.com ** Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/
RE: Indexed Tags (TextArea)
check this message http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg02891.html not sure if the change has been included in current dev but heres a patch for 1.0 Nathan -Original Message- From: Henry Mugasha [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 04, 2001 4:59 PM To: [EMAIL PROTECTED] Subject: Indexed Tags (TextArea) Hi, 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? Henry Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/ ** 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. www.mimesweeper.com ** TextareaTag.java