Package org.zkoss.zk.au.out

Examples of org.zkoss.zk.au.out.AuWrongValue


   * @since 5.0.4
   */
  public void setErrorMessage(String errmsg) {
    if (errmsg != null && errmsg.length() > 0) {
      initAuxInfo().errmsg = errmsg;
      response(new AuWrongValue(this, errmsg));
    } else {
      clearErrorMessage();
    }
  }
View Full Code Here


            }

            @Override
            public Void onHours(EffortModification modification) {
                EffortDuration goal = modification.getEffort();
                Clients.response(new AuWrongValue(effortInput, _(
                        "{0} cannot be fulfilled", goal.toFormattedString())));

                return null;
            }
        });
View Full Code Here

                            Integer effectiveWorkableDays = getTask()
                                    .getWorkableDaysFrom(
                                            allocationStart.getDate(),
                                            allocationEnd.asExclusiveEnd());
                            if (effectiveWorkableDays < specifiedWorkableDays) {
                                Clients.response(new AuWrongValue(
                                        taskWorkableDays,
                                        _("The original workable days value {0} cannot be modified as it has consolidations",
                                                specifiedWorkableDays)));
                                taskWorkableDays
                                        .setValue(effectiveWorkableDays);
View Full Code Here

TOP

Related Classes of org.zkoss.zk.au.out.AuWrongValue

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.