You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dapeng <da...@spiralcomms.com> on 2008/02/15 11:02:57 UTC
T5.0.10 DateField component broken ???
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/tapestry/corelib/components/DateField.html
it seems the format parameter is also gone
what is happening to this component ???
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5.0.10 DateField component broken ???
Posted by Dapeng <da...@spiralcomms.com>.
well i am fine without formatting which looks handy
but ... at least ... can we have a major-browsers-compatible calender??
so far only Opera displays the calendar correctly
FF: misplacement http://dapeng.spiralcomms.com/temp/calender_ff.png
IE7 javascript error http://dapeng.spiralcomms.com/temp/calender_ie7.png
Davor Hrg wrote:
> 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 <da...@spiralcomms.com> 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/tapestry/corelib/components/DateField.html
>>
>>
>> it seems the format parameter is also gone
>>
>>
>>
>>
>>
>>
>>
>>
>> what is happening to this component ???
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5.0.10 DateField component broken ???
Posted by Hugo Palma <hu...@gmail.com>.
Ok, i've created an issue for this
https://issues.apache.org/jira/browse/TAPESTRY-2172 so everyone can
follow it....
Angelo Chen wrote:
> I don't think so.
>
>
> HugoPalma wrote:
>
>> Is there an issue in JIRA for this already ?
>>
>> Angelo Chen wrote:
>>
>>> Hi,
>>>
>>> I have the same problem, here is my
>>> http://www.nabble.com/T5%3A-JSCalender-popup-window-always-in-the-left-most-when-inside-a-layout-to15537707.html
>>> problem , the misplaced popup happens only inside a layout component,
>>> maybe
>>>
>>
>
>
Re: T5.0.10 DateField component broken ???
Posted by Angelo Chen <an...@yahoo.com.hk>.
I don't think so.
HugoPalma wrote:
>
> Is there an issue in JIRA for this already ?
>
> Angelo Chen wrote:
>> Hi,
>>
>> I have the same problem, here is my
>> http://www.nabble.com/T5%3A-JSCalender-popup-window-always-in-the-left-most-when-inside-a-layout-to15537707.html
>> problem , the misplaced popup happens only inside a layout component,
>> maybe
>
>
--
View this message in context: http://www.nabble.com/T5.0.10-DateField-component-broken-----tp15498138p15544263.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5.0.10 DateField component broken ???
Posted by Hugo Palma <hu...@gmail.com>.
Is there an issue in JIRA for this already ?
Angelo Chen wrote:
> Hi,
>
> I have the same problem, here is my
> http://www.nabble.com/T5%3A-JSCalender-popup-window-always-in-the-left-most-when-inside-a-layout-to15537707.html
> problem , the misplaced popup happens only inside a layout component, maybe
> somebody can package the old js calendar as a 3rd party component? thanks,
>
> A.C.
>
>
> Davor Hrg wrote:
>
>> 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 <da...@spiralcomms.com> 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/tapestry/corelib/components/DateField.html
>>>
>>>
>>> it seems the format parameter is also gone
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> what is happening to this component ???
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>>
>>
>
>
Re: T5.0.10 DateField component broken ???
Posted by Angelo Chen <an...@yahoo.com.hk>.
Hi,
I have the same problem, here is my
http://www.nabble.com/T5%3A-JSCalender-popup-window-always-in-the-left-most-when-inside-a-layout-to15537707.html
problem , the misplaced popup happens only inside a layout component, maybe
somebody can package the old js calendar as a 3rd party component? thanks,
A.C.
Davor Hrg wrote:
>
> 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 <da...@spiralcomms.com> 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/tapestry/corelib/components/DateField.html
>>
>>
>> it seems the format parameter is also gone
>>
>>
>>
>>
>>
>>
>>
>>
>> what is happening to this component ???
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/T5.0.10-DateField-component-broken-----tp15498138p15539743.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5.0.10 DateField component broken ???
Posted by Dapeng <da...@spiralcomms.com>.
hope that we can have a functional component in 5.0.11, doesn't matter
it is less feature-rich
Mahen Perera wrote:
> No errors.
> Just that , the date property returns null every time upon form
> submission , even though I have selected a date from the popup.
>
> -----Original Message-----
> From: Davor Hrg [mailto:hrgdavor@gmail.com]
> Sent: 15 February 2008 14:36
> To: Tapestry users
> Subject: Re: T5.0.10 DateField component broken ???
>
> any error ?
>
>
> On Fri, Feb 15, 2008 at 2:41 PM, Mahen Perera
> <Ma...@igindex.co.uk> 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:hrgdavor@gmail.com]
>> 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 <da...@spiralcomms.com>
>>
> 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: users-unsubscribe@tapestry.apache.org
>> > For additional commands, e-mail: users-help@tapestry.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>> 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: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
> 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: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: T5.0.10 DateField component broken ???
Posted by Mahen Perera <Ma...@igindex.co.uk>.
No errors.
Just that , the date property returns null every time upon form
submission , even though I have selected a date from the popup.
-----Original Message-----
From: Davor Hrg [mailto:hrgdavor@gmail.com]
Sent: 15 February 2008 14:36
To: Tapestry users
Subject: Re: T5.0.10 DateField component broken ???
any error ?
On Fri, Feb 15, 2008 at 2:41 PM, Mahen Perera
<Ma...@igindex.co.uk> 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:hrgdavor@gmail.com]
> 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 <da...@spiralcomms.com>
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: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
> 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: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5.0.10 DateField component broken ???
Posted by Davor Hrg <hr...@gmail.com>.
any error ?
On Fri, Feb 15, 2008 at 2:41 PM, Mahen Perera
<Ma...@igindex.co.uk> 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:hrgdavor@gmail.com]
> 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 <da...@spiralcomms.com> 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: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
> 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: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: T5.0.10 DateField component broken ???
Posted by Petros Petrou <pe...@cypoz.com>.
Jonathan,
That was the problem, it works fine now thank you
Petros
Jonathan Barker wrote:
>
>
> Try using value="fromDate" rather than the expansion.
>
>
>> -----Original Message-----
>> From: Petros Petrou [mailto:petros@cypoz.com]
>> Sent: Thursday, April 17, 2008 9:59 AM
>> To: users@tapestry.apache.org
>> Subject: RE: T5.0.10 DateField component broken ???
>>
>>
>> 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
>> org.apache.tapestry.internal.services.AttributeExpansionBinding@1de152f
>> 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:hrgdavor@gmail.com]
>> > 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 <da...@spiralcomms.com>
>> 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: users-unsubscribe@tapestry.apache.org
>> >> For additional commands, e-mail: users-help@tapestry.apache.org
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> > For additional commands, e-mail: users-help@tapestry.apache.org
>> >
>> > 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: users-unsubscribe@tapestry.apache.org
>> > For additional commands, e-mail: users-help@tapestry.apache.org
>> >
>> >
>> >
>>
>> --
>> 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: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/T5.0.10-DateField-component-broken-----tp15498138p16774604.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: T5.0.10 DateField component broken ???
Posted by Jonathan Barker <jo...@gmail.com>.
Try using value="fromDate" rather than the expansion.
> -----Original Message-----
> From: Petros Petrou [mailto:petros@cypoz.com]
> Sent: Thursday, April 17, 2008 9:59 AM
> To: users@tapestry.apache.org
> Subject: RE: T5.0.10 DateField component broken ???
>
>
> 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
> org.apache.tapestry.internal.services.AttributeExpansionBinding@1de152f 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:hrgdavor@gmail.com]
> > 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 <da...@spiralcomms.com> 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: users-unsubscribe@tapestry.apache.org
> >> For additional commands, e-mail: users-help@tapestry.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> > 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: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
> >
>
> --
> 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: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: T5.0.10 DateField component broken ???
Posted by Petros Petrou <pe...@cypoz.com>.
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
org.apache.tapestry.internal.services.AttributeExpansionBinding@1de152f 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:hrgdavor@gmail.com]
> 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 <da...@spiralcomms.com> 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: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
> 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: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: T5.0.10 DateField component broken ???
Posted by Mahen Perera <Ma...@igindex.co.uk>.
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:hrgdavor@gmail.com]
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 <da...@spiralcomms.com> 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: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5.0.10 DateField component broken ???
Posted by Davor Hrg <hr...@gmail.com>.
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 <da...@spiralcomms.com> 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/tapestry/corelib/components/DateField.html
>
>
> it seems the format parameter is also gone
>
>
>
>
>
>
>
>
> what is happening to this component ???
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org