- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.carewebframework.ui.zk.ZKUtil.loadZulPage()
方法的一些代码示例,展示了ZKUtil.loadZulPage()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZKUtil.loadZulPage()
方法的具体详情如下:
包路径:org.carewebframework.ui.zk.ZKUtil
类名称:ZKUtil
方法名:loadZulPage
暂无
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.esig
/**
* Display the issue viewer dialog for the specified items.
*
* @param items Esignature items that have issues for display.
* @return True unless the dialog was canceled.
* @throws Exception Unspecified exception.
*/
public static boolean execute(List<ESigItem> items) throws Exception {
IssueViewer dlg = (IssueViewer) ZKUtil.loadZulPage(Constants.RESOURCE_PREFIX + "issueViewer.zul", null);
dlg.init(items);
dlg.doModal();
return !dlg.canceled;
}
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.esig
/**
* Displays the signature review dialog.
*
* @param esigService Reference to the esignature service.
* @param filter Optional filter to control which items are displayed.
* @return True unless the dialog was canceled.
* @throws Exception Unspecified exception.
*/
public static boolean execute(IESigService esigService, ESigFilter filter) throws Exception {
Iterable<ESigItem> items = esigService.getItems(filter);
if (items == null || !items.iterator().hasNext()) {
return true;
}
ESigViewer dlg = (ESigViewer) ZKUtil.loadZulPage(Constants.RESOURCE_PREFIX + "esigViewer.zul", null);
dlg.init(esigService, items);
dlg.doModal();
return !dlg.canceled;
}
代码示例来源:origin: org.carewebframework/org.carewebframework.cal.ui.reporting
/**
* Show detail for specified list item.
*
* @param li The list item.
*/
protected void showDetail(Listitem li) {
@SuppressWarnings("unchecked")
M modelObject = li == null ? null : (M) li.getValue();
String detail = modelObject == null ? null : getDetail(modelObject);
if (!StringUtils.isEmpty(detail)) {
if (getShowDetailPane()) {
detailView.setContent(detail);
} else {
Map<Object, Object> map = new HashMap<Object, Object>();
map.put("title", detailTitle);
map.put("content", detail);
map.put("allowPrint", getAllowPrint());
try {
((Window) ZKUtil.loadZulPage(Constants.RESOURCE_PREFIX + "resourceListDetail.zul", null, map)).doModal();
} catch (Exception e) {
PromptDialog.showError(e);
}
}
}
}
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.security.impl
/**
* Initialize the login form.
*
* @param comp - The component
*/
@SuppressWarnings("deprecation")
@Override
public void doAfterCompose(final Component comp) throws Exception {
super.doAfterCompose(comp);
savedRequest = (SavedRequest) session.removeAttribute(org.carewebframework.security.spring.Constants.SAVED_REQUEST);
final AuthenticationException authError = (AuthenticationException) session
.removeAttribute(WebAttributes.AUTHENTICATION_EXCEPTION);
CredentialsExpiredException expired = getException(authError, CredentialsExpiredException.class);
User user = expired != null && SecurityUtil.getSecurityService().canChangePassword() ? (User) expired
.getExtraInformation() : null;
String form = user != null ? ChangePasswordController.DIALOG_CHANGE_PASSWORD : LoginPaneController.DIALOG_LOGIN_PANE;
Map<Object, Object> args = new HashMap<Object, Object>();
args.put("savedRequest", savedRequest);
args.put("authError", authError);
args.put("user", user);
ZKUtil.loadZulPage(form, loginForm, args, this);
getPage().setTitle(user != null ? "Change Password" : "Please Login");
resetTimer();
}
代码示例来源:origin: org.carewebframework/org.carewebframework.vista.ui.encounter
@Override
public void doAfterCompose(Component comp) throws Exception {
super.doAfterCompose(comp);
ZKUtil.wireController(ZKUtil.loadZulPage(PARTICIPANT_SELECTOR, comp), this);
broker = VistAUtil.getBrokerSession();
lstAllParticipants.setItemRenderer(new ParticipantRenderer());
lstAllParticipants.setModel(allParticipantsModel);
lstEncounterParticipants.setItemRenderer(encounterParticipantRenderer);
lstEncounterParticipants.setModel(encounterParticipantsModel);
}
代码示例来源:origin: org.carewebframework/org.carewebframework.security.spring.core
wireListener(ZKUtil.loadZulPage(form, loginForm, args));
getPage().setTitle(StrUtil.getLabel(title));
resetTimer();
代码示例来源:origin: org.carewebframework/org.carewebframework.ui.infopanel
/**
* Creates a new container for the contents to be rendered by the drop provider.
*
* @param dropRoot The root component that will host the container.
* @param cmpt Component rendered by the drop renderer.
* @param title Title to be associated with the container.
* @param actionListeners Listeners to be bound to the drop container (optional).
*/
private static DropContainer create(Component dropRoot, Component cmpt, String title,
List<ActionListener> actionListeners) {
DropContainer dc = (DropContainer) ZKUtil.loadZulPage(TEMPLATE, null);
dc.actionListeners = actionListeners;
dc.setTitle(title);
dc.setDroppable(SCLASS);
dc.setDraggable(SCLASS);
dc.getPanelchildren().appendChild(cmpt);
dc.moveToTop(dropRoot);
ActionListener.bindActionListeners(dc, actionListeners);
return dc;
}
代码示例来源:origin: org.carewebframework/org.carewebframework.ui
public void onTest() throws Exception {
PopupDialog popup = new PopupDialog(null, "Test Popup");
setSizable(false);
ZKUtil.loadZulPage(ZKUtil.getResourcePath(PopupTest.class) + "testPopup2.zul", popup);
popup.addForward("onTest", this, null);
popup.show();
}
}
本文整理了Java中org.carewebframework.ui.zk.ZKUtil类的一些代码示例,展示了ZKUtil类的具体用法。这些代码示例主要来源于Github/Stackoverflow/
本文整理了Java中org.carewebframework.ui.zk.ZKUtil.disableChildren()方法的一些代码示例,展示了ZKUtil.disableChildren()的具
本文整理了Java中org.carewebframework.ui.zk.ZKUtil.loadZulPage()方法的一些代码示例,展示了ZKUtil.loadZulPage()的具体用法。这些代码
本文整理了Java中org.carewebframework.ui.zk.ZKUtil.disableChildren()方法的一些代码示例,展示了ZKUtil.disableChildren()的具
本文整理了Java中org.carewebframework.ui.zk.ZKUtil.loadZulPage()方法的一些代码示例,展示了ZKUtil.loadZulPage()的具体用法。这些代码
本文整理了Java中org.carewebframework.ui.zk.ZKUtil.findAncestor()方法的一些代码示例,展示了ZKUtil.findAncestor()的具体用法。这些
本文整理了Java中org.carewebframework.ui.zk.ZKUtil.getResourcePath()方法的一些代码示例,展示了ZKUtil.getResourcePath()的具
本文整理了Java中org.carewebframework.ui.zk.ZKUtil.wireController()方法的一些代码示例,展示了ZKUtil.wireController()的具体用
本文整理了Java中org.carewebframework.ui.zk.ZKUtil.fireEvent()方法的一些代码示例,展示了ZKUtil.fireEvent()的具体用法。这些代码示例主要
本文整理了Java中org.carewebframework.ui.zk.ZKUtil.detachChildren()方法的一些代码示例,展示了ZKUtil.detachChildren()的具体用
本文整理了Java中org.carewebframework.ui.zk.ZKUtil.updateStyle()方法的一些代码示例,展示了ZKUtil.updateStyle()的具体用法。这些代码
本文整理了Java中org.carewebframework.ui.zk.ZKUtil.getEventOrigin()方法的一些代码示例,展示了ZKUtil.getEventOrigin()的具体用
我是一名优秀的程序员,十分优秀!