You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/08/07 04:45:03 UTC
DO NOT REPLY [Bug 11516] New: -
Controller cannot detect getter methods of the ActionForm class
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11516>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11516
Controller cannot detect getter methods of the ActionForm class
Summary: Controller cannot detect getter methods of the
ActionForm class
Product: Struts
Version: 1.0.2 Final
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Controller
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: rkgraff@yahoo.com
"No getter method for property <someProperty> of bean <someBean>"
Not sure if this is documented somewhere, but I thought I'd mention my
discovery.
The Controller cannot detect getter methods of the ActionForm class when its
corrosponding member variable starts with a lowercase letter and the second
letter is uppercase.
I was trying to collect data from a html form field that was labeled "Short
Description". The member variable in the action form was "sDesc" and getter
method "getSDesc()". The app kept throwing Servlet Exceptions "No getter
method for property sDesc...."
Once I changed the member variable to "shortDesc" and the getter
to "getShortDesc()", the problem was resolved
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>