Colm wrote:
> I am getting the following error on , which I can't figure out:
> HTTP ERROR: 500 Request[/test] does not contain handler parameter named
updateMethod RequestURI=/clientdb/test.do

If you're getting to that Action with a link, the link should include:
?updateMethod=something at the end.  (Plus whatever other parameters you
need, perhaps a record ID or something else.)  The 'something' should match
the value of one of the properties you defined in getKeyMethodMap() so that
the framework can figure out which method in the LDA to call.

I don't use <html:link> but I'm sure there's a way to add parameters to the
links.

LDA has an 'unspecified' method which gets called when the value of
'updateMethod' doesn't match anything in getKeyMethodMap().  I think
unspecified should also be called in this case, so you can provide a default
behavior if the parameter is missing.  I *thought* that was under discussion
on struts-dev at one point.  What version of Struts are you using?

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 

Reply via email to