cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rolf Metternich (JIRA)" <>
Subject [jira] Created: (COCOON-1807) Workaround for IE Bug in <button>
Date Thu, 23 Mar 2006 09:37:59 GMT
Workaround for IE Bug in <button>

         Key: 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:
For more information on JIRA, see:

View raw message