PDA

View Full Version : showing / hiding borders



gammagec
8 Aug 2008, 3:13 AM
Problem with El.java

public El setBorders(boolean show) {
if (show) {
addStyleName("x-border");
} else {
setStyleAttribute("border", "none");
}
return this;
}

will not reshow border after calling setBorders(true), then false, then true...