Package info.jtrac.wicket.yui

Examples of info.jtrac.wicket.yui.YuiDialog.show()


            final YuiDialog dialog = new YuiDialog("itemWindow");
            add(dialog);                                                       
            AjaxLink link = new AjaxLink("link") {
                public void onClick(AjaxRequestTarget target) {
                    Item item = getJtrac().loadItemByRefId(refId);                   
                    dialog.show(target, refId, new ItemViewPanel(YuiDialog.CONTENT_ID, item, true));
                }
            };
            link.add(new Label("refId", refId));            
            if(isItemViewPage) {
                add(new WebMarkupContainer("link").setVisible(false));
View Full Code Here


        add(new Label("message", message));
       
        AjaxLink related = new AjaxLink("related") {
            public void onClick(AjaxRequestTarget target) {
                Item related = getJtrac().loadItem(itemItem.getRelatedItem().getId());
                relatedDialog.show(target, relatedRefId, new ItemViewPanel(YuiDialog.CONTENT_ID, related, true));
            }
        };
        related.add(new Label("refId", itemItem.getRelatedItem().getRefId()));
        add(related);       
       
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.