You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ZedroS Schwartz (JIRA)" <ji...@apache.org> on 2007/04/12 10:39:32 UTC

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

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
            Priority: Minor


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.


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

Posted by "ZedroS Schwartz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ZedroS Schwartz updated WICKET-461:
-----------------------------------

    Attachment: demo.zip

> 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
>            Priority: Minor
>         Attachments: demo.zip
>
>
> 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.


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

Posted by "ZedroS Schwartz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ZedroS Schwartz updated WICKET-461:
-----------------------------------

    Attachment: screenshot-1.jpg

First display : the ajax submit button is in a black row, even if it should not be.

> 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
>            Priority: Minor
>         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.


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

Posted by "ZedroS Schwartz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ZedroS Schwartz updated WICKET-461:
-----------------------------------

    Attachment: screenshot-2.jpg

Third submit : multiple buttons appear.

> 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
>            Priority: Minor
>         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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "ZedroS Schwartz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488661 ] 

ZedroS Schwartz commented on WICKET-461:
----------------------------------------

Thanks a lot igor and... shame on me for this mistake. I'd been looking for a lot more complicated reason... 

For the IndicatingAjaxSubmitButton, I didn't know it was existing, but now that I know I plan to use it.



> 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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg reassigned WICKET-461:
------------------------------------

    Assignee: Igor Vaynberg

> 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
>         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.