public SubConfigModelImpl(HttpServletRequest req,String serviceName,String parentId,Map map) throws AMConsoleException {
  super(req,map);
  this.serviceName=serviceName;
  this.parentId=parentId;
  subConfigMeta=new SubConfigMeta(serviceName,this);
  subConfigMeta.setParentId(parentId);
  displayName=subConfigMeta.getParentDisplayName();
}

public SubConfigModelImpl ( HttpServletRequest req , String serviceName , String parentId , Map map ) throws AMConsoleException { super ( req , map ) ; this . serviceName = serviceName ; this . parentId = parentId ; subConfigMeta = new SubConfigMeta ( serviceName , this ) ; subConfigMeta . setParentId ( parentId ) ; displayName = subConfigMeta . getParentDisplayName ( ) ; }
creates a simple model using default resource bundle .
