RE: Form Bean problem - Fixed for now

2002-03-05 Thread keithBacon

Hi Tim & hurray!
just for your amusement
The other day I added some buttons to a form & the setter methods in the form
bean weren't being called when the buttons were pressed. I checked & checked. I
copied button code from another jsp/form/action & that worked. I still couldn't
get my new code to work so deleted it, adapted the copied code & it worked. I
still have no idea why the original code didn't work & that really annoys me.
Probably I was hallucinating & see something being in the correct case when it
wasn't but I checked so carefully.
I used to train some even more junior people than me & used to tell them that
the laws of cause & affect seem a bit fuzzy on the java server side...
Terrible thing to say - but it meant don't spend forever sight checking code
for errors, go copy some code that works. Not how I used to like to work!
What ever doesn;t drive you insane makes you a stronger programmer.
cheers - Keith.



--- Tim Sawyer <[EMAIL PROTECTED]> wrote:
> Right, I'm back (finally!)
> 
> I narrowed the problem down to a struts-config problem.  I deleted
> everything from struts-config that wasn't related to the one page that I was
> having problems with.  I then found that the page would work, and not give
> me the getter missing error.
> 
> So went back to my original struts-config and started removing stuff again.
> After a bit of  messing around I've got it to work.  The stuff I've taken
> out was for code that I'd written but not got as far as running yet, it was
> for a page in the flow after the one I was having problems with.  I still
> have no idea why it caused a problem, perhaps all will become clear as I
> progress on and start to call it again.  I've removed one form bean
> definition and all the action definitions after the page where my problem
> was.
> 
> One thing that I have worked out which no-one on the list mentioned, is that
> when you stick a struts  tag in your page, it uses the definition
> of the action defined for that form to create the action form in session
> memory, not the calling action.  I hadn't realised this, and it does make
> things clearer in my head now.
> 
> Many thanks for all your help!
> 
> Tim.
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 


=
~~
Search the archive:-
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
~~
Keith Bacon - Looking for struts work - South-East UK.
phone UK 07960 011275

__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Form Bean problem - Fixed for now

2002-03-04 Thread Tim Sawyer

Right, I'm back (finally!)

I narrowed the problem down to a struts-config problem.  I deleted
everything from struts-config that wasn't related to the one page that I was
having problems with.  I then found that the page would work, and not give
me the getter missing error.

So went back to my original struts-config and started removing stuff again.
After a bit of  messing around I've got it to work.  The stuff I've taken
out was for code that I'd written but not got as far as running yet, it was
for a page in the flow after the one I was having problems with.  I still
have no idea why it caused a problem, perhaps all will become clear as I
progress on and start to call it again.  I've removed one form bean
definition and all the action definitions after the page where my problem
was.

One thing that I have worked out which no-one on the list mentioned, is that
when you stick a struts  tag in your page, it uses the definition
of the action defined for that form to create the action form in session
memory, not the calling action.  I hadn't realised this, and it does make
things clearer in my head now.

Many thanks for all your help!

Tim.




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Form Bean problem

2002-02-27 Thread Tim Sawyer

I'm using the "do something else and then come back to it" debugging
technique today, I'll get back onto this stuff later today or tomorrow...

Tim.

-Original Message-
From: keithBacon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 1:54 PM
To: Struts Users Mailing List; Tim Sawyer
Subject: Re: Form Bean problem


if you can't solve it post the whole lot!



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Form Bean problem

2002-02-27 Thread keithBacon

if you can't solve it post the whole lot!
--- Tim Sawyer <[EMAIL PROTECTED]> wrote:
> KeithBacon <[EMAIL PROTECTED]> wrote :
> 
> > does the form work OK if you remove dateOfBirth but leave the 
> >other form fields?
> 
> Nope.  I only have two fields on the form, and if I remove date of birth it
> complains about the second one...
> 
> > Is it possible you have 1 mapping that puts the form in the session &
> > another
> > one that puts another form in the request but with the same name?
> > That would explain it if you can find the form bean but struts doesn't? 
> > Or even give you 2 beans with same name but of different types.
> 
> Hmmm.  Unlikely. There are only four form beans defined in my
> struts-config.xml, and they all have unique names.
> 
> > Perhaps remove focus="dateOfBirth" just in case
> 
> Done that...
> 
> > err ran out of ideas for now! More tomorrow morning, but you must >have the
> ansewr by then.!
> 
> lol, you would think so!  This is daft, it's got to be something obvious and
> simple!  Perhaps time to step back and try and write the code again from
> scratch...if you hear a scream, I've got the same error again...
> 
> Cheers,
> 
> Tim.
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 


=
~~
Search the archive:-
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
~~
Keith Bacon - Looking for struts work - South-East UK.
phone UK 07960 011275

__
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Form Bean problem

2002-02-26 Thread Tim Sawyer

KeithBacon <[EMAIL PROTECTED]> wrote :

> does the form work OK if you remove dateOfBirth but leave the 
>other form fields?

Nope.  I only have two fields on the form, and if I remove date of birth it complains 
about the second one...

> Is it possible you have 1 mapping that puts the form in the session &
> another
> one that puts another form in the request but with the same name?
> That would explain it if you can find the form bean but struts doesn't? 
> Or even give you 2 beans with same name but of different types.

Hmmm.  Unlikely. There are only four form beans defined in my struts-config.xml, and 
they all have unique names.

> Perhaps remove focus="dateOfBirth" just in case

Done that...

> err ran out of ideas for now! More tomorrow morning, but you must >have the ansewr 
>by then.!

