Examples of PageLinkPanel


Examples of org.cast.isi.panel.PageLinkPanel

      return panel; 
     
    } else if (wicketId.startsWith("pageLinkPanel_")) {
      String id = elt.getAttribute("id");
      IModel<XmlSection> currentSectionModel = new XmlSectionModel(getModel().getObject().getXmlDocument().getById(id));
      PageLinkPanel panel = new PageLinkPanel(wicketId, currentSectionModel, null);
      panel.add(new AttributeRemover("id"));
      return panel;

    } else if (wicketId.startsWith("sectionStatusIcon_")) {
      String id = elt.getAttribute("id");
      IModel<XmlSection> currentSectionModel = new XmlSectionModel(getModel().getObject().getXmlDocument().getById(id));
View Full Code Here

Examples of org.zeroexchange.web.components.link.PageLinkPanel

            @Override
            public void populateItem(Item<ICellPopulator<Resource>> cellItem,
                    String componentId, IModel<Resource> rowModel) {
                Resource resource = rowModel.getObject();
                Contract contract = resource.getContract();
                cellItem.add(new PageLinkPanel(componentId, EditContract.class,
                        new Model<String>(contract.getTitle()),
                        new PageParameters().add(EditContract.PARAM_CONTRACT_ID, contract.getId())));
            }
        });
        return columns;
View Full Code Here

Examples of org.zeroexchange.web.components.link.PageLinkPanel

            toolbarActions.add(new ToolbarItem() {
                private static final long serialVersionUID = 1L;

                @Override
                public Component getComponent(String componentId) {
                    return new PageLinkPanel(componentId, UserSelection.class, new ResourceModel(MKEY_INVITE),
                            new PageParameters().add(
                                    UserSelection.PKEY_TARGET, SKEY_SELECTED_USERS));
                }
            });
        }
View Full Code Here

Examples of org.zeroexchange.web.components.link.PageLinkPanel

            private static final long serialVersionUID = 1L;

            @Override
            public void populateItem(Item<ICellPopulator<Skill>> cellItem,
                    String componentId, IModel<Skill> rowModel) {
                cellItem.add(new PageLinkPanel(componentId, EditSkill.class, new Model<String>(rowModel.getObject().getTitle()),
                        new PageParameters().add(EditSkill.PARAM_SKILL_ID, rowModel.getObject().getId())));
            }
           
        });
        columns.add(new AbstractColumn<Skill, String>(new ResourceModel(MKEY_SKILL_DESCRIPTION)) {
View Full Code Here

Examples of org.zeroexchange.web.components.link.PageLinkPanel

        items.add(new ToolbarItem() {
            private static final long serialVersionUID = 1L;

            @Override
            public Component getComponent(String toolbarItemId) {
                return new PageLinkPanel(toolbarItemId, EditSkill.class, new ResourceModel(MKEY_ADD_SKILL));
            }
        });
        return items;
    }
View Full Code Here

Examples of org.zeroexchange.web.components.link.PageLinkPanel

        items.add(new ToolbarItem() {
            private static final long serialVersionUID = 1L;

            @Override
            public Component getComponent(String toolbarItemId) {
                return new PageLinkPanel(
                        toolbarItemId, AddUserCreditPage.class,
                        new ResourceModel(MKEY_ADD_CREDIT_LINE));
            }
        });
        return items;
View Full Code Here

Examples of org.zeroexchange.web.components.link.PageLinkPanel

        items.add(new ToolbarItem() {
            private static final long serialVersionUID = 1L;

            @Override
            public Component getComponent(String componentId) {
                return new PageLinkPanel(
                        componentId, CreateMessage.class, new ResourceModel(MKEY_CREATE_MESSAGE), null);
            }
        });
       
        // 'Delete message' action
View Full Code Here

Examples of org.zeroexchange.web.components.link.PageLinkPanel

                        new PipedMap<String, String>().putObject("displayName", userName)));
            }
        }).setEscapeModelStrings(false));

        // New messages info panel
        newMessagesLabel = new PageLinkPanel(CKEY_NEW_MESSAGES_INFO, UserMaintenance.class, new StringResourceModel(MKEY_NEW_MESSAGES_INFO, null) {
            /** */
            private static final long serialVersionUID = 1L;
            private Object[] parameters = new Object[1];

            @Override
View Full Code Here

Examples of org.zeroexchange.web.components.link.PageLinkPanel

            @Override
            public void populateItem(Item<ICellPopulator<User>> cellItem,
                    String componentId, IModel<User> rowModel) {
                final User user = rowModel.getObject();
                cellItem.add(new PageLinkPanel(componentId, ViewUserProfile.class, new ResourceModel(MKEY_VIEW_PROFILE),
                        new PageParameters().add(ViewUserProfile.PKEY_USER_ID, user.getId())));
            }

            @Override
            public String getCssClass() {
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.