RE: T3 binding issue for DatePicker
Hi Nick, I'm new in Tapestry. There is no usages doc with the component. Can you please provide me some sample code? Thanks a lot. Naz -Original Message- From: Nick Westgate [mailto:[EMAIL PROTECTED] Sent: Monday, 18 June 2007 4:34 p.m. To: Tapestry users Subject: Re: T3 binding issue for DatePicker Look on Tassel which has various validating components that you can use or study: http://www.tapestrycomponents.org/Tassel/app?service=direct/1/Browse/cha ngeView&sp=SForm-element+%28validating%29 In fact one of them purports to be a ValidDatePicker. Depsite being marked as "GPL", no GPL license statement appears to be included. Cheers, Nick. Bhuiyan, Nazmul wrote: > I want to use DatePicker to capture date from user. And would like to > make this field mandatory. > How do I do this? > > -Original Message- > From: Nick Westgate [mailto:[EMAIL PROTECTED] > Sent: Monday, 18 June 2007 4:01 p.m. > To: Tapestry users > Subject: Re: T3 binding issue for DatePicker > > Hi Naz. > > You're getting confused between DatePicker and DateField. > > Cheers, > Nick. > > > Nazmul wrote: >> If I use the following code in my html and >> the page then get the following error: >> >> Html template: >> 82 >> 83 > field="ognl:components.inputUserActiveDate"> >> Active Date >> 84 Active Date >> 85 >> 86 >> >> Page specification: >> >> >> >> >> >> >> >> Error from Tapestry: >> Display name not specified and not provided by >> field UserMaint/inputUserActiveDate. >> >> binding: >> ExpressionBinding[UserMaint/inputUserActiveDate >> cachedValue=org.apache.tapestry.form. >> [EMAIL PROTECTED]/inputUserActiveDate]] >> >> component: >> org.apache.tapestry.valid. >> [EMAIL PROTECTED]/$FieldLabel$4] >> >> location: >> context:/WEB-INF/UserMaint.html, line 83 >> >> If I use the following code then I don't get any error >> and the UserMaint page displays ok but when I submit >> the form then get null for the nputUserActiveDate. >> It seems binding not done properly. >> >> Html template: >> >> >> Active Date >> >> >> >> Page specification: >> >> >> >> >> >> >> Please help. >> >> Naz >> >> >> - >> 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] > > > > > - > 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T3 binding issue for DatePicker
Look on Tassel which has various validating components that you can use or study: http://www.tapestrycomponents.org/Tassel/app?service=direct/1/Browse/changeView&sp=SForm-element+%28validating%29 In fact one of them purports to be a ValidDatePicker. Depsite being marked as "GPL", no GPL license statement appears to be included. Cheers, Nick. Bhuiyan, Nazmul wrote: I want to use DatePicker to capture date from user. And would like to make this field mandatory. How do I do this? -Original Message- From: Nick Westgate [mailto:[EMAIL PROTECTED] Sent: Monday, 18 June 2007 4:01 p.m. To: Tapestry users Subject: Re: T3 binding issue for DatePicker Hi Naz. You're getting confused between DatePicker and DateField. Cheers, Nick. Nazmul wrote: If I use the following code in my html and the page then get the following error: Html template: 82 83 Active Date 84 Active Date 85 86 Page specification: Error from Tapestry: Display name not specified and not provided by field UserMaint/inputUserActiveDate. binding: ExpressionBinding[UserMaint/inputUserActiveDate cachedValue=org.apache.tapestry.form. [EMAIL PROTECTED]/inputUserActiveDate]] component: org.apache.tapestry.valid. [EMAIL PROTECTED]/$FieldLabel$4] location: context:/WEB-INF/UserMaint.html, line 83 If I use the following code then I don't get any error and the UserMaint page displays ok but when I submit the form then get null for the nputUserActiveDate. It seems binding not done properly. Html template: Active Date Page specification: Please help. Naz - 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] - 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]
RE: T3 binding issue for DatePicker
I want to use DatePicker to capture date from user. And would like to make this field mandatory. How do I do this? -Original Message- From: Nick Westgate [mailto:[EMAIL PROTECTED] Sent: Monday, 18 June 2007 4:01 p.m. To: Tapestry users Subject: Re: T3 binding issue for DatePicker Hi Naz. You're getting confused between DatePicker and DateField. Cheers, Nick. Nazmul wrote: > If I use the following code in my html and > the page then get the following error: > > Html template: > 82 > 83 field="ognl:components.inputUserActiveDate"> > Active Date > 84 Active Date > 85 > 86 > > Page specification: > > > > > > > > Error from Tapestry: > Display name not specified and not provided by > field UserMaint/inputUserActiveDate. > > binding: > ExpressionBinding[UserMaint/inputUserActiveDate > cachedValue=org.apache.tapestry.form. > [EMAIL PROTECTED]/inputUserActiveDate]] > > component: > org.apache.tapestry.valid. > [EMAIL PROTECTED]/$FieldLabel$4] > > location: > context:/WEB-INF/UserMaint.html, line 83 > > If I use the following code then I don't get any error > and the UserMaint page displays ok but when I submit > the form then get null for the nputUserActiveDate. > It seems binding not done properly. > > Html template: > > > Active Date > > > > Page specification: > > > > > > > Please help. > > Naz > > > - > 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T3 binding issue for DatePicker
Hi Naz. You're getting confused between DatePicker and DateField. Cheers, Nick. Nazmul wrote: If I use the following code in my html and the page then get the following error: Html template: 82 83 Active Date 84 Active Date 85 86 Page specification: Error from Tapestry: Display name not specified and not provided by field UserMaint/inputUserActiveDate. binding: ExpressionBinding[UserMaint/inputUserActiveDate cachedValue=org.apache.tapestry.form. [EMAIL PROTECTED]/inputUserActiveDate]] component: org.apache.tapestry.valid. [EMAIL PROTECTED]/$FieldLabel$4] location: context:/WEB-INF/UserMaint.html, line 83 If I use the following code then I don’t get any error and the UserMaint page displays ok but when I submit the form then get null for the nputUserActiveDate. It seems binding not done properly. Html template: Active Date Page specification: Please help. Naz - 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]
T3 binding issue for DatePicker
If I use the following code in my html and the page then get the following error: Html template: 82 83 Active Date 84 Active Date 85 86 Page specification: Error from Tapestry: Display name not specified and not provided by field UserMaint/inputUserActiveDate. binding: ExpressionBinding[UserMaint/inputUserActiveDate cachedValue=org.apache.tapestry.form. [EMAIL PROTECTED]/inputUserActiveDate]] component: org.apache.tapestry.valid. [EMAIL PROTECTED]/$FieldLabel$4] location: context:/WEB-INF/UserMaint.html, line 83 If I use the following code then I don’t get any error and the UserMaint page displays ok but when I submit the form then get null for the nputUserActiveDate. It seems binding not done properly. Html template: Active Date Page specification: Please help. Naz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]