- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 04 Mar 2010 18:47:19 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist In directory hutz:/tmp/cvs-serv21212/src/org/w3c/unicorn/tasklist Modified Files: TaskListUnmarshallerBeans.java Log Message: added attribute "default" to the xml task object. If set to true the coresponding task will be the on selected by default on the index page. Index: TaskListUnmarshallerBeans.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist/TaskListUnmarshallerBeans.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- TaskListUnmarshallerBeans.java 23 Sep 2009 09:21:37 -0000 1.10 +++ TaskListUnmarshallerBeans.java 4 Mar 2010 18:47:17 -0000 1.11 @@ -167,7 +167,10 @@ } } } - + + if (aTask.isSetDefault() && aTask.getDefault().equals("true")) + this.mapOfTask.setDefaultTaskId(aTaskCurrent.getID()); + this.mapOfTask.put(aTaskCurrent.getID(), aTaskCurrent); }
Received on Thursday, 4 March 2010 18:47:21 UTC