Examples of EmptyComponent


Examples of org.openxri.admin.components.EmptyComponent

      AuthorityImageResource graph = new AuthorityImageResource(authority);
      this.add(new Image("graph", graph));
    } catch (StoreException ex) {

      this.add(new EmptyComponent("graph"));
    }

    this.add(new Label("authorityId"));
    this.add(new ListView("qxris") {
View Full Code Here

Examples of org.openxri.admin.components.EmptyComponent

        } catch (StoreException ex) {

          Reset.log.error(ex);
          this.error(this.getString("storefail") + ex.getLocalizedMessage());

          this.add(new EmptyComponent("authorities"));
        }

        // back to store index

        Reset.this.setResponsePage(Index.class);
View Full Code Here

Examples of org.openxri.admin.components.EmptyComponent

      SubSegmentImageResource graph = new SubSegmentImageResource(subSegment);
      this.add(new Image("graph", graph));
    } catch (StoreException ex) {

      this.add(new EmptyComponent("graph"));
    }

    this.add(new Label("subSegmentId"));
    this.add(new Label("name"));
    this.add(new PageLink("createAliasSubSegmentLink", new IPageLink() {

      private static final long serialVersionUID = 4603762735183925968L;

      public Page getPage() {

        return(new CreateAliasSubSegment(SubSegmentDetails.this.parentAuthority, SubSegmentDetails.this.authority));
      }

      public Class<?> getPageIdentity() {

        return(CreateAliasSubSegment.class);
      }
    }));
   
    if (this.authority != null) {

      this.add(new PageLink("authorityLink", new IPageLink() {

        private static final long serialVersionUID = 1L;

        public Page getPage() {

          return(new AuthorityDetails(SubSegmentDetails.this.authority));
        }

        public Class<?> getPageIdentity() {

          return(SubSegmentDetails.class);
        }
      }));
    } else {

      this.add(new EmptyComponent("authorityLink"));
    }

    if (this.parentAuthority != null) {

      this.add(new PageLink("parentAuthorityLink", new IPageLink() {

        private static final long serialVersionUID = 1L;

        public Page getPage() {

          return(new AuthorityDetails(SubSegmentDetails.this.parentAuthority));
        }

        public Class<?> getPageIdentity() {

          return(SubSegmentDetails.class);
        }
      }));
    } else {

      this.add(new EmptyComponent("parentAuthorityLink"));
    }
    this.add(new AttributesForm("attributesForm"));
    this.add(new IndexForm("indexForm"));
    this.add(new DeleteForm("deleteForm"));
    this.add(new PageLink("backLink", Index.class));
View Full Code Here

Examples of org.openxri.admin.components.EmptyComponent

      AuthorityImageResource graph = new AuthorityImageResource(authority);
      this.add(new Image("graph", graph));
    } catch (StoreException ex) {

      this.add(new EmptyComponent("graph"));
    }

    this.add(new Label("authorityId"));
    this.add(new ListView("qxris") {
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.