lol, you would think so!  This is daft, it's got to be something obvious and simple!  
Perhaps time to step back and try and write the code again from scratch...if you hear 
a scream, I've got the same error again...

Cheers,

Tim.





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Form Bean problem

2002-02-26 Thread Yu, Yanhui

Hi there,

I am new to Struts, I have this problem and please help:
 
I would like to display an error message to the user in a little more
customized way, such as, if some special characters
 are not allowed in a field, if the user entered any of this special
character set, (say @#$), I would like to display that "@#$ is not allowed
in this
 field".  

I would also like to change the fields background where erroneous data exist
into red, possibly change the font of the erroneous data into a different
 font color.  When the user correct the error,  I want the background of
that field to be original color and font back to original color too.  

In addition, I would like to focus my cursor in the first erroneous field,
if erroneous data exists, I would like to select that erroneous data.   

It seems like that we don't want to use Javascript here at work, so I am
looking for a solution in Struts.  Hopefully there is a nice way to do this.

 Really appreciate all your time and help,
Yanhui

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Form Bean problem

2002-02-26 Thread keithBacon

does the form work OK if you remove dateOfBirth but leave the other form
fields?
Is it possible you have 1 mapping that puts the form in the session & another
one that puts another form in the request but with the same name?
That would explain it if you can find the form bean but struts doesn't? Or even
give you 2 beans with same name but of different types.
Perhaps try to call setDateOfBirth() in your debug code (I bet that works
though).
Perhaps remove focus="dateOfBirth" just in case
err ran out of ideas for now! More tomorrow morning, but you must have the
ansewr by then.!

--- Tim Sawyer <[EMAIL PROTECTED]> wrote:
> Hmmm.
> 
> This works:
> 
> 
> 
> <%@ page language="java"
> import="com.pancredit.tkbespoke.tjs.strutstest.form.* %>
> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
> 
> 
> Untitled Document
> 
> 
> 
> 
> Please enter the following customer details: 
>   
> 
> 
> 
> 
> 
> 
> put it back to what it was and it doesn't work anymore, same error:
> 
> 
> 
> <%@ page language="java"
> import="com.pancredit.tkbespoke.tjs.strutstest.form.* %>
> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
> 
> 
> Untitled Document
> 
> 
> 
> 
> Please enter the following customer details: 
> 
>   
> 
>   Date of Birth:
>   
> 
>   
>   Marital status:
>   
> 
>   
> 
> 
>    
>   
> 
>   
> 
>   
> 
>   
> 
>   
> 
> 
> 
> Eh?
> 
> Tim.
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 


=
~~
Search the archive:-
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
~~
Keith Bacon - Looking for struts work - South-East UK.
phone UK 07960 011275

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Form Bean problem

2002-02-26 Thread Tim Sawyer

Hmmm.

This works:



<%@ page language="java" import="com.pancredit.tkbespoke.tjs.strutstest.form.* %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>


Untitled Document




Please enter the following customer details: 
  






put it back to what it was and it doesn't work anymore, same error:



<%@ page language="java" import="com.pancredit.tkbespoke.tjs.strutstest.form.* %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>


Untitled Document




Please enter the following customer details: 

  

  Date of Birth:
  

  
  Marital status:
  

  


   
  

  

  

  

  



Eh?

Tim.




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Form Bean problem

2002-02-26 Thread Ted Husted

The ActionForm is the companion bean to the html tags. The purpose of
most of the html tags is to create HTML elements that can be populated
from a bean passed to the page. Any bean can be used, but ActionForm
beans are the most common, since they are required for the validation
phase. 

If the bean to use is not specified in the html:form tag, then it looks
it up from the associated ActionMapping as a default. If a bean is not
specified for a particular html tag, it uses the one for the html:form
as a default. 

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services


Tim Sawyer wrote:
> 
> > >> I don't need to use an action form at all with this page.
> > You do if you have a form on the page don't you?
> 
> That's interesting I have a form that is only data entry.  Do I have to define 
>an action form for this page?  I will in the action that it calls when the form is 
>submitted, because that's where the submitted values go.
> 
> Hmmjust thinking about this now, if I get errors and have to redisplay the form 
>page with errors listen, then that's maybe a reason to have the form bean there on 
>both actions.   Is that correct?
> 
> (Don't think this is anything to do with my current problem, as the error is the 
>same regardless of whether I specify a form bean or not on the action that calls the 
>jsp where the form is, but I'm interested!)
> 
> ta,
> 
> Tim.
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Form Bean problem

2002-02-26 Thread Tim Sawyer

Cheer Keith, that's clearer now.

Sounds like a possible enhancement request, if it doesn't default to blank :-)

Thanks again,

Tim.

KeithBacon <[EMAIL PROTECTED]> wrote :

> You will need the form bean on the 1st use because the jsp it forwards to
> has
> the form on it & struts will try to populate the form from the form bean (I
> am
> making an assumption here - it's possible it would look at the mapping, see
> no
> form bean & the  tags would just default to blanks - but I
> doubt
> it).
> 
> When redisplaying the form with errors you'll go through the 2nd mapping
> that
> has the form Bean specified so no problems there.
> Keith.
> 
> 
> --- Tim Sawyer &lang=en">[EMAIL PROTECTED]>
> wrote:
> > > >> I don't need to use an action form at all with this page.
> > > You do if you have a form on the page don't you?
> > 
> > That's interesting I have a form that is only data entry.  Do I have
> to
> > define an action form for this page?  I will in the action that it calls
> when
> > the form is submitted, because that's where the submitted values go.
> > 
> > Hmmjust thinking about this now, if I get errors and have to redisplay
> > the form page with errors listen, then that's maybe a reason to have the
> form
> > bean there on both actions.   Is that correct?
> > 
> > (Don't think this is anything to do with my current problem, as the error
> is
> > the same regardless of whether I specify a form bean or not on the action
> > that calls the jsp where the form is, but I'm interested!)
> > 
> > ta,
> > 
> > Tim.
> >  
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   &lang=en">[EMAIL PROTECTED]>
> > For additional commands, e-mail: &lang=en">[EMAIL PROTECTED]>
> > 
> 
> 
> =
> ~~
> Search the archive:-
> http://www.mail-archive.com/struts-user%40jakarta.apache.org/
> ~~
> Keith Bacon - Looking for struts work - South-East UK.
> phone UK 07960 011275
> 
> __
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
> 
> --
> To unsubscribe, e-mail:   &lang=en">[EMAIL PROTECTED]>
> For additional commands, e-mail: &lang=en">[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Form Bean problem

2002-02-26 Thread keithBacon

You will need the form bean on the 1st use because the jsp it forwards to has
the form on it & struts will try to populate the form from the form bean (I am
making an assumption here - it's possible it would look at the mapping, see no
form bean & the  tags would just default to blanks - but I doubt
it).

When redisplaying the form with errors you'll go through the 2nd mapping that
has the form Bean specified so no problems there.
Keith.


--- Tim Sawyer <[EMAIL PROTECTED]> wrote:
> > >> I don't need to use an action form at all with this page.
> > You do if you have a form on the page don't you?
> 
> That's interesting I have a form that is only data entry.  Do I have to
> define an action form for this page?  I will in the action that it calls when
> the form is submitted, because that's where the submitted values go.
> 
> Hmmjust thinking about this now, if I get errors and have to redisplay
> the form page with errors listen, then that's maybe a reason to have the form
> bean there on both actions.   Is that correct?
> 
> (Don't think this is anything to do with my current problem, as the error is
> the same regardless of whether I specify a form bean or not on the action
> that calls the jsp where the form is, but I'm interested!)
> 
> ta,
> 
> Tim.
>  
> 
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 


=
~~
Search the archive:-
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
~~
Keith Bacon - Looking for struts work - South-East UK.
phone UK 07960 011275

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Form Bean problem

2002-02-26 Thread Tim Sawyer

> >> I don't need to use an action form at all with this page.
> You do if you have a form on the page don't you?

That's interesting I have a form that is only data entry.  Do I have to define an 
action form for this page?  I will in the action that it calls when the form is 
submitted, because that's where the submitted values go.

Hmmjust thinking about this now, if I get errors and have to redisplay the form 
page with errors listen, then that's maybe a reason to have the form bean there on 
both actions.   Is that correct?

(Don't think this is anything to do with my current problem, as the error is the same 
regardless of whether I specify a form bean or not on the action that calls the jsp 
where the form is, but I'm interested!)

ta,

Tim.
 






--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Form Bean problem

2002-02-26 Thread keithBacon

Maybe you aren't using the mapping you think you are?
I can' think why it would look for a getter if no form is specified.
Suggestions:-
1 - put debug message in constructor of your formBean & in reset - to prove
it's being used.
2 - In Action classes perform method print form.getClass().getName() - to see
which form bean you are using.
3 - Try to call the get method from the jsp with 
4 - try to call it from a scriptlet?
5 - Give up & drink 5 pints of Samel Smith's Museum Ale. Then notice you
accidentally had your property methods declared private.

>> I don't need to use an action form at all with this page.
You do if you have a form on the page don't you?

Good luck..

--- Tim Sawyer <[EMAIL PROTECTED]> wrote:
> I've just been messing with that.  I've renamed the property to dateOfBirth
> and implemented getDateOfBirth() and setDateOfBirth() and it's still
> complaining, only now it can't find the getter method for 
> dateOfBirth.
> 
> I'm certain it's using the right form bean, as I get validation errors if I
> check for null in the validate() method.  If I take the validation out I get
> this error.
> 
> I don't need to use an action form at all with this page.  It's basically
> just a data input form.  Why is it trying to run a get method?  If I take the
> form out of the mapping for this do in the struts-config, I get the same
> error.  But seeing as I then don't have a form at all for this action, why is
> it still trying to run get?
> 
> What's the logic for populating forms with values that are already in the
> form bean?  And what should it do if there is no form bean?  How does it tell
> if there is a form bean or not?  On second thoughts, I'd better have a look
> at the code - can someone point out where this is in the struts code please?
> 
> Cheers,
> 
> Tim.
> 
> KeithBacon <[EMAIL PROTECTED]> wrote :
> 
> > Have you got other properties on the same form/jsp working OK? (to prove
> you
> > are looking at the right form bean).
> > 
> > As a wild desperate measure - try adding another word so it is dobTest
> > (getDobTest). Properties are weird when they start with multiple uppercase
> > letters maybe when it's all lower case.
> > 
> > I know this is no use but I wish I could help... I went through something
> > similar where it seemed to be allergic to my property name &* I know it
> > wasn't
> > a spelling error. Good luck!
> > 
> > --- Tim Sawyer &lang=en">[EMAIL PROTECTED]>
> > wrote:
> > > Thanks to everyone for your suggestions.
> > > 
> > > JSP property looks like this:
> > > 
> > > 
> > > 
> > > Get and set methods look like this:
> > > 
> > >   /** Getter for property dob.
> > >* @return Value of property dob.
> > >*/
> > >   public java.lang.String getDob()
> > >   {
> > > return dob;
> > >   }
> > >   
> > >   /** Setter for property dob.
> > >* @param dob New value of property dob.
> > >*/
> > >   public void setDob(java.lang.String dob)
> > >   {
> > > this.dob = dob;
> > >   }
> > > 
> > > This should work shouldn't it?  I assume I'm missing something obvious,
> > but
> > > don't really know where to look.
> > > 
> > > Tim.
> > > 
> > > 
> > > 
> > > Jean-Guillaume LALANNE &lang=en">[EMAIL PROTECTED]>
> > wrote :
> > > 
> > > > Hi,
> > > > 
> > > > I have got the same type of problem and it was due to the fact that my
> > > > property was not lowercase...
> > > > Have a look at your JSP and specially to your "dob" property ...
> > > > 
> > > > Hope that helps
> > > > 
> > > > Jean-Guillaume LALANNE
> > > > 
> > > > - Original Message -
> > > > From: "Tim Sawyer" &lang=en">&lang=en">[EMAIL PROTECTED]>
> > > > To: &lang=en">&lang=en">[EMAIL PROTECTED]>
> > > > Cc: "Tim Sawyer" ;&lang=en">;&lang=en">[EMAIL PROTECTED]>;
> > > > &lang=en">&lang=en">[EMAIL PROTECTED]>
> > > > Sent: Tuesday, February 26, 2002 11:50 AM
> > > > Subject: Re: Form Bean problem
> > > > 
> > > > 
> > > > > Nope, same error.  It seems to be in the html library somewh

Re: Form Bean problem

2002-02-26 Thread Tim Sawyer

I've just been messing with that.  I've renamed the property to dateOfBirth and 
implemented getDateOfBirth() and setDateOfBirth() and it's still complaining, only now 
it can't find the getter method for 
dateOfBirth.

I'm certain it's using the right form bean, as I get validation errors if I check for 
null in the validate() method.  If I take the validation out I get this error.

I don't need to use an action form at all with this page.  It's basically just a data 
input form.  Why is it trying to run a get method?  If I take the form out of the 
mapping for this do in the struts-config, I get the same error.  But seeing as I then 
don't have a form at all for this action, why is it still trying to run get?

What's the logic for populating forms with values that are already in the form bean?  
And what should it do if there is no form bean?  How does it tell if there is a form 
bean or not?  On second thoughts, I'd better have a look at the code - can someone 
point out where this is in the struts code please?

Cheers,

Tim.

KeithBacon <[EMAIL PROTECTED]> wrote :

> Have you got other properties on the same form/jsp working OK? (to prove you
> are looking at the right form bean).
> 
> As a wild desperate measure - try adding another word so it is dobTest
> (getDobTest). Properties are weird when they start with multiple uppercase
> letters maybe when it's all lower case.
> 
> I know this is no use but I wish I could help... I went through something
> similar where it seemed to be allergic to my property name &* I know it
> wasn't
> a spelling error. Good luck!
> 
> --- Tim Sawyer &lang=en">[EMAIL PROTECTED]>
> wrote:
> > Thanks to everyone for your suggestions.
> > 
> > JSP property looks like this:
> > 
> > 
> > 
> > Get and set methods look like this:
> > 
> >   /** Getter for property dob.
> >* @return Value of property dob.
> >*/
> >   public java.lang.String getDob()
> >   {
> > return dob;
> >   }
> >   
> >   /** Setter for property dob.
> >* @param dob New value of property dob.
> >*/
> >   public void setDob(java.lang.String dob)
> >   {
> > this.dob = dob;
> >   }
> > 
> > This should work shouldn't it?  I assume I'm missing something obvious,
> but
> > don't really know where to look.
> > 
> > Tim.
> > 
> > 
> > 
> > Jean-Guillaume LALANNE &lang=en">[EMAIL PROTECTED]>
> wrote :
> > 
> > > Hi,
> > > 
> > > I have got the same type of problem and it was due to the fact that my
> > > property was not lowercase...
> > > Have a look at your JSP and specially to your "dob" property ...
> > > 
> > > Hope that helps
> > > 
> > > Jean-Guillaume LALANNE
> > > 
> > > - Original Message -
> > > From: "Tim Sawyer" &lang=en">&lang=en">[EMAIL PROTECTED]>
> > > To: &lang=en">&lang=en">[EMAIL PROTECTED]>
> > > Cc: "Tim Sawyer" ;&lang=en">;&lang=en">[EMAIL PROTECTED]>;
> > > &lang=en">&lang=en">[EMAIL PROTECTED]>
> > > Sent: Tuesday, February 26, 2002 11:50 AM
> > > Subject: Re: Form Bean problem
> > > 
> > > 
> > > > Nope, same error.  It seems to be in the html library somewhere.
> > > >
> > > > javax.servlet.jsp.JspException: No getter method for property dob of
> bean
> > > org.apache.struts.taglib.html.BEAN
> > > > at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517)
> > > > at
> > >
> >
> org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:188)
> > > > at
> > > /ExtraCustomerDetails.jsp._jspService(/ExtraCustomerDetails.jsp.java:64)
> > > (JSP page line 16)
> > > > at com.orionserver[Orion/1.5.2 (build
> > > 10460)].http.OrionHttpJspPage.service(Unknown Source)
> > > > at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)
> > > >
> > > > Is this something obvious I've done wrong?
> > > >
> > > > Tim.
> > > >
> > > >
> > > > -Original Message-
> > > > From: Sarah Farrell [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, February 25, 2002 9:54 PM
> > > > To: Struts Users Mailing List
> > > > Subject: Re: Form Bean problem
> > > >
>

Re: Form Bean problem

2002-02-26 Thread keithBacon

Have you got other properties on the same form/jsp working OK? (to prove you
are looking at the right form bean).

As a wild desperate measure - try adding another word so it is dobTest
(getDobTest). Properties are weird when they start with multiple uppercase
letters maybe when it's all lower case.

I know this is no use but I wish I could help... I went through something
similar where it seemed to be allergic to my property name &* I know it wasn't
a spelling error. Good luck!

--- Tim Sawyer <[EMAIL PROTECTED]> wrote:
> Thanks to everyone for your suggestions.
> 
> JSP property looks like this:
> 
> 
> 
> Get and set methods look like this:
> 
>   /** Getter for property dob.
>* @return Value of property dob.
>*/
>   public java.lang.String getDob()
>   {
> return dob;
>   }
>   
>   /** Setter for property dob.
>* @param dob New value of property dob.
>*/
>   public void setDob(java.lang.String dob)
>   {
> this.dob = dob;
>   }
> 
> This should work shouldn't it?  I assume I'm missing something obvious, but
> don't really know where to look.
> 
> Tim.
> 
> 
> 
> Jean-Guillaume LALANNE <[EMAIL PROTECTED]> wrote :
> 
> > Hi,
> > 
> > I have got the same type of problem and it was due to the fact that my
> > property was not lowercase...
> > Have a look at your JSP and specially to your "dob" property ...
> > 
> > Hope that helps
> > 
> > Jean-Guillaume LALANNE
> > 
> > - Original Message -
> > From: "Tim Sawyer" &lang=en">[EMAIL PROTECTED]>
> > To: &lang=en">[EMAIL PROTECTED]>
> > Cc: "Tim Sawyer" ;&lang=en">[EMAIL PROTECTED]>;
> > &lang=en">[EMAIL PROTECTED]>
> > Sent: Tuesday, February 26, 2002 11:50 AM
> > Subject: Re: Form Bean problem
> > 
> > 
> > > Nope, same error.  It seems to be in the html library somewhere.
> > >
> > > javax.servlet.jsp.JspException: No getter method for property dob of bean
> > org.apache.struts.taglib.html.BEAN
> > > at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517)
> > > at
> >
> org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:188)
> > > at
> > /ExtraCustomerDetails.jsp._jspService(/ExtraCustomerDetails.jsp.java:64)
> > (JSP page line 16)
> > > at com.orionserver[Orion/1.5.2 (build
> > 10460)].http.OrionHttpJspPage.service(Unknown Source)
> > > at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)
> > >
> > > Is this something obvious I've done wrong?
> > >
> > > Tim.
> > >
> > >
> > > -Original Message-
> > > From: Sarah Farrell [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, February 25, 2002 9:54 PM
> > > To: Struts Users Mailing List
> > > Subject: Re: Form Bean problem
> > >
> > >
> > > The error sounds like it is referring to the taglib struts-bean.tld,
> > whether
> > > or
> > > not it is a legitimate error, I'm not sure.
> > >
> > > Try taking out the line
> > > 
> > > from your jsp and change the button tags back to regular HTML where
> > > 
> > >   
> > > 
> > > would become
> > > 
> > > and
> > > 
> > >   
> > > 
> > > would become
> > > 
> > >
> > > And then tell us if you get the same error message, or a different one.
> > >
> > > ??
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > &lang=en">[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > &lang=en">[EMAIL PROTECTED]>
> > 
> > 
> > --
> > To unsubscribe, e-mail:  
> &lang=en">[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> &lang=en">[EMAIL PROTECTED]>
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


=
~~
Search the archive:-
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
~~
Keith Bacon - Looking for struts work - South-East UK.
phone UK 07960 011275

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Form Bean problem

2002-02-26 Thread Tim Sawyer

Thanks to everyone for your suggestions.

JSP property looks like this:



Get and set methods look like this:

  /** Getter for property dob.
   * @return Value of property dob.
   */
  public java.lang.String getDob()
  {
return dob;
  }
  
  /** Setter for property dob.
   * @param dob New value of property dob.
   */
  public void setDob(java.lang.String dob)
  {
this.dob = dob;
  }

This should work shouldn't it?  I assume I'm missing something obvious, but don't 
really know where to look.

Tim.



Jean-Guillaume LALANNE <[EMAIL PROTECTED]> wrote :

> Hi,
> 
> I have got the same type of problem and it was due to the fact that my
> property was not lowercase...
> Have a look at your JSP and specially to your "dob" property ...
> 
> Hope that helps
> 
> Jean-Guillaume LALANNE
> 
> - Original Message -
> From: "Tim Sawyer" &lang=en">[EMAIL PROTECTED]>
> To: &lang=en">[EMAIL PROTECTED]>
> Cc: "Tim Sawyer" ;&lang=en">[EMAIL PROTECTED]>;
> &lang=en">[EMAIL PROTECTED]>
> Sent: Tuesday, February 26, 2002 11:50 AM
> Subject: Re: Form Bean problem
> 
> 
> > Nope, same error.  It seems to be in the html library somewhere.
> >
> > javax.servlet.jsp.JspException: No getter method for property dob of bean
> org.apache.struts.taglib.html.BEAN
> > at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517)
> > at
> org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:188)
> > at
> /ExtraCustomerDetails.jsp._jspService(/ExtraCustomerDetails.jsp.java:64)
> (JSP page line 16)
> > at com.orionserver[Orion/1.5.2 (build
> 10460)].http.OrionHttpJspPage.service(Unknown Source)
> > at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)
> >
> > Is this something obvious I've done wrong?
> >
> > Tim.
> >
> >
> > -Original Message-
> > From: Sarah Farrell [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, February 25, 2002 9:54 PM
> > To: Struts Users Mailing List
> > Subject: Re: Form Bean problem
> >
> >
> > The error sounds like it is referring to the taglib struts-bean.tld,
> whether
> > or
> > not it is a legitimate error, I'm not sure.
> >
> > Try taking out the line
> > 
> > from your jsp and change the button tags back to regular HTML where
> > 
> >   
> > 
> > would become
> > 
> > and
> > 
> >   
> > 
> > would become
> > 
> >
> > And then tell us if you get the same error message, or a different one.
> >
> > ??
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> &lang=en">[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> &lang=en">[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   &lang=en">[EMAIL PROTECTED]>
> For additional commands, e-mail: &lang=en">[EMAIL PROTECTED]>





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Form Bean problem

2002-02-26 Thread Jean-Guillaume LALANNE

Hi,

I have got the same type of problem and it was due to the fact that my
property was not lowercase...
Have a look at your JSP and specially to your "dob" property ...

Hope that helps

Jean-Guillaume LALANNE

- Original Message -
From: "Tim Sawyer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Tim Sawyer" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2002 11:50 AM
Subject: Re: Form Bean problem


> Nope, same error.  It seems to be in the html library somewhere.
>
> javax.servlet.jsp.JspException: No getter method for property dob of bean
org.apache.struts.taglib.html.BEAN
> at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517)
> at
org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:188)
> at
/ExtraCustomerDetails.jsp._jspService(/ExtraCustomerDetails.jsp.java:64)
(JSP page line 16)
> at com.orionserver[Orion/1.5.2 (build
10460)].http.OrionHttpJspPage.service(Unknown Source)
> at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)
>
> Is this something obvious I've done wrong?
>
> Tim.
>
>
> -Original Message-
> From: Sarah Farrell [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 25, 2002 9:54 PM
> To: Struts Users Mailing List
> Subject: Re: Form Bean problem
>
>
> The error sounds like it is referring to the taglib struts-bean.tld,
whether
> or
> not it is a legitimate error, I'm not sure.
>
> Try taking out the line
> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
> from your jsp and change the button tags back to regular HTML where
> 
>   
> 
> would become
> 
> and
> 
>   
> 
> would become
> 
>
> And then tell us if you get the same error message, or a different one.
>
> ??
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Form Bean problem

2002-02-26 Thread Tim Sawyer

Nope, same error.  It seems to be in the html library somewhere.

javax.servlet.jsp.JspException: No getter method for property dob of bean 
org.apache.struts.taglib.html.BEAN
at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517)
at org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:188)
at /ExtraCustomerDetails.jsp._jspService(/ExtraCustomerDetails.jsp.java:64) 
(JSP page line 16)
at com.orionserver[Orion/1.5.2 (build 
10460)].http.OrionHttpJspPage.service(Unknown Source)
at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)

