You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2007/04/13 02:20:15 UTC

[jira] Resolved: (WICKET-461) Wrong display in Firefox for an ajax element in a template page

     [ https://issues.apache.org/jira/browse/WICKET-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-461.
----------------------------------

       Resolution: Invalid
    Fix Version/s: 1.3

problem1: invalid markup

this is because you are missing <td> </td> elements. see DempPage.html where you have
<tr><span wicket:id="demoPanel"/></tr>
it should be 
<tr><td><span wicket:id="demoPanel"/></td></tr>

problem2: ajax indicator doesnt show up

what you are doing doesnt make sense, you are adding a formsubmittingbehavior to ajaxsubmitbutton. ajax submit button already has this behavior added to it. furthermore you are adding this behavior to the button's onsubmit javascript callback, which of course doesnt make sense because the button doesnt have it, only the form has onsubmit afaik.

so solution would be to create a subclass of ajaxformsubmitbutton and let it implement iajaxindicatoraware. a simpler solution would be to simply use IndicatingAjaxSubmitButton :)



> Wrong display in Firefox for an ajax element in a template page
> ---------------------------------------------------------------
>
>                 Key: WICKET-461
>                 URL: https://issues.apache.org/jira/browse/WICKET-461
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3
>         Environment: Windows XP Pro SP2
> Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
> Apache Tomcat/5.5.20
>            Reporter: ZedroS Schwartz
>         Assigned To: Igor Vaynberg
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: demo.zip, screenshot-1.jpg, screenshot-2.jpg
>
>
> The issue appears in a form containing an Ajax submit button. At the first display, the button is shown in a blackened row.
> The, when the form is posted with the Ajax button, a new button appears above the already present one. Each time the button is clicked a new button appears. All these buttons can be used to post the form.
> I'll attach some pictures in the issue to better explain it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.