Hi Mei, <field name="StartDate" key="a" type="DateString" mapToProperty="StartDate"/>
Kind regards J�rgen Hoffmann -----Urspr�ngliche Nachricht----- Von: mei xiao [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 5. September 2003 07:33 An: [EMAIL PROTECTED] Betreff: Is it possible use dateselector and intake at the same time? Dear all, I got some question about dateselector and intake. 1. In my om class, I got a property "StartDate" which type is "Date", In my intake.xml, I have a line: <field name="StartDate" key="a" type="Date" mapToProperty="StartDate"/> in my template, I use: #set ($UserInfo = $intake.UserInfo.Default) $UserInfo.StartDate but I got error: Invocation of method 'getDefault' in class org.apache.turbine.services.intake.IntakeTool$PullHelper threw exception class org.apache.turbine.util.TurbineException : Unsupported type: Date Why is that? 2. I want to use dateselector and intake at the same time, since the above error, I can only use: <field name="StartDate" key="a" type="String" mapToProperty="StartDate"/> and in action class, how can I map the group to a om object. (from three String to one Date with a arbitary name). Any advices are much appreciated! Mei Xiao Regards, Mei Xiao MyVoice http://www.myvoice.com.au --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
