cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Johnston <coc...@lojjic.net>
Subject Re: aggregate field/combine question
Date Thu, 26 Jan 2006 12:34:36 GMT
Duncan McLean wrote:
> Hi
> 
> I have an aggregate field which consists of three fields to accept
> numbers.
> 
> When combined they form a date.
> 
> Question is if I set the overall aggregatefield's datatype to "date"
> it causes the error:
> "The result of the combine expression should be java.util.Date".
> 
> The combine expression is currently:
> <fd:combine expression='Concat(day1,"/",month1,"/",year1)'/>

That should be expression='Date(year1,month1,day1)'

See http://cocoondev.org/xreporter/docs/core/exprlang.html for 
documentation on the available functions in the expression language used.

> 
> What do I need to do to put this in an acceptable date format?
> 
> Thanks
> 
> Duncan
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message