Mahen,
Has 5.0.11 solved your problem ? I am on 5.0.11 and when I am submitting a
form with
a DateField I am getting the following exception? Is this the someone you
were seeing ?
Has anyone else seen this problem ?
Failure writing parameter 'value' of component
hotel/contract/Page:seasoncmpnt.datefield: Binding
[EMAIL PROTECTED] is
read-only.
My code is
.tml
<t:DateField value="${fromDate}" size="8"/>
.java
public class Period{
private Date fromDate;
public void setFromDate(Date fromDate);
public Date getFromDate();
}
Petros
Mahen Perera-2 wrote:
>
> I also encountered this same issue,, and as given below, included the
> source from 5.0.9 for the DateField class. I named my component
> DateInputField and change references in the .tml files.
> Now the datefield pop up is coming nicely , and it shows the day that I
> select in the text field.
> But when the form is submitted, the value of the date field is not
> getting bound to the java.util.Date property in the page class.
> I think I need to do some thing additional , than just adding the old
> DateField class?
> Thanks in advance for any replies..
>
> -----Original Message-----
> From: Davor Hrg [mailto:[EMAIL PROTECTED]
> Sent: 15 February 2008 10:31
> To: Tapestry users
> Subject: Re: T5.0.10 DateField component broken ???
>
> yes,
> datefield is changed to apache license compatible one,
>
> it has no functions for date formatting,
>
> you should use the source from old tapestry to create your own datefield
> using the previous calendar js
>
> ....
>
> Davor Hrg
>
> On Fri, Feb 15, 2008 at 11:02 AM, Dapeng <[EMAIL PROTECTED]> wrote:
>> following code works fine with 5.0.9
>>
>> <t:datefield value="newUser.dateOfBirth" format="%d/%m/%y"
>> validate="required" label="Date of birth"/><br/>
>>
>>
>> but when i upgrate to 5.0.10
>>
>> the popup is misplaced in Firefox & Safari and in IE7 i even don have
>> the popup but rather a javascript error warning
>>
>>
>>
>>
>> i check
>>
> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapest
> ry/corelib/components/DateField.html
>>
>>
>> it seems the format parameter is also gone
>>
>>
>>
>>
>>
>>
>>
>>
>> what is happening to this component ???
>>
>> ---------------------------------------------------------------------
>> 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]
>
> The information contained in this email is strictly confidential and for
> the use of the addressee only, unless otherwise indicated. If you are not
> the intended recipient, please do not read, copy, use or disclose to
> others this message or any attachment. Please also notify the sender by
> replying to this email or by telephone (+44 (0)20 7896 0011) and then
> delete the email and any copies of it. Opinions, conclusions (etc.) that
> do not relate to the official business of this company shall be understood
> as neither given nor endorsed by it. IG Index plc is a company registered
> in England and Wales under number 01190902. VAT registration number 761
> 2978 07. Registered Office: Friars House, 157-168 Blackfriars Road, London
> SE1 8EZ. Authorised and regulated by the Financial Services Authority. FSA
> Register number 114059.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/T5.0.10-DateField-component-broken-----tp15498138p16744021.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]