You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Leandro Rodrigo Saad Cruz <le...@ibnetwork.com.br> on 2002/11/28 15:42:12 UTC

Intake and Dates again

Hi all. I'm using T2 cvs head and I can't make intkae use DateString
fields. Here is a snippet of my intake.xml

<field key="data" name="data" type="DateString">
   <rule name="format" value="dd/MM/YYYY">
    Date format is dd/MM/YYYY
   </rule>
</field>


is this right ?

-- 
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br
http://jakarta.apache.org/ojb


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Intake and Dates again

Posted by Rodney Schneider <ro...@actf.com.au>.
On Fri, 29 Nov 2002 08:05, you wrote:
> On Thu, 2002-11-28 at 13:23, Akmal Sarhan wrote:
> > if I am not mistaken, you have to say "format1" and not only
> > "format"
>
> format works ok, my format String was wrong
>
> 'dd/MM/YYYY' -> 'dd/MM/yyyy'
>
> Intake can catch ParseException but just ignores it, thats bad :-(

Patches are always welcome :)

-- Rodney

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Intake and Dates again

Posted by Leandro Rodrigo Saad Cruz <le...@ibnetwork.com.br>.
I put to much Log stmts into the src code, when I finish the app
development I will send the patches to the list !

On Thu, 2002-11-28 at 21:50, Rodney Schneider wrote:
> On Fri, 29 Nov 2002 08:05, you wrote:
> > On Thu, 2002-11-28 at 13:23, Akmal Sarhan wrote:
> > > if I am not mistaken, you have to say "format1" and not only
> > > "format"
> >
> > format works ok, my format String was wrong
> >
> > 'dd/MM/YYYY' -> 'dd/MM/yyyy'
> >
> > Intake can catch ParseException but just ignores it, thats bad :-(
> 
> Patches are always welcome :)
> 
> -- Rodney
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
-- 
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br
http://jakarta.apache.org/ojb


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Intake and Dates again

Posted by Leandro Rodrigo Saad Cruz <le...@ibnetwork.com.br>.
On Thu, 2002-11-28 at 13:23, Akmal Sarhan wrote:
> if I am not mistaken, you have to say "format1" and not only "format"

format works ok, my format String was wrong

'dd/MM/YYYY' -> 'dd/MM/yyyy'

Intake can catch ParseException but just ignores it, thats bad :-(

> 
> regards
> Akmal
> ----- Original Message -----
> From: "Leandro Rodrigo Saad Cruz" <le...@ibnetwork.com.br>
> To: "Turbine Users List" <tu...@jakarta.apache.org>
> Sent: Thursday, November 28, 2002 3:42 PM
> Subject: Intake and Dates again
> 
> 
> > Hi all. I'm using T2 cvs head and I can't make intkae use DateString
> > fields. Here is a snippet of my intake.xml
> >
> > <field key="data" name="data" type="DateString">
> >    <rule name="format" value="dd/MM/YYYY">
> >     Date format is dd/MM/YYYY
> >    </rule>
> > </field>
> >
> >
> > is this right ?
> >
> > --
> > Leandro Rodrigo Saad Cruz
> > IT - Inter Business Tecnologia e Servicos (IB)
> > http://www.ibnetwork.com.br
> > http://jakarta.apache.org/ojb
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
-- 
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br
http://jakarta.apache.org/ojb


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Intake and Dates again

Posted by Akmal Sarhan <as...@byteaction.de>.
if I am not mistaken, you have to say "format1" and not only "format"

regards
Akmal
----- Original Message -----
From: "Leandro Rodrigo Saad Cruz" <le...@ibnetwork.com.br>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Thursday, November 28, 2002 3:42 PM
Subject: Intake and Dates again


> Hi all. I'm using T2 cvs head and I can't make intkae use DateString
> fields. Here is a snippet of my intake.xml
>
> <field key="data" name="data" type="DateString">
>    <rule name="format" value="dd/MM/YYYY">
>     Date format is dd/MM/YYYY
>    </rule>
> </field>
>
>
> is this right ?
>
> --
> Leandro Rodrigo Saad Cruz
> IT - Inter Business Tecnologia e Servicos (IB)
> http://www.ibnetwork.com.br
> http://jakarta.apache.org/ojb
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>