From 9b98db19f6edb3320b4aedd73cf2713c8fabbfad Mon Sep 17 00:00:00 2001 From: kelvingoodson Date: Fri, 29 Jan 2010 18:20:38 +0000 Subject: tweaks git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@904580 13f79535-47bb-0310-9956-ffa450edef68 --- .../jagg/src/main/java/services/PlanViewImpl.java | 3 +- .../jagg/src/main/resources/JiraSideband.xml | 47 +++++++++++++++------- .../jagg/src/main/resources/uiservices/plan.html | 34 ++++++++++++---- 3 files changed, 60 insertions(+), 24 deletions(-) diff --git a/sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java b/sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java index 1b71c9e66b..4bef994b3f 100644 --- a/sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java +++ b/sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java @@ -119,7 +119,8 @@ public class PlanViewImpl implements PlanView { List> c = i.getContent(); for (JAXBElement element : c) { if("title".equals(element.getName().getLocalPart())) { - jd.setTitle((String)element.getValue()); + String jtitle = (String)element.getValue(); + jd.setTitle(jtitle.substring(jtitle.indexOf(']')+1, jtitle.length())); } else if("status".equals(element.getName().getLocalPart())){ jd.setStatus((String)element.getValue()); diff --git a/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xml b/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xml index fc6f66e770..0af97d7a9d 100644 --- a/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xml +++ b/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xml @@ -2,7 +2,7 @@ https://issues.apache.org/jira/browse/ - + 2001-01-01 deliveredby note @@ -16,7 +16,7 @@ repository_vid note - + Enhance artefact processing performance by returning URI and location URL in one call LR 2001-01-01 @@ -25,7 +25,7 @@ repository_vid note - + Add support for identifying the SCA Spec Version for contribution metadata LR 2001-01-01 @@ -35,17 +35,34 @@ note - - - Add support for .... - FB - 2001-01-01 - TUSCANY-3333 - in progress - repository_vid - note - - - + + + Itest copy from 1.x to 2.x + Ram + TUSCANY-3433 + + + Non-simple property injection + Raymond + TUSCANY-3409 + + + local/remote determination + Raymond + TUSCANY-3441 + + + SPI version tracking + SL + TUSCANY-3443 + + + Mechanism to retrieve revision number + AE + + + client API no honouring domain URI + AE + diff --git a/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html b/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html index b5b3cba24c..90e34be917 100644 --- a/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html +++ b/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html @@ -34,18 +34,36 @@ alert(exception.message); return; } + ms = plan.milestone.list; var mscontent = ""; - ms = plan.milestone.list; for(var i=0; iMilestone " + ms[i].ID + ""; + mscontent += ""; var mswi = ms[i].workItem.list; - mscontent +=""; + mscontent +=""+ + + ""+ + ""+ + ""+ + ""+ + ""+ + ""+ + + ""; for (var j=0; j" - +"" + ""+ ""+ ""+ "" - +""; + mscontent +=""+""+ + ""; + if(mswi[j].jira) { + mscontent += + ""+ + + ""+ + ""+ + ""+ + "" + } else { + mscontent += ""; + } + mscontent += ""; } } -- cgit v1.2.3
Milestone " + ms[i].ID + "
TitleJIRAResponsibleStatus
Work ItemOwnerJiraJira titleJira Assigned ToStatus
"+mswi[j].title+""+mswi[j].jira - +""+mswi[j].jiraData.assignedTo+""+mswi[j].jiraData.status+"
"+mswi[j].title+""+mswi[j].responsible+""+mswi[j].jira+""+mswi[j].jiraData.title+""+mswi[j].jiraData.assignedTo+""+mswi[j].jiraData.status+"