Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: suggestion for taglib process

Shapira, Yoav

2004-01-05



Howdy,
Actually, this seems very reasonable. Please submit it to Bugzilla as an enhancement request and attach your code diff. Thanks ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Edson Alves Pereira [mailto:eapereira@(protected)]
>Sent: Monday, January 05, 2004 9:46 AM
>To: 'Tomcat Users List'
>Subject: RE: suggestion for taglib process
>
>  I´m not sure this is the best change for Generator, maybe i must
>know tomcat´s source in deep. But is here what we need.
>
>///////////////////////////////////////////////////////////////////////////
>//Old
>org.apache.tomcat.jasper.compiler.Generator:1450
>
>  String attrName = attrs[i].getName();
>  Method m = handlerInfo.getSetterMethod(attrName);
>  if (m == null) {
>    err.jspError(n, "jsp.error.unable.to_find_method",
>    attrName);
>  }
>
>///////////////////////////////////////////////////////////////////////////
>New:
>org.apache.tomcat.jasper.compiler.Generator:1450
>
>    StringBuffer sbMsg = null;
>    String attrName = attrs[i].getName();
>    Method m = handlerInfo.getSetterMethod(attrName);
>    if (m == null) {
>        sbMsg = new StringBuffer( );
>        sbMsg.append( ""jsp.error in [ " );
>        sbMsg.append(
>handlerInfo.getTagHandlerClass( ).getName( ));
>        sbMsg.append( " ], unable.to_find_method "
>);
>
>       err.jspError(
>          n,
>        sbMsg.toString( ),
>          attrName);
>    }
>
>
>> ----------
>> De:  Shapira, Yoav[SMTP:Yoav.Shapira@(protected)]
>> Responder:  Tomcat Users List
>> Enviada:  quarta-feira, 31 de dezembro de 2003 10:46
>> Para:  Tomcat Users List
>> Assunto:  RE: suggestion for taglib process
>>
>>
>> Howdy,
>> Great! I'm glad you have an enhancement in mind: when you contribute a
>> patch I'll be glad to review and commit it. ;)
>>
>> Yoav Shapira
>> Millennium ChemInformatics
>>
>>
>> >-----Original Message-----
>> >From: Edson Alves Pereira [mailto:eapereira@(protected)]
>> >Sent: Tuesday, December 30, 2003 3:46 PM
>> >To: 'Tomcat-User List'
>> >Subject: suggestion for taglib process
>> >
>> > Hello folks, i´d like to see all error Tomcat´s messages related with
>> >taglib changed to display exactly the taglib that the error cames from,
>> for
>> >example, take a look in this message:
>> >
>> >org.apache.jasper.JasperException:
>> >/jsp/cadastro/OS_cadastroProjetoEd.jsp(101,6) Unable to find setter
>> method
>> >for attribute: required
>> >
>> > I think it could be better if this message above would be like:
>> >
>> >org.apache.jasper.JasperException:
>> >/jsp/cadastro/OS_cadastroProjetoEd.jsp(101,6) Unable to find setter
>> method
>> >for attribute: required for oslib.tagext.NumberTag
>> >
>> > Regards,
>> > Edson
>>
>>
>>
>>
>> This e-mail, including any attachments, is a confidential business
>> communication, and may contain information that is confidential,
>> proprietary and/or privileged. This e-mail is intended only for the
>> individual(s) to whom it is addressed, and may not be saved, copied,
>> printed, disclosed or used by anyone else. If you are not the(an)
>> intended recipient, please immediately delete this e-mail from your
>> computer system and notify the sender. Thank you.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>> For additional commands, e-mail: tomcat-user-help@(protected)
>>



This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.