Re: t5: beaneditform and timestamp

2010-02-17 Thread Thiago H. de Paula Figueiredo
On Wed, 17 Feb 2010 23:05:32 -0200, Angelo Chen wrote: Hi Thiago, Hi! changing from Timestamp to Date works, however, the default edit block for Date seems not working with time part, can't enter any time, try this: Tapestry's DateField only handles dates. Try using the Chenille Kit'

Re: t5: beaneditform and timestamp

2010-02-17 Thread Angelo Chen
Hi Thiago, changing from Timestamp to Date works, however, the default edit block for Date seems not working with time part, can't enter any time, try this: 2/19/2010 09:09:09 it does not work, any idea? Thiago H. de Paula Figueiredo wrote: > > On Wed, 17 Feb 2010 14:47:10 -0200, Stephan Windmü

Re: t5: beaneditform and timestamp

2010-02-17 Thread Thiago H. de Paula Figueiredo
On Wed, 17 Feb 2010 14:47:10 -0200, Stephan Windmüller wrote: Angelo Chen wrote: Using following code to update an object: < t:beaneditform t:id="user" submitlabel="message:create-user" /> but when click 'update', got following error: Could not find a coercion from type java.util.Dat

Re: t5: beaneditform and timestamp

2010-02-17 Thread Stephan Windmüller
Angelo Chen wrote: > Using following code to update an object: > < t:beaneditform t:id="user" submitlabel="message:create-user" /> > but when click 'update', got following error: > > Could not find a coercion from type java.util.Date to type > java.sql.Timestamp. Could you post the parts

t5: beaneditform and timestamp

2010-02-17 Thread Angelo Chen
Hi, Using following code to update an object: < t:beaneditform t:id="user" submitlabel="message:create-user" /> but when click 'update', got following error: Could not find a coercion from type java.util.Date to type java.sql.Timestamp. Any idea? Thanks, -- View this message in cont

Re: t5: BeanEditform and Timestamp

2009-02-12 Thread Robert Zeigler
context.getTranslator will look up the "default" translator for the field, based on the bound type. Ultimately, the FieldTranslatorSource service derives its translators from the TranslatorSource service; tapestry does not provide out-of- the-box support for Date or Time translators. If your a

Re: t5: BeanEditform and Timestamp

2009-02-12 Thread bob_k
Thanks for your help so far. After placing the files in the "pages" folder I came across an exception: Parameter 'translate' of component AppPropertyEditBlocks:duration is bound to null. This parameter is not allowed to be null. [at context:AppPropertyEditBlocks.tml, line 5, column 57] public

Re: t5: BeanEditform and Timestamp

2009-02-12 Thread Robert Zeigler
They should be in the "pages" folder; they are pages that act as "holders" for components. Robert On Feb 12, 2009, at 2/123:59 PM , bob_k wrote: The page I'm trying to use it with is called "Presentations". It's located in com.eveo.speakertraining.tapestry.webapp.pages.admin The AppPrope

Re: t5: BeanEditform and Timestamp

2009-02-12 Thread bob_k
The page I'm trying to use it with is called "Presentations". It's located in com.eveo.speakertraining.tapestry.webapp.pages.admin The AppPropertyEditBlocks.java and AppPropertyEditBlocks.tml files are located in com.eveo.speakertraining.tapestry.webapp.components Should these files not be in

Re: t5: BeanEditform and Timestamp

2009-02-12 Thread Robert Zeigler
As HLS said already, the exception is that it can't locate the page "AppPropertyEditBlocks". What is the name of the page on which you are putting your BeanEditForm-customizing blocks? What package is it in? Robert On Feb 12, 2009, at 2/123:32 PM , bob_k wrote: I'm running into the same

Re: t5: BeanEditform and Timestamp

2009-02-12 Thread bob_k
I'm running into the same problem regarding customizing BeanEditForm. If someone was able to solve this problem could they post the solution? Thanks. -Bob Howard Lewis Ship wrote: > > That looks like it can't find your AppPropertyEditBlocks class. > What's the full package name? Have you v

Re: t5: BeanEditform and Timestamp

2008-07-01 Thread Howard Lewis Ship
That looks like it can't find your AppPropertyEditBlocks class. What's the full package name? Have you verified that the .class file is present where it should be? On Tue, Jul 1, 2008 at 6:43 AM, mister_bobby <[EMAIL PROTECTED]> wrote: > > I do exactly have the same problem (my data type name is

Re: t5: BeanEditform and Timestamp

2008-07-01 Thread mister_bobby
I do exactly have the same problem (my data type name is type ) : Render queue error in BeginRender[Search:beaneditform.editor.propertyeditor]: Unable to locate a block to edit property 'type' (with data type 'type') of object [EMAIL PROTECTED]: Unable to resolve 'AppPropertyEditBlocks' to a kno

Re: t5: BeanEditform and Timestamp

2008-03-02 Thread Angelo Chen
Hi Howard, Thanks, I tried to follow the "Using the BeanEditForm Component" article and come out with a basic editor, my initial plan is, just to edit it first in a textfield, following is my code based exactly on the article, but I got this error: org.apache.tapestry.internal.services.RenderQue

Re: t5: BeanEditform and Timestamp

2008-03-02 Thread Marcus
Hi Angelo, Maybe this help: http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/beaneditform.html "Adding New Property Editors" Marcus

Re: t5: BeanEditform and Timestamp

2008-02-29 Thread Howard Lewis Ship
You'll need to supply your own data type and editor for Timestamp. A data type is a logial name for a Java type that is used to select an editor Block and output Block, used by Grid, BeanDisplay, BeanEditForm, etc. Tapestry is treating a Timestamp like a java.util.Date, because of inheritance ..

t5: BeanEditform and Timestamp

2008-02-27 Thread Angelo Chen
Hi, I use BeanEditForm with an entity that has Timestamp field, it has DateField dialog in the page, how to encode the time? and when click 'update', I got this error: Failure writing parameter value of component core/PropertyEditBlocks:datefield: Could not find a coercion from type java.util.Da