struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel Groß <>
Subject Re: image submit and lookupDispatchAction - drives me struts
Date Mon, 28 Jun 2004 15:52:17 GMT
Hi Wendy thanks for the reply and the link!

But unfortunately i can't see how to implement those solutions to my
 problem (which I didn't describe elaborate enought)

My button names are of dynamic nature like
 DELETE_PROPERTY 'firstname'
(here firstname is the key of the property to delete)
so I can't use it for populating a bean. Or would using DynaBeans
help in this case? I don't know, in which class the html requests are
~transformed to beans, so I'm not sure how it is handled.

I rely would like to get rid of that horrible names.

Javascript isn't feasible for this project.
I suppose html 4.0 buttons could solve the problem, I'll try that. But
relying on html 4.0 also doesn't sound too good. :(

thanks again,

On 2004-06-25 at 09:12:07 -0700, Wendy Smoak wrote:
> > From: Axel Groß [] 
> > so the html:submit buttons do work, but neither of the 
> > html:image buttons 
> > pass the parameter on and i get a null reference for
> >  request.getParameter(parameter);
> > (with parameter.equals("action"))
> > the resulting error message is:
> >  Request[/action/lookupDispatch] does not contain handler 
> > parameter named action
> > anybody knows what could help?
> First hit: 
> which discusses the use of the ImageButtonBean class.
> Or, my preferred solution is a bit of onClick JavaScript to set the form property and
submit the form.  This only works in situations where where you can require that JavaScript
be enabled.
> -- 
> Wendy Smoak
> Application Systems Analyst, Sr.
> ASU IA Information Resources Management 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message