diff options
author | kelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-29 16:59:48 +0000 |
---|---|---|
committer | kelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-29 16:59:48 +0000 |
commit | dbaa32f307ac6aef073e21113bf912ed0286c79f (patch) | |
tree | ff21f90fcffc0578fba29bf0119296f1bcc2c4d4 /sandbox/kgoodson/jagg/src | |
parent | f975c1096be5e21538ed0db775ac76e176fc48e5 (diff) |
first version to show live jira data mixed in -- needs a bit of tidying
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@904556 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/kgoodson/jagg/src')
-rw-r--r-- | sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java | 7 | ||||
-rw-r--r-- | sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java b/sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java index cca29fe7ae..1b71c9e66b 100644 --- a/sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java +++ b/sandbox/kgoodson/jagg/src/main/java/services/PlanViewImpl.java @@ -118,10 +118,13 @@ public class PlanViewImpl implements PlanView { System.out.println(i.toString()); List<JAXBElement<?>> c = i.getContent(); for (JAXBElement<?> element : c) { - if("status".equals(element.getName().getLocalPart())){ + if("title".equals(element.getName().getLocalPart())) { + jd.setTitle((String)element.getValue()); + } + else if("status".equals(element.getName().getLocalPart())){ jd.setStatus((String)element.getValue()); } - if("responsible".equals(element.getName().getLocalPart())) { + else if("assignee".equals(element.getName().getLocalPart())) { jd.setAssignedTo((String)element.getValue()); } } diff --git a/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html b/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html index 3420bf907b..b5b3cba24c 100644 --- a/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html +++ b/sandbox/kgoodson/jagg/src/main/resources/uiservices/plan.html @@ -44,7 +44,7 @@ mscontent += "<tr>" +"<td>"+mswi[j].title+"</td>" + "<td><A HREF=\""+plan.issueBase+mswi[j].jira+"\">"+mswi[j].jira - +"</td>"+ "<td>"+mswi[j].responsible+"</td>"+ "<td>"+mswi[j].status+"</td>"+ "<td></td>" + +"</td>"+ "<td>"+mswi[j].jiraData.assignedTo+"</td>"+ "<td>"+mswi[j].jiraData.status+"</td>"+ "<td></td>" +"</tr>"; } |