tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John De Lello" <Jo...@DelWare.com>
Subject RE: Logic:Equal Question.
Date Thu, 08 May 2003 19:25:07 GMT
Well, I don't have the "right" answer yet... Just a whole bunch of failed
attempts on my part...lol... I am going to try the JSTL solution now. I'll
let you know how that fares.

John


-----Original Message-----
From: Michael Duffy [mailto:duffymo@yahoo.com] 
Sent: Thursday, May 08, 2003 1:57 PM
To: Tag Libraries Users List; JohnD@DelWare.com
Subject: RE: Logic:Equal Question.



Thank you for the feedback, John.  I won't give out
that incorrect advice again.  Hearing the right answer
would be most appreciated.  - MOD


--- John De Lello <JohnD@DelWare.com> wrote:
> OK, I tried your suggestion and added a method
> signature of: "public boolean
> isHasResults( )" on VWDynaValidatorForm. I get the
> same results.
> javax.servlet.ServletException: Exception accessing
> property hasResults for
> bean paymentReviewForm:
> java.lang.NoSuchMethodException: Unknown property 'hasResults'
> 
> Here is the class definition of my form:
> 
> package com.vwks.ing.form;
> 
> import
> org.apache.struts.validator.DynaValidatorForm;
> 
>  public class VWDynaValidatorForm extends
> DynaValidatorForm{
>     protected boolean       exceededRowLimit    =
> false;
>     protected boolean       hasResults          =
> false;
> 
>     public boolean isHasResults() {
>         return hasResults;
>     }
> 
>     public boolean getHasResults() {
>         return hasResults;
>     }
> 
> 
>     public void setHasResults(boolean hasResults) {
>         this.hasResults = hasResults;
>     }
> }
> 
> 
> 
> Thank you for the responses and sorry about the
> double-post (not sure how
> that happened)
> John
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message