Esempio n. 1
0
 /**
  * Get format of estimate point
  *
  * @return '1' for DT format and '2' for only number format
  */
 public String getPointEstimateFormat() {
   try {
     Long issueId = (Long) JSFUtils.resolveExpression("#{issue.issueId}");
     Issue issue = issueService.findIssueById(issueId);
     this.pointEstimateFormat = pointRemainService.getPointEstimateByFormat(issue);
     return this.pointEstimateFormat;
   } catch (Exception e) {
     return null;
   }
 }
Esempio n. 2
0
 /**
  * Check the format of estimate point entered by user
  *
  * @param context
  * @param validate
  * @param value
  */
 public void checkEstimatePoint(FacesContext context, UIComponent validate, Object value) {
   pointRemainService.checkEstimatePoint(context, validate, value);
 }