Hello,
this function has changed with SmartGWT 2.3:
It was
On an already drawn stack and sections we call getTitle(), but getID() returns null resulting in an error. We don't set IDs ourselves.
Calling getTitle() on a not yet drawn stack is OK.
SmartGWT 2.3 2010-08-09
this function has changed with SmartGWT 2.3:
Code:
/** * Title to show for the section * * @return String */ public String getTitle() { if(stack == null || !stack.isDrawn()) { return getAttributeAsString("title"); } else { return stack.getSection(getID()).getAttribute("title"); } }
Code:
public String getTitle() { return getAttributeAsString("title"); }
On an already drawn stack and sections we call getTitle(), but getID() returns null resulting in an error. We don't set IDs ourselves.
Calling getTitle() on a not yet drawn stack is OK.
SmartGWT 2.3 2010-08-09
Comment