本文整理汇总了Java中org.zkoss.bind.annotation.AfterCompose类的典型用法代码示例。如果您正苦于以下问题:Java AfterCompose类的具体用法?Java AfterCompose怎么用?Java AfterCompose使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AfterCompose类属于org.zkoss.bind.annotation包,在下文中一共展示了AfterCompose类的18个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: afterCompose
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
@AfterCompose
public void afterCompose() {
User user = UserCredentialManager.getUser();
if (user != null) {
if (isTimeForUsingLatestYearPeriod()) {
periode = getPeriodPreviousYear();
} else {
periode = getLatestVatPeriod(user.getVatPeriodType());
}
} else {
periode = DateHelper.getLatestVatPeriod(VatPeriodType.PER_QUARTER);
Executions.sendRedirect("login.zul");
}
costDao = (CostDao) SpringUtil.getBean("costDao");
accountDao = (AccountDao) SpringUtil.getBean("accountDao");
costDao = (CostDao) SpringUtil.getBean("costDao");
costCache = (CostCache) SpringUtil.getBean("costCache");
balanceCalculator = (BalanceCalculator) SpringUtil.getBean("balanceCalculator");
}
开发者ID:beemsoft,项目名称:techytax-zk,代码行数:20,代码来源:AccountCheckVM.java
示例2: afterCompose
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
@AfterCompose
public void afterCompose(@ContextParam(ContextType.VIEW) Component view) {
Selectors.wireComponents(view, this, false);
Gridster gridster = new Gridster();
gridster.setParent(wrapper);
init(gridster);
}
开发者ID:connollyst,项目名称:zkgridster,代码行数:8,代码来源:JavaDemoViewModel.java
示例3: afterCompose
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
@AfterCompose
public void afterCompose() throws Exception {
User user = UserCredentialManager.getUser();
if (user != null) {
if (isTimeForUsingLatestYearPeriod()) {
periode = getPeriodPreviousYear();
} else {
periode = getLatestVatPeriod(user.getVatPeriodType());
}
getCosts();
} else {
periode = getLatestVatPeriod(VatPeriodType.PER_QUARTER);
// sendRedirect("login.zul");
}
}
开发者ID:beemsoft,项目名称:techytax-zk,代码行数:16,代码来源:AllCostsVM.java
示例4: afterCompose
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
@AfterCompose
public void afterCompose(@ContextParam(ContextType.VIEW) Component view){
Selectors.wireComponents(view, this, false);
//Se agrega referencia del tb_tabbox contenedor de la app
Sessions.getCurrent().setAttribute("tb_tabboxCtl", tb_tabbox);
Sessions.getCurrent().setAttribute("textboxUsuario", nombreUsuario);
}
开发者ID:zerstoren1234567,项目名称:PruebaDesarrollo,代码行数:8,代码来源:PrincipalCtl.java
示例5: afterCompose
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
@Override
@AfterCompose
public void afterCompose(
@ContextParam(ContextType.COMPONENT) Component component,
@ContextParam(ContextType.VIEW) Component view) {
super.afterCompose(component, view);
Selectors.wireComponents(view, this, false);
try {
selectedTabIndex = isInstanceValid() ? 0 : 5;
} catch (SearchLibException e) {
Logging.warn(e);
}
}
开发者ID:jaeksoft,项目名称:opensearchserver,代码行数:14,代码来源:RuntimeController.java
示例6: afterCompose
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
/**
* Это нужно чтоб делать include во view и потом связывать @Wire("#incClientDashboard #incChangePriorityDialog #changePriorityDlg") This is necessary to do
* include in the view and then bind
*/
@AfterCompose
public void afterCompose(@ContextParam(ContextType.VIEW) Component view) {
QLog.l().logQUser().debug("Loding page: afterCompose");
Selectors.wireComponents(view, this, false);
}
开发者ID:bcgov,项目名称:sbc-qsystem,代码行数:10,代码来源:Form.java
示例7: afterCompose
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
/**
* Это нужно чтоб делать include во view и потом связывать @Wire("#incClientDashboard
* #incChangePriorityDialog #changePriorityDlg")
*/
@AfterCompose
public void afterCompose(@ContextParam(ContextType.VIEW) Component view) {
String office_id = Executions.getCurrent().getParameter("office_id");
Sessions.getCurrent().setAttribute("office_id", office_id);
/*
<!--div class="lineDivOdd" width="100%" height="14%" >
<vbox id="str1a" width="100%" height="100%" pack="center" align="center"> </vbox>
</div>
*/
Selectors.wireComponents(view, this, false);
final int he = ((100 - 16) / getLinesCount());
final int lhe = 100 - 16 - he * (getLinesCount() - 1);
for (int i = 1; i <= getLinesCount(); i++) {
final Div da = new Div();
da.setClass("lineDiv" + (i % 2 == 1 ? "Odd" : ""));
da.setWidth("100%");
da.setHeight((i == getLinesCount() ? lhe : he) + "%");
final Vbox va = new Vbox();
va.setId("str" + i + "a");
va.setWidth("100%");
va.setHeight("100%");
va.setPack("center");
va.setAlign("center");
da.appendChild(va);
left.appendChild(da);
final Div db = new Div();
db.setClass("lineDiv" + (i % 2 == 1 ? "Odd" : ""));
db.setWidth("100%");
db.setHeight((i == getLinesCount() ? lhe : he) + "%");
final Vbox vb = new Vbox();
vb.setId("str" + i + "b");
vb.setWidth("100%");
vb.setHeight("100%");
vb.setPack("center");
vb.setAlign("center");
db.appendChild(vb);
right.appendChild(db);
lines.put(i, new Str(va, vb));
}
Selectors.wireComponents(view, this, false);
}
开发者ID:bcgov,项目名称:sbc-qsystem,代码行数:50,代码来源:QBoard.java
示例8: afterCompose
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
@AfterCompose
public void afterCompose(@ContextParam(ContextType.VIEW) Component view) {
Selectors.wireComponents(view, this, false);
init(gridster);
}
开发者ID:connollyst,项目名称:zkgridster,代码行数:6,代码来源:DemoViewModel.java
示例9: afterCompose
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
@AfterCompose
public void afterCompose(@ContextParam(ContextType.VIEW) Component view) {
Selectors.wireComponents(view, this, false);
}
开发者ID:connollyst,项目名称:zkgooglecharts,代码行数:5,代码来源:DemoComposer.java
示例10: initSetup
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
@AfterCompose
public void initSetup(@ContextParam(ContextType.VIEW) Component view) {
securityService = (SecurityService) SpringUtil.getBean("securityService");
vatDeclarationDao = (VatDeclarationDao) SpringUtil.getBean("vatDeclarationDao");
auditLogger = (AuditLogger) SpringUtil.getBean("auditLogger");
}
开发者ID:beemsoft,项目名称:techytax-zk,代码行数:7,代码来源:LoginModel.java
示例11: afterCompose
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
@AfterCompose
public void afterCompose(@ContextParam(ContextType.VIEW) Component view) {
Selectors.wireComponents(view, this, false);
}
开发者ID:beemsoft,项目名称:techytax-zk,代码行数:5,代码来源:XbrlVM.java
示例12: initSetup
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
@AfterCompose
public void initSetup() {
projectDao = (ProjectDao) SpringUtil.getBean("projectDao");
}
开发者ID:beemsoft,项目名称:techytax-zk,代码行数:5,代码来源:CalendarEditorViewModel.java
示例13: afterCompose
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
@AfterCompose
public void afterCompose() {
projectDao = (ProjectDao) SpringUtil.getBean("projectDao");
}
开发者ID:beemsoft,项目名称:techytax-zk,代码行数:5,代码来源:ProjectVM.java
示例14: afterCompose
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
@AfterCompose
public void afterCompose(@ContextParam(ContextType.VIEW) Component view){
Selectors.wireComponents(view, this, false);
definirModelo();
}
开发者ID:zerstoren1234567,项目名称:PruebaDesarrollo,代码行数:6,代码来源:SumaryGrupoCtl.java
示例15: afterCompose
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
@AfterCompose
public void afterCompose(@ContextParam(ContextType.VIEW) Component view){
Selectors.wireComponents(view, this, false);
}
开发者ID:zerstoren1234567,项目名称:PruebaDesarrollo,代码行数:5,代码来源:LoginCtl.java
示例16: afterCompose
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
@AfterCompose
public void afterCompose(@ContextParam(ContextType.VIEW) Component view){
Selectors.wireComponents(view, this, false);
logger.info("cargando MenuPrincipalHorCtl");
}
开发者ID:zerstoren1234567,项目名称:PruebaDesarrollo,代码行数:6,代码来源:MenuPrincipalHorCtl.java
示例17: afterCompose
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
@AfterCompose
public void afterCompose(@ContextParam(ContextType.VIEW) Component view){
Selectors.wireComponents(view, this, false);
}
开发者ID:fpaitrault,项目名称:ChristmasWishList,代码行数:5,代码来源:NewUser.java
示例18: afterCompose
import org.zkoss.bind.annotation.AfterCompose; //导入依赖的package包/类
@AfterCompose
public void afterCompose(
@ContextParam(ContextType.COMPONENT) Component component,
@ContextParam(ContextType.VIEW) Component view) {
this.component = component;
}
开发者ID:jaeksoft,项目名称:opensearchserver,代码行数:7,代码来源:CommonController.java
注:本文中的org.zkoss.bind.annotation.AfterCompose类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论