private void outputPhases(Properties ctx,PrintWriter out,int projectID,int phaseID,boolean includeAny){
  out.println("<phases projectID='" + projectID + "'>");
  if (includeAny) {
    out.println("<phase id='-1'");
    if (phaseID == 0)     out.println(" selected='selected'");
    out.println(">ANY</phase>");
  }
  if (projectID == 1)   out.println("<phase id='1'>Planning</phase>");
  out.println("</phases>");
}

private void outputPhases ( Properties ctx , PrintWriter out , int projectID , int phaseID , boolean includeAny ) { out . println ( "<phases projectID='" + projectID + "'>" ) ; if ( includeAny ) { out . println ( "<phase id='-1'" ) ; if ( phaseID == 0 ) out . println ( " selected='selected'" ) ; out . println ( ">ANY</phase>" ) ; } if ( projectID == 1 ) out . println ( "<phase id='1'>Planning</phase>" ) ; out . println ( "</phases>" ) ; }
output xml list of project phases
