Christofer Dutz wrote:

Hi,

I was experinmenting with different submit buttons on my forms. I didn't bother given the buttons Labels and this resulted in the form.submitId parameter beeing set to null. After giving the button a title everything worked fine ... is there a reason for this?


Hmm... if you don't set a label, this produces a <input type="submit" name="foo"> with no value attribute. As the "foo=value" parameter is used to find the action that triggered the action, that's why it isn't recognized.

Now the code tests that parameter exists and has a non-empty value. Just checking that it exists is actually enough and would solve your problem. I'll fix this.

Sylvain

--
Sylvain Wallez                        Anyware Technologies
http://apache.org/~sylvain            http://anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


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

Reply via email to