Workaround for IE Bug in <button>
---------------------------------

         Key: COCOON-1807
         URL: http://issues.apache.org/jira/browse/COCOON-1807
     Project: Cocoon
        Type: Improvement
  Components: Blocks: Forms  
    Versions: 2.1.8, 2.2-dev (Current SVN), 2.1.9-dev (current SVN)    
    Reporter: Rolf Metternich
    Priority: Minor
 Attachments: Action.patch

Special workaround  IE Bug for 
<button type="button" title="row up" 
name="results.0.columns.0.result-column-move-up" 
id="results.0.columns.0.result-column-move-up"
value="row up" onClick="forms_submitForm(this);"><img src="up.gif" 
border="0"></button>

The IE returns the values of all button in every row, so there are multiple 
submitWidgets!

My Workaround is using the onClick-Event to remember the button name by using 
the known js-function "forms_submitForm(this)". In the Action-class I check if 
the field "forms_submit_id" is set and use this as SubmitWidget. 

I'm using this patch since 1 year and it works fine.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira