Re: Slight misunderstanding regarding Form-beans
You are not alone Thorbjørn! See. http://www.mail-archive.com/struts-user@jakarta.apache.org/msg20608.html Keith. --- Thorbjørn_Ravn_Andersen [EMAIL PROTECTED] wrote: torsdag februar 28 2002 kl. 03:53 PM skrev David A. D. Konrad: I am trying to create my first real struts application, but I had trouble with my Form-Bean was always null in my derived perform routine. I found that my FormBean was extending Object instead of org.apache.struts.action. .ActionForm, and that correcting this fixed my problem. I would have appreciated that Struts complained to the browser instead of silently discarding my bean. Struts cannot be responsible for handling ANY kind of misuse - imho! I would be perfectly happy with an exception thrown. Or a log entry. Or just about ANYTHING from the system except complete silence. I am trying to make people use this system, and I am the most experienced Javacoder here. I will readily admit that it doesn't mean much, when it takes me hours to figure out what would have stared me straight in the eye if I had gotten a typecast exception. I am sincerely trying to make this work, since I would be well of being able to show real functionality by Monday, but if I run into more problems like this - being a newbie this will happen if it can - then I might not be able to. Are there other common newbie traps that I should be aware of? I have 1500 unread messages on this list, so I am not quite up to date (but I have time after Monday). Thank you all in advance, -- Thorbjørn Ravn Andersen Scandiatransplant, c/o Christian Mondrup 89 49 53 01 http://biobase.dk/~tra -- 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 - sign up for Fantasy Baseball http://sports.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Slight misunderstanding regarding Form-beans
I am trying to create my first real struts application, but I had trouble with my Form-Bean was always null in my derived perform routine. I found that my FormBean was extending Object instead of org.apache.struts.action. .ActionForm, and that correcting this fixed my problem. I would have appreciated that Struts complained to the browser instead of silently discarding my bean. Struts cannot be responsible for handling ANY kind of misuse - imho! regards, -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Slight misunderstanding regarding Form-beans
Agreed. It also doesn't complain if you misspell the type in the form-beans section, but that's my fault. There is a point at which we as developers have to take responsibility for our own code... -Original Message- From: David A. D. Konrad [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 9:53 AM To: Struts Users Mailing List Subject: Re: Slight misunderstanding regarding Form-beans I am trying to create my first real struts application, but I had trouble with my Form-Bean was always null in my derived perform routine. I found that my FormBean was extending Object instead of org.apache.struts.action. .ActionForm, and that correcting this fixed my problem. I would have appreciated that Struts complained to the browser instead of silently discarding my bean. Struts cannot be responsible for handling ANY kind of misuse - imho! regards, -- 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: Slight misunderstanding regarding Form-beans
torsdag februar 28 2002 kl. 03:53 PM skrev David A. D. Konrad: I am trying to create my first real struts application, but I had trouble with my Form-Bean was always null in my derived perform routine. I found that my FormBean was extending Object instead of org.apache.struts.action. .ActionForm, and that correcting this fixed my problem. I would have appreciated that Struts complained to the browser instead of silently discarding my bean. Struts cannot be responsible for handling ANY kind of misuse - imho! I would be perfectly happy with an exception thrown. Or a log entry. Or just about ANYTHING from the system except complete silence. I am trying to make people use this system, and I am the most experienced Javacoder here. I will readily admit that it doesn't mean much, when it takes me hours to figure out what would have stared me straight in the eye if I had gotten a typecast exception. I am sincerely trying to make this work, since I would be well of being able to show real functionality by Monday, but if I run into more problems like this - being a newbie this will happen if it can - then I might not be able to. Are there other common newbie traps that I should be aware of? I have 1500 unread messages on this list, so I am not quite up to date (but I have time after Monday). Thank you all in advance, -- Thorbjørn Ravn Andersen Scandiatransplant, c/o Christian Mondrup 89 49 53 01 http://biobase.dk/~tra -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]