Is this something obvious I've done wrong?

Tim.


-Original Message-
From: Sarah Farrell [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 9:54 PM
To: Struts Users Mailing List
Subject: Re: Form Bean problem


The error sounds like it is referring to the taglib struts-bean.tld, whether
or
not it is a legitimate error, I'm not sure.

Try taking out the line
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
from your jsp and change the button tags back to regular HTML where

  

would become

and

  

would become


And then tell us if you get the same error message, or a different one.

??




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Form Bean problem

2002-02-25 Thread Sarah Farrell

The error sounds like it is referring to the taglib struts-bean.tld, whether or
not it is a legitimate error, I'm not sure.

Try taking out the line
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
from your jsp and change the button tags back to regular HTML where

  

would become

and 

  

would become


And then tell us if you get the same error message, or a different one.

??



At 11:30 AM 2/25/2002 -0500, you wrote:
>Sorry Tim,
>
>I've only been learning this stuff for a couple of weeks myself. I don't
>know what org.apache.struts.taglib.html.BEAN is referring to here. I was
>just responding to what was obvious to me.
>
>maybe one of the gurus will step in. the list seems pretty quiet today
>though.
>
>Good luck,
>Dave D
>
>
>- Original Message -
>From: "Tim Sawyer" <[EMAIL PROTECTED]>
>
>
>> Dderry <[EMAIL PROTECTED]> wrote :
>>
>> > Do you have an Action Mapping for saveExtraPersonDetails.do?
>>
>> Yes:
>>
>> >
>type="com.pancredit.tkbespoke.tjs.strutstest.action.AddExtraPersonDetailsPos
>tAction"
>>name="addExtraPersonDetailsForm"
>>   scope="session"
>>   input="/ExtraCustomerDetails.jsp">
>>   
>> 
>>
>> but it doesn't even display the page, so it doesn't get that far.
>>
>> >Does it use also use addExtraPersonDetailsForm?
>>
>> Yes, see above.
>>
>> >Do you have a   .
>> >entry in struts-config.xml?
>>
>> Yes:
>>
>> >
>type="com.pancredit.tkbespoke.tjs.strutstest.form.AddExtraPersonDetailsForm"
>/>
>>
>> > It appears to me that the addExtraPersonDetailsForm is not being used
>since
>> > the error msg states that org.apache.struts.taglib.html.BEAN has no
>getter
>> > method for dob.
>>
>> I thought that too, but if I put the error handling back in, it finds it.
>That suggests to me that  it is using the right form bean.  But if it is,
>then why doesn't it work
>>
>> What is org.apache.struts.taglib.html.BEAN actually referring to?
>>
>> Tim.
>> >
>>
>
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Form Bean problem

2002-02-25 Thread dderry

Sorry Tim,

I've only been learning this stuff for a couple of weeks myself. I don't
know what org.apache.struts.taglib.html.BEAN is referring to here. I was
just responding to what was obvious to me.

maybe one of the gurus will step in. the list seems pretty quiet today
though.

Good luck,
Dave D


- Original Message -
From: "Tim Sawyer" <[EMAIL PROTECTED]>


> Dderry <[EMAIL PROTECTED]> wrote :
>
> > Do you have an Action Mapping for saveExtraPersonDetails.do?
>
> Yes:
>
> 
type="com.pancredit.tkbespoke.tjs.strutstest.action.AddExtraPersonDetailsPos
tAction"
>name="addExtraPersonDetailsForm"
>   scope="session"
>   input="/ExtraCustomerDetails.jsp">
>   
> 
>
> but it doesn't even display the page, so it doesn't get that far.
>
> >Does it use also use addExtraPersonDetailsForm?
>
> Yes, see above.
>
> >Do you have a   .
> >entry in struts-config.xml?
>
> Yes:
>
> 
type="com.pancredit.tkbespoke.tjs.strutstest.form.AddExtraPersonDetailsForm"
/>
>
> > It appears to me that the addExtraPersonDetailsForm is not being used
since
> > the error msg states that org.apache.struts.taglib.html.BEAN has no
getter
> > method for dob.
>
> I thought that too, but if I put the error handling back in, it finds it.
That suggests to me that  it is using the right form bean.  But if it is,
then why doesn't it work
>
> What is org.apache.struts.taglib.html.BEAN actually referring to?
>
> Tim.
> >
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Form Bean problem

2002-02-25 Thread Tim Sawyer

Dderry <[EMAIL PROTECTED]> wrote :

> Do you have an Action Mapping for saveExtraPersonDetails.do? 

Yes:


  


but it doesn't even display the page, so it doesn't get that far.

>Does it use also use addExtraPersonDetailsForm? 

Yes, see above.

>Do you have a   . 
>entry in struts-config.xml?

Yes:



> It appears to me that the addExtraPersonDetailsForm is not being used since
> the error msg states that org.apache.struts.taglib.html.BEAN has no getter
> method for dob.

I thought that too, but if I put the error handling back in, it finds it.  That 
suggests to me that  it is using the right form bean.  But if it is, then why doesn't 
it work

What is org.apache.struts.taglib.html.BEAN actually referring to?

Tim.
> 
> - Original Message -
> From: "Tim Sawyer" &lang=en">[EMAIL PROTECTED]>
> To: &lang=en">[EMAIL PROTECTED]>
> Sent: Monday, February 25, 2002 10:41 AM
> Subject: Form Bean problem
> 
> 
> > Hello.
> >
> > I'm calling a JSP page as the successful outcome of an action, and it's
> complaining that one of my get methods doesn't exist.  I can't work out
> what's going on, can someone give me a nudge in the right direction?
> >
> > The page contains a form, for entering date of birth and marital status
> (for now, I'm still messing with a test project).  If I define no form bean
> for this action, I get an error saying it can't find the getter method.  If
> I define the form bean and leave the Validate() method checking for nulls, I
> get validation errors (correctly).  If I remove the validation code, then I
> get the getter method not found error again.Surely I shouldn't have to
> define the form bean at all?
> >
> > Is there any reference to the flow of methods called between a call to a
> do and displaying a success JSP anywhere?
> >
> > --Action Mapping--
> >
> > 
> >
> type="com.pancredit.tkbespoke.tjs.strutstest.action.AddExtraPersonDetailsPre
> Action"
> >name="addExtraPersonDetailsForm"
> >   scope="session"
> >   input="/AddFindParty/FindPartyResults.jsp">
> >   
> >
> > ExtraCustomerDetails.JSP --
> >
> > 
> > 
> > 
> > 
> > 
> > Untitled Document
> > 
> >
> > 
> > Please enter the following customer details: 
> > 
> > 
> >   
> > 
> >   Date of Birth:
> >   
> > 
> >   
> >   Marital status:
> >   
> > 
> >   
> > 
> > 
> >    
> >   
> > 
> >   
> > 
> > 
> >   
> > 
> >   
> > 
> >   
> > 
> >   
> > 
> > 
> >
> > -Form
> Bean--
> > public class AddExtraPersonDetailsForm extends AbstractActionForm
> > {
> >   private String dob = null;
> >   private String maritalStatusID = null;
> >
> >
> >   /** Creates a new instance of Class */
> >   public AddExtraPersonDetailsForm()
> >   {
> >   }
> >
> >
> >   /** Getter for property maritalStatusID.
> >* @return Value of property maritalStatusID.
> >*/
> >   public java.lang.String getMaritalStatusID()
> >   {
> > return maritalStatusID;
> >   }
> >
> >   /** Setter for property maritalStatusID.
> >* @param maritalStatusID New value of property maritalStatusID.
> >*/
> >   public void setMaritalStatusID(java.lang.String maritalStatusID)
> >   {
> > this.maritalStatusID = maritalStatusID;
> >   }
> >
> >   /** This method is called when the user submits the form.  It should
> validate the
> >* data that has been entered for mandatory variables etc.
> >*/
> >   protected ActionErrors onValidate(ActionMapping mapping,
> HttpServletRequest request)
> >   {
> > ActionErrors lErrors = new ActionErrors();
> >
> > //this.checkMandatory(lErrors, this.dob, "dob",
> "addFindPartyModule.errors.dobMissing");
> > //this.checkMandatory(lErrors, this.maritalStatusID,
> "maritalStatusID", "addFindPartyModule.errors.maritalStatusIDMissing");
> >
> > return lErrors;
> >   }
> >
> >   /** This method is called when the user pushes the Reset button on the
> form.
> >* It should assign all of the fields on the form null.
> >*/
> >   protected void onReset(ActionMapping mapping, HttpServletRequest
> request)
> >   {
> > //this.dob = null;
> > //this.maritalStatusID = null;
> >   }
> >
> >   /** Getter for property dob.
> >* @return Value of property dob.
> >*/
> >   public java.lang.String getDob()
> >   {
> > return dob;
> >   }
> >
> >   /** Setter for property dob.
> >* @param dob New value of property dob.
> >*/
> >   public void setDob(java.lang.String dob)
> >   {
> > this.dob = dob;
> >   }
> >
> > --Top of Error
> stack--
> >
> > javax.servlet.jsp.JspException: No getter method for property dob of bean
> org.apache.struts.taglib.html.BEAN

Re: Form Bean problem

2002-02-25 Thread dderry

Do you have an Action Mapping for saveExtraPersonDetails.do? Does it use
also use addExtraPersonDetailsForm? Do you have a   
. entry in
struts-config.xml?

It appears to me that the addExtraPersonDetailsForm is not being used since
the error msg states that org.apache.struts.taglib.html.BEAN has no getter
method for dob.



- Original Message -
From: "Tim Sawyer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 10:41 AM
Subject: Form Bean problem


> Hello.
>
> I'm calling a JSP page as the successful outcome of an action, and it's
complaining that one of my get methods doesn't exist.  I can't work out
what's going on, can someone give me a nudge in the right direction?
>
> The page contains a form, for entering date of birth and marital status
(for now, I'm still messing with a test project).  If I define no form bean
for this action, I get an error saying it can't find the getter method.  If
I define the form bean and leave the Validate() method checking for nulls, I
get validation errors (correctly).  If I remove the validation code, then I
get the getter method not found error again.Surely I shouldn't have to
define the form bean at all?
>
> Is there any reference to the flow of methods called between a call to a
do and displaying a success JSP anywhere?
>
> --Action Mapping--
>
> 
type="com.pancredit.tkbespoke.tjs.strutstest.action.AddExtraPersonDetailsPre
Action"
>name="addExtraPersonDetailsForm"
>   scope="session"
>   input="/AddFindParty/FindPartyResults.jsp">
>   
>
> ExtraCustomerDetails.JSP --
>
> <%@ page language="java" %>
> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
> 
> 
> Untitled Document
> 
>
> 
> Please enter the following customer details: 
> 
> 
>   
> 
>   Date of Birth:
>   
> 
>   
>   Marital status:
>   
> 
>   
> 
> 
>    
>   
> 
>   
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
> 
>
> -Form
Bean--
> public class AddExtraPersonDetailsForm extends AbstractActionForm
> {
>   private String dob = null;
>   private String maritalStatusID = null;
>
>
>   /** Creates a new instance of Class */
>   public AddExtraPersonDetailsForm()
>   {
>   }
>
>
>   /** Getter for property maritalStatusID.
>* @return Value of property maritalStatusID.
>*/
>   public java.lang.String getMaritalStatusID()
>   {
> return maritalStatusID;
>   }
>
>   /** Setter for property maritalStatusID.
>* @param maritalStatusID New value of property maritalStatusID.
>*/
>   public void setMaritalStatusID(java.lang.String maritalStatusID)
>   {
> this.maritalStatusID = maritalStatusID;
>   }
>
>   /** This method is called when the user submits the form.  It should
validate the
>* data that has been entered for mandatory variables etc.
>*/
>   protected ActionErrors onValidate(ActionMapping mapping,
HttpServletRequest request)
>   {
> ActionErrors lErrors = new ActionErrors();
>
> //this.checkMandatory(lErrors, this.dob, "dob",
"addFindPartyModule.errors.dobMissing");
> //this.checkMandatory(lErrors, this.maritalStatusID,
"maritalStatusID", "addFindPartyModule.errors.maritalStatusIDMissing");
>
> return lErrors;
>   }
>
>   /** This method is called when the user pushes the Reset button on the
form.
>* It should assign all of the fields on the form null.
>*/
>   protected void onReset(ActionMapping mapping, HttpServletRequest
request)
>   {
> //this.dob = null;
> //this.maritalStatusID = null;
>   }
>
>   /** Getter for property dob.
>* @return Value of property dob.
>*/
>   public java.lang.String getDob()
>   {
> return dob;
>   }
>
>   /** Setter for property dob.
>* @param dob New value of property dob.
>*/
>   public void setDob(java.lang.String dob)
>   {
> this.dob = dob;
>   }
>
> --Top of Error
stack--
>
> javax.servlet.jsp.JspException: No getter method for property dob of bean
org.apache.struts.taglib.html.BEAN
> at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517)
> at
org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:188)
> at
/ExtraCustomerDetails.jsp._jspService(/ExtraCustomerDetails.jsp.java:70)
(JSP page line 17)
> at com.orionserver[Orion/1.5.2 (build
10460)].http.OrionHttpJspPage.service(Unknown Source)
>
>
> cheers,
>
> Tim.
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: