Hi!
What are the names of the Methods in the ActionForm that are called
if I have more than one html:image in my form. I know that setX()
and setY() are called if I set the property of the html:image-tag
to . But how can I detect which button was hit?
Example:
html:form action=/map
Hi!
I am having trouble resetting a StringArray that is connected to a html:multibox-tag.
HTML-Example:
html:form action=/map method=GET
html:multibox value=parking property=layer/
html:multibox value=petrol property=layer/
html:image property=layers
On Sat, Sep 15, 2001 at 09:21:47AM +0200, Marcel Andres wrote:
Hi
I handle something like this, how you describe it at last. I
route both buttons to a single action class, and this class decides,
based on the pressed button (value), what to do.
How do you do this with image-buttons
Hi!
I posted a problem about not beeing able to differentiate between
multiple html:image-tags in the form bean.
While I am not sure I have understand the whole problem I found a
solution that works for me (and maybe for others too).
I modified org.apache.struts.util.BeanUtils.java:
On Fri, Sep 21, 2001 at 09:25:31AM -0400, Terence Jacyno wrote:
Hi.
Struts would call getLogin() or getCancel(), depending on whether the
user clicked Login or Cancel. You can then test which button was
clicked by calling isCancelPressed() and isCancelPressed(). Trust me.
It works.
On Sat, Sep 22, 2001 at 02:52:17AM +0200, Dirk Jaeckel wrote:
On Fri, Sep 21, 2001 at 09:25:31AM -0400, Terence Jacyno wrote:
Hi.
Struts would call getLogin() or getCancel(), depending on whether the
user clicked Login or Cancel. You can then test which button was
clicked
6 matches
Mail list logo