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=13555>.
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=13555

error in LookupDispatchAction javadoc

           Summary: error in LookupDispatchAction javadoc
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Documentation
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The javadoc for LookupDispatchAction says:

Your subclass must implement both getKeyMethodMap and the methods defined in 
the map. An example of such implementations are:

  protected Map getKeyMethodMap(ActionMapping mapping,
           ActionForm form,
          HttpServletRequest request) {
      Map map = new HashMap();
      map.put("button.add", "add");
      map.put("button.delete", "delete");
      return map;
  }

However, when I pasted that into my code, the compiler complained that I ought 
to declare my class abstract since it didn't implement getKeyMethodMap().  

Apparently getKeyMethodMap is not supposed to have any parameters.

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

Reply via email to