Package org.appfuse.webapp.pages

Examples of org.appfuse.webapp.pages.FromListUserEdit


            public void onClick() {
                log.info("addButton submitted");
                User user = new User();
                user.addRole(new Role(Constants.USER_ROLE));
                //TODO: MZA: Is it the best way to create this model here?
                setResponsePage(new FromListUserEdit(getPage(), new Model<User>(user)));
            }
        }.setIconType(GlyphIconType.plus).setLabel(new ResourceModel("button.add"));
    }
View Full Code Here


                @Override
                public void onClick() {
                    User clickedUser = getModelObject();
                    log.info("clicked {}", clickedUser.getUsername());

                    setResponsePage(new FromListUserEdit(getPage(), getModel()));
                }
            };
            add(editLink);

            editLink.add(new Label("editLabel", new Model<String>(userModel.getObject().getUsername())));
View Full Code Here

TOP

Related Classes of org.appfuse.webapp.pages.FromListUserEdit

Copyright © 2018 www.massapicom. 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.