click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Schellink <sab...@gmail.com>
Subject AutoCompleteTextField remove issue
Date Fri, 01 May 2009 09:58:36 GMT
Hi all,

An issue was logged at our old JIRA system [1] which I'm not entirely 
sure how to solve cleanly.

AutoCompleteTextField always adds itself to the parent Page so if one 
were to remove the Field from the Form, the Field is still present on 
the Page. For stateful pages this creates a problem where the 
JavaScript is rendered even though the Field is not.

One way might be to override the field's setParent method to also 
remove it from the Page.

bob

Mime
View raw message