Overwritten getWidgetClass method for LimitingResourcesPanel
* Using setWidgetClass won't do anything if we want to use a different widget-class. This happens because LimitingResourcesPanel extends HTMLMacroComponent and this class overwrites getWidgetclass too, for returning the "zk.Macro" string. So when redrawing the component, the _wgtcls (widget class) property, setted with setWidgetClass, wont't we used well the redraw method calls getWidgetClass FEA: ItEr02S03MigracionZK5
This commit is contained in:
parent
833ec2cd2e
commit
8a9fb40137
1 changed files with 4 additions and 1 deletions
|
|
@ -36,8 +36,8 @@ import org.navalplanner.business.resources.daos.IResourceDAO;
|
|||
import org.navalplanner.business.resources.entities.LimitingResourceQueue;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.zkoss.ganttz.timetracker.TimeTracker;
|
||||
import org.zkoss.ganttz.timetracker.TimeTrackerComponent;
|
||||
import org.zkoss.ganttz.timetracker.TimeTracker.IDetailItemFilter;
|
||||
import org.zkoss.ganttz.timetracker.TimeTrackerComponent;
|
||||
import org.zkoss.ganttz.timetracker.zoom.DetailItem;
|
||||
import org.zkoss.ganttz.timetracker.zoom.IZoomLevelChangedListener;
|
||||
import org.zkoss.ganttz.timetracker.zoom.ZoomLevel;
|
||||
|
|
@ -614,4 +614,7 @@ public class LimitingResourcesPanel extends HtmlMacroComponent {
|
|||
}
|
||||
}
|
||||
|
||||
public String getWidgetClass() {
|
||||
return "limitingresources.LimitingResourcesPanel";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue