Eindeutige Id's CC (#1699)

erledigt

git-svn-id: https://svn.libreccm.org/ccm/trunk@2460 8810af33-2d31-482b-a856-94f89814c4df
master
quasi 2013-11-26 21:05:01 +00:00
parent edd6971282
commit e85fde631b
2 changed files with 9 additions and 1 deletions

View File

@ -75,7 +75,9 @@ import com.arsdigita.web.Web;
*/ */
public class ContentSectionContainer extends CMSContainer { public class ContentSectionContainer extends CMSContainer {
private ContentSectionTable m_table; private static final String CONTENT_SECTION_CLASS = "contentSections";
private ContentSectionTable m_table;
private FormContainer m_formContainer; private FormContainer m_formContainer;
private SingleSelectionModel m_typeSel; private SingleSelectionModel m_typeSel;
private SingleSelectionModel m_sectionSel; private SingleSelectionModel m_sectionSel;
@ -97,6 +99,7 @@ public class ContentSectionContainer extends CMSContainer {
public ContentSectionContainer(SingleSelectionModel typeSel, public ContentSectionContainer(SingleSelectionModel typeSel,
SingleSelectionModel sectionSel) { SingleSelectionModel sectionSel) {
super(); super();
setClassAttr(CONTENT_SECTION_CLASS);
m_typeSel = typeSel; m_typeSel = typeSel;
m_sectionSel = sectionSel; m_sectionSel = sectionSel;

View File

@ -103,6 +103,7 @@ public class TasksPanel extends CMSContainer {
private StringParameter m_sortTypeParam; private StringParameter m_sortTypeParam;
private StringParameter m_lockFilterParam; private StringParameter m_lockFilterParam;
// control link variable // control link variable
private static final String TASK_PANEL_CLASS = "taskPanel";
private static final String TASK_ACTION = "taskAction"; private static final String TASK_ACTION = "taskAction";
private static final String SORT_DOWN = "sortActionUp"; private static final String SORT_DOWN = "sortActionUp";
private static final String SORT_UP = "sortActionDown"; private static final String SORT_UP = "sortActionDown";
@ -149,6 +150,10 @@ public class TasksPanel extends CMSContainer {
public TasksPanel(int maxRows, ACSObjectSelectionModel typeModel, public TasksPanel(int maxRows, ACSObjectSelectionModel typeModel,
ACSObjectSelectionModel sectionModel) { ACSObjectSelectionModel sectionModel) {
super(); super();
// Set class attribute
setClassAttr(TASK_PANEL_CLASS);
m_maxRows = maxRows; m_maxRows = maxRows;
m_typeSel = typeModel; m_typeSel = typeModel;