private void outputTasks(Properties ctx,PrintWriter out,int projectID,int phaseID,int taskID,boolean includeAny){
  out.println("<tasks projectID='" + projectID + "' phaseID='"+ phaseID+ "'>");
  if (includeAny) {
    out.println("<task id='-1'");
    if (taskID == 0)     out.println(" selected='selected'");
    out.println(">ANY</task>");
  }
  if ((projectID == 1) && (phaseID == 1))   out.println("<task id='1'>Call Owner</task>");
  out.println("</tasks>");
}

private void outputTasks ( Properties ctx , PrintWriter out , int projectID , int phaseID , int taskID , boolean includeAny ) { out . println ( "<tasks projectID='" + projectID + "' phaseID='" + phaseID + "'>" ) ; if ( includeAny ) { out . println ( "<task id='-1'" ) ; if ( taskID == 0 ) out . println ( " selected='selected'" ) ; out . println ( ">ANY</task>" ) ; } if ( ( projectID == 1 ) && ( phaseID == 1 ) ) out . println ( "<task id='1'>Call Owner</task>" ) ; out . println ( "</tasks>" ) ; }
output xml list of project phase tasks
