Hello

I've tried following this
http://struts.apache.org/2.x/docs/html-form-buttons-howto.html, to
determine in my validate() method of my action to check wich button
was pressed, It doesn't seem to work though.

    private boolean selecaoOk = false;

    public void setSelecaoOk(boolean selecaoOk) {
        this.selecaoOk = selecaoOk;
    }

And in my jsp:

    <s:submit value="Próximo" name="selecaoOk"/>

But when the form is submitted the selecaoOk variable is false.

Has anyone succeed in determing wich button was pressed with Struts2.0.9?

Any tips?

Thanks

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

Reply via email to