Michael, Sorry its not something thats an issue for me at the moment and so its not high on my priorities to spend time giving some thought to.
Niall ----- Original Message ----- From: "Michael McGrady" <[EMAIL PROTECTED]> To: "Struts Developers List" <[EMAIL PROTECTED]> Sent: Tuesday, August 10, 2004 5:16 PM Subject: Re: <html:image> this.that.x=4 and this.that.y=9 translations in ActionForm > At 08:53 AM 8/10/2004, you wrote: > >Have you tried this with the latest nightly build - I was having similar > >problems with some of the standard parameters struts uses (e.g. Cancel > >button indicator and Transaction tokens) - my forms were trying to get the > >"org" bean. > > > >I changed the form population mechanims to ignore parameters that start > >"org.apache.struts." recently to resolve this - try it with the nightly > >build. > > > >Niall > > > This is good news, Niall. I have a thought. I don't think anyone in > Struts has a use for the x and y values we get from html images. The real > use is for the parameter name and not the parameter value. Presently we > use fancy work arounds to deal with the fact that the names are read as > follows, e.g. for <input type='image' name='button.submit'>: > > [form].getButton().getSubmit().setX(Integer x); > > What would work better would be something where "name='submit'" in an html > image tag would be rendered as [form].setButtonCommand("submit"). This > would be easy to do by seeing what parameter name ended with .x and with > .y. Then, anyone that wanted to get whatever command could do so without > the workarounds like I use in > http://wiki.apache.org/struts/StrutsCatalogMultipleImageButtonsWithNoJavaScript. > > What do you think? Where could this be attacked? > > Michael > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]