Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/TransitionBase.java @ 88:1b12021905b9
Some CodeCleanup done.
ExceptionDocument will now be returned
gnv-artifacts/trunk@125 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Thu, 24 Sep 2009 10:45:24 +0000 |
parents | c8d1f7b9e5a8 |
children | bb45c5097cb6 |
comparison
equal
deleted
inserted
replaced
87:ce398a7a99fc | 88:1b12021905b9 |
---|---|
332 String newValue = ""; | 332 String newValue = ""; |
333 for (int i = 0; i < values.length; i++){ | 333 for (int i = 0; i < values.length; i++){ |
334 if (newValue.length() > 0){ | 334 if (newValue.length() > 0){ |
335 newValue= newValue + " , "; | 335 newValue= newValue + " , "; |
336 } | 336 } |
337 newValue = newValue + "to_date('"+values[i].trim()+"', 'YYYY.MM.DD HH24:MI:SS')"; // TODO JUST HACK FIND A BETTER RESOLUTION | 337 // TODO JUST HACK FIND A BETTER RESOLUTION |
338 newValue = newValue + "to_date('"+values[i].trim()+"', 'YYYY.MM.DD HH24:MI:SS')"; | |
338 } | 339 } |
339 return newValue; | 340 return newValue; |
340 } | 341 } |
341 | 342 |
342 return value; | 343 return value; |
389 rootNode.appendChild(dynamic); | 390 rootNode.appendChild(dynamic); |
390 while (it.hasNext()){ | 391 while (it.hasNext()){ |
391 | 392 |
392 Object o = it.next(); | 393 Object o = it.next(); |
393 if (o instanceof Collection<?>){ | 394 if (o instanceof Collection<?>){ |
394 // TODO: HACK: | |
395 // BESSERE LÖSUNG FINDEN | |
396 String name = null; | 395 String name = null; |
397 boolean multiselect = false; | 396 boolean multiselect = false; |
398 if (o instanceof NamedCollection<?>){ | 397 if (o instanceof NamedCollection<?>){ |
399 NamedCollection<?> nc = ((NamedCollection<?>)o); | 398 NamedCollection<?> nc = ((NamedCollection<?>)o); |
400 name = nc.getName(); | 399 name = nc.getName(); |