Martijn Dashorst wrote:
Currently everybody assumes (correctly) that the element is completely
removed (Ajax and non-Ajax), i.e. not present in the final markup.
This means that scripts that iterate through the dom, or check for the
document.getElementById() == null will fail if we implement this.
then you'll have to check for document.getElementById().style.display == "none" it's a bit longer to write, but it is semantically better. Indeed it checks a component *visibility*, and not its existence.

When I do setVisible(false), I expect setVisible(true) to work if called later, in ajax or not. Currently, it doesn't work in Ajax. Don't you think it is a real bug? If yes, I don't think breaking such scripts should be used as a pretext not to fix bugs ;-)


Fred

Reply via email to