Thread View: pl.comp.lang.java
1 messages
1 total messages
Started by Grzegorz Bylica
Mon, 25 May 2015 19:17
Potrzebuje pomocy z zakresu Wicket czy w konstruktorze WebPage mozna wywolac okienko modalne?
Author: Grzegorz Bylica
Date: Mon, 25 May 2015 19:17
Date: Mon, 25 May 2015 19:17
26 lines
1858 bytes
1858 bytes
linkModal = new ModalWindow("linkModal");
linkModal.setHeightUnit("px");
linkModal.setInitialHeight(177);
linkModal.setResizable(false);
linkModal.setMaskType(MaskType.SEMI_TRANSPARENT);
linkModal.setOutputMarkupId(true);
linkModal.setPageCreator(new PageCreator() {
@Override
public Page createPage() {
return new LinkSrpPage(linkToSrpModal);
}
});
AjaxLink<String> noteInfo = new AjaxLink<String>("noteInfo") {
@Override
public void onClick(AjaxRequestTarget target) {
linkModal.show(target);
}
};
// i teraz potrzebuje z automatu wywolac okienko modalne cos czyli
// nie na onClik tylko w konstrukotrze WebPage
// nie stety nie dziala
linkModal.setVisible(true)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads