Hi All i have a use cse using a LookupDispatchAction i have a button named
"preview" which i want to change to "Preview".
I tried changing my Action class with the new notation with out luck, also
is it possible to have a different method name than the button, i will have
to internationlize my application and looks like i am stuck. Any ideas would
be appreciated.


Application.properties :

button.media.preview = preview.....want to use Preview or spanish version of
it


Action Class:

protected Map getKeyMethodMap() {

        Map map = new HashMap();
        map.put("button.media.preview", "preview");  ......can i trade in
"preview" with some thing else and name the method                                     
                                    the same
        return map;
}

public ActionForward preview(ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
  throws IOException, ServletException {

  return mapping.findForward("preview");
}

Regards
Rajesh


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

Reply via email to