Examples of NeighborEmptyNameLabelListView


Examples of org.dmrad.view.listview.NeighborEmptyNameLabelListView

      add(new PropertyNameLabelListView("propertyNameLabelListView",
          essentialPropertyNames));

      List<String> childNeighborNames = lookupConceptConfig
          .getChildNeighborNames();
      add(new NeighborEmptyNameLabelListView(
          "neighborEmptyNameLabelListViewHead", childNeighborNames));

      ModelContext lookupModelContext = new ModelContext(modelContext);
      lookupModelContext.setContextEntities(lookupModelContext
          .getEntities());
      lookupModelContext.setEntities(lookupEntities);

      ViewContext lookupViewContext = new ViewContext(viewContext);
      lookupViewContext.setWicketId("entityLookupTableListView");
      PageableListView entityLookupTableListView = app.getViewMeta()
          .getPageableListView("EntityLookupTableListView",
              lookupModelContext, lookupViewContext);
      add(entityLookupTableListView);
      if (!app.isConceptDisplayAllowed(getAppSession(),
          lookupConceptConfig)) {
        entityLookupTableListView.setVisible(false);
      }

      add(new PropertyEmptyNameLabelListView(
          "propertyEmptyNameLabelListView", essentialPropertyNames));
      add(new PagingNavigator("blockNavigator", entityLookupTableListView));
      add(new NeighborEmptyNameLabelListView(
          "neighborEmptyNameLabelListViewTail", childNeighborNames));
    } catch (Exception e) {
      log.error("Error in EntityLookupTablePanel: "
          + modelContext.getEntitiesCode() + " - " + e.getMessage());
    }
View Full Code Here

Examples of org.dmrad.view.listview.NeighborEmptyNameLabelListView

          essentialPropertyNames));

      // Neighbor empty labels
      List<String> childNeighborNames = conceptConfig
          .getChildNeighborNames();
      add(new NeighborEmptyNameLabelListView(
          "neighborEmptyNameLabelListViewHead", childNeighborNames));

      ModelContext entityDisplayTableListModelContext = new ModelContext(
          modelContext);

      ViewContext entityDisplayTableListViewContext = new ViewContext(
          viewContext);
      entityDisplayTableListViewContext
          .setWicketId("entityDisplayTableListView");

      PageableListView entityDisplayTableListView = app.getViewMeta()
          .getPageableListView("EntityDisplayTableListView",
              entityDisplayTableListModelContext,
              entityDisplayTableListViewContext);
      add(entityDisplayTableListView);
      if (!app.isConceptDisplayAllowed(getAppSession(), conceptConfig)) {
        entityDisplayTableListView.setVisible(false);
      }

      add(new PropertyEmptyNameLabelListView(
          "propertyEmptyNameLabelListView", essentialPropertyNames));
      add(new PagingNavigator("blockNavigator",
          entityDisplayTableListView));
      add(new NeighborEmptyNameLabelListView(
          "neighborEmptyNameLabelListViewTail", childNeighborNames));
    } catch (Exception e) {
      log.error("Error in EntityDisplayTablePanel: "
          + modelContext.getEntitiesCode() + " - " + e.getMessage());
    }
View Full Code Here

Examples of org.dmrad.view.listview.NeighborEmptyNameLabelListView

          essentialPropertyNames));

      // Neighbor empty labels
      List<String> childInternalNeighborNames = conceptConfig
          .getInternalChildNeighborNames();
      add(new NeighborEmptyNameLabelListView(
          "neighborEmptyNameLabelListViewHead",
          childInternalNeighborNames));

      ModelContext entityUpdateTableListModelContext = new ModelContext(
          modelContext);

      ViewContext entityUpdateTableListViewContext = new ViewContext(
          viewContext);
      entityUpdateTableListViewContext
          .setWicketId("entityUpdateTableListView");

      PageableListView entityUpdateTableListView = app.getViewMeta()
          .getPageableListView("EntityUpdateTableListView",
              entityUpdateTableListModelContext,
              entityUpdateTableListViewContext);
      add(entityUpdateTableListView);
      if (!app.isConceptDisplayAllowed(getAppSession(), conceptConfig)) {
        entityUpdateTableListView.setVisible(false);
      }

      add(new PropertyEmptyNameLabelListView(
          "propertyEmptyNameLabelListView", essentialPropertyNames));
      add(new PagingNavigator("blockNavigator", entityUpdateTableListView));
      add(new NeighborEmptyNameLabelListView(
          "neighborEmptyNameLabelListViewTail",
          childInternalNeighborNames));

      final Integer currentBlock = new Integer(entityUpdateTableListView
          .getCurrentPage());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.