click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (JIRA)" <j...@apache.org>
Subject [jira] Created: (CLK-546) Removing AutoCompleteTextField does not remove it from its parent Page
Date Fri, 01 May 2009 15:05:30 GMT
Removing AutoCompleteTextField does not remove it from its parent Page
----------------------------------------------------------------------

                 Key: CLK-546
                 URL: https://issues.apache.org/jira/browse/CLK-546
             Project: Click
          Issue Type: Bug
          Components: extras
    Affects Versions: 2.1.0, 2.0.2, 1.5.2
            Reporter: Bob Schellink
            Assignee: Bob Schellink
            Priority: Minor


> If you add an AutoCompleteTextField to a form and then attempt to remove the field from
the form, the <input> field itself is removed but the generated <script> code
remains. This causes a browser script error when the page is rendered. 

The reason the JavaScript is still rendered is because the AutoCompleteTextField is also added
to its parent Page in order for Ajax callbacks to work properly.

We need to remove the field from the page when the field is removed from its parent container.

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


Mime
View raw message