1 23 24 package org.infoglue.cms.applications.contenttool.actions; 25 26 import org.infoglue.cms.controllers.kernel.impl.simple.ContentController; 27 28 29 33 34 public class ViewContentRelationEditorAction extends ViewRelationEditorAction 35 { 36 private static final long serialVersionUID = 1L; 37 38 41 42 public ViewContentRelationEditorAction() 43 { 44 this.currentAction = "ViewContentRelationEditor.action"; 45 this.changeRepositoryAction = "ViewContentRelationEditor!changeRepository.action"; 46 this.currentEntity = "Content"; 47 this.currentEntityIdentifyer = "contentId"; 48 } 49 50 53 54 public String getQualifyerPath(String entityId) 55 { 56 try 57 { 58 return ContentController.getContentController().getContentVOWithId(new Integer (entityId)).getName(); 59 } 60 catch(Exception e) 61 { 62 e.printStackTrace(); 63 } 64 return ""; 65 } 66 67 68 69 } 70 | Popular Tags |