From: Lane S. <la...@op...> - 2005-11-26 00:49:57
|
is the RHS term always evaluated as a String before the assignment? What can I do to make an assigment of an object? #bean $Time = "java.util.Date" #setprops $Duration class="com.opendoors.entity.fundamental.Duration" { Start = $Variable.get("Time") End = $Variable.get("Time") } generates this error: 4:40:52 PM template ERROR Error parsing template: StringTemplate("unknown";"#set $Duration.Start=Fri Nov 25 16:40:53 PST 2005") org.webmacro.engine.ParseException: Parser Exception org.webmacro.parser.ParseException: Encountered "Fri" at line 1, column 22. -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |