[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-1503) Admin Portlet, Content Type drop down list causes exessive page reloads

Chris DeLashmutt (JIRA) jira-events at lists.jboss.org
Mon Jun 25 13:57:16 EDT 2007


Admin Portlet, Content Type drop down list causes exessive page reloads
-----------------------------------------------------------------------

                 Key: JBPORTAL-1503
                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1503
             Project: JBoss Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Portal Core
    Affects Versions: 2.6 CR3
         Environment: Firefox 2.0.0.1 on Fedora Core 6
            Reporter: Chris DeLashmutt
         Assigned To: Julien Viet


When you go to the administrative portal, and click on and portal, and click on "Page Layout" for any page, there is a drop down list at the top of the portlet labeled "Content Type".  There is an event tied to the the "onclick" handler for this component that causes a form submission every time the field is clicked.  This means that if the user clicks once on the drop down, then the page is actually submitted before the user can choose a value from the drop down list.  This behavior is unexpected as drop down lists allow the user to click once on them to view the contained list before causing some action to occur.  Also, even if the value of the field isn't changed, the page will be resubmitted.  This submission logic should probably be changed to the "onchange" event to correct both of these issues.  I have validated that changing to this event works properly in Firefox.

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

        



More information about the jboss-jira mailing list