Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-28 Thread Matt Raible
For TSSS? I don't currently have any plans to attend. If I go to Vegas, I'd rather not wake up and go to a conference. ;-) Matt On 2/28/07, dusty <[EMAIL PROTECTED]> wrote: I am trying to get more involved. I have been quietly playing with these things for a long time. See you in Vegas? -

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-28 Thread dusty
I am trying to get more involved. I have been quietly playing with these things for a long time. See you in Vegas? -D mraible wrote: > > Don't be sorry Dusty - this is great information! Now if only we could > figure out a way to get you to ramble on on the mailing list *and* on > the wiki

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-28 Thread Matt Raible
Don't be sorry Dusty - this is great information! Now if only we could figure out a way to get you to ramble on on the mailing list *and* on the wiki! ;-) Matt On 2/28/07, dusty <[EMAIL PROTECTED]> wrote: Dont be lost!! :-( There are alternatives. First of all Matt, just posted a Struts2 a

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-28 Thread dusty
Dont be lost!! :-( There are alternatives. First of all Matt, just posted a Struts2 adaptation of the filter I mentioned with instructions. It looks like he is having issues with messages.jsp, but I assume that will be fixed soon. Dojo is not the only solution. You don't have to use the ajax

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-28 Thread Fan
In fact my understanding in Struts & dojo is vey minimal, I am at a lost junction now :P dusty wrote: > > No problem. Its not a matter of checking. Its an issue. So to fix this > issue you need to look here: > > http://issues.appfuse.org/browse/APF-431 > > At the top of this Jira issue is

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-27 Thread dusty
No problem. Its not a matter of checking. Its an issue. So to fix this issue you need to look here: http://issues.appfuse.org/browse/APF-431 At the top of this Jira issue is the source code and at the bottom is the link to the instructions. Unfortunately, its for the Spring MVC. We need to

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-27 Thread Fan
Dusty, could you please tell me how to check the HTML extension issue ? I am using Appfuse 2.0 with struts2 web framework dusty wrote: > > Strangely enough Fan, someone kind of hijacked this thread with an issue > that could very well help you. Random and strange. > > The issue is that Appf

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-26 Thread dusty
Strangely enough Fan, someone kind of hijacked this thread with an issue that could very well help you. Random and strange. The issue is that Appfuse ships with .html mapped to be the extension for struts actions. Dojo requires an actual .html file be served up and Struts intercepts the request

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-26 Thread Fan
I tried with the following lines on top of the JSP: but it does not help :( mraible wrote: > > Try adding this to the top of your JSP: > > >you should already have this > > > > Matt > > On 2/26/07, Fan <[EMAIL PROTECTED]> wrote: >> >> what to do with elemen

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-26 Thread Matt Raible
Try adding this to the top of your JSP: you should already have this Matt On 2/26/07, Fan <[EMAIL PROTECTED]> wrote: what to do with element ? mraible wrote: > > Do you have in the element of your page? > > http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/comp

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-26 Thread Fan
what to do with element ? mraible wrote: > > Do you have in the element of your page? > > http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/components/Head.html > > Matt > > On 2/25/07, Fan <[EMAIL PROTECTED]> wrote: >> >> I had installed firebug, while running the appl

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-25 Thread Matt Raible
Do you have in the element of your page? http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/components/Head.html Matt On 2/25/07, Fan <[EMAIL PROTECTED]> wrote: I had installed firebug, while running the application with page having datetimepicker, the firebug console was

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-25 Thread Fan
I had installed firebug, while running the application with page having datetimepicker, the firebug console was showing the following error : dojo is not defined dojo.require("dojo.widget.DatePicker"); I cant find any DatePicker class under my project. Any one can give me the pointers of how

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-22 Thread Fan
I found datetimepicker under the struts2.components library. I am using the following line but the field does not show on the browser screen. here is the html source from the browser : Date Open dojo.require("dojo.widget.DatePicker"); Anyone has

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-22 Thread Fan
I am using the following datePicker: But , I encounter the following error: HTTP ERROR: 500 /WEB-INF/pages/storeForm.jsp(13,4) PWC6142: No tag "datepicker" defined in tag library imported with prefix "s" RequestURI=/WEB-INF/pages/storeForm.jsp Powered by Jetty:// How do I import the libra

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-20 Thread Matt Raible
I believe this is Struts' default date format. Here's how I fixed this problem in Equinox: http://issues.appfuse.org/browse/EQX-50 Matt On 2/20/07, Fan <[EMAIL PROTECTED]> wrote: In the browser, it shows 2/17/07 12:00:00 AM.000 Yes, I managed to save it without modifying it. 1)I think the c

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-20 Thread Fan
In the browser, it shows 2/17/07 12:00:00 AM.000 Yes, I managed to save it without modifying it. 1)I think the correct format for the date is MM/DD/ , is there any settings I can made change to ? it's controlled by MySQL ? 2) How could I remove the time from the date ? 3) Can I use java.s

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-14 Thread Matt Raible
You haven't answered my first question: ;-) If you enter a date through your database console and then view the record in your browser - what date format does it use? If you don't modify the date, does it allow you to save it? Matt On 2/14/07, Fan <[EMAIL PROTECTED]> wrote: This is the Person

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-14 Thread Fan
This is the Person.java I have: package org.appfuse.model; import org.appfuse.model.BaseObject; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; import org.apache.commons.lang.bui

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-13 Thread Matt Raible
If you enter a date through your database console and then view the record in your browser - what date format does it use? If you don't modify the date, does it allow you to save it? Are you sure you're using java.util.Date? Matt On 2/13/07, Fan <[EMAIL PROTECTED]> wrote: I was trying the sug

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-13 Thread Fan
I was trying the suggestions you provided. Unfortunately, neither of them works by the way, I am using Struts2 basic Matt Raible-3 wrote: > > If you remove the Scriptaculous and Prototype includes from the > default.jsp decorator - does that help? As far as the date error - > what happens if

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-12 Thread Matt Raible
If you remove the Scriptaculous and Prototype includes from the default.jsp decorator - does that help? As far as the date error - what happens if you use something like 05-07-1976? Matt On 2/12/07, Fan <[EMAIL PROTECTED]> wrote: I am using the following in personForm.jsp : However , I can

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-12 Thread Fan
I am using the following in personForm.jsp : However , I cant get any Calendar component from the screen. when I tried to save the field with "1976-05-07", it showed the following message : Validation Error Invalid field value for field "person.dob". Matt Raible-3 wrote: > > You might tr

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-07 Thread Matt Raible
You might try using the component. http://struts.apache.org/2.x/core-apidocs/org/apache/struts2/components/DatePicker.html Matt On 2/7/07, Fan <[EMAIL PROTECTED]> wrote: I am using struts 2 Matt Raible-3 wrote: > > On 2/7/07, Fan <[EMAIL PROTECTED]> wrote: >> >> >> 1)Is there any Calendar

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-07 Thread Fan
I am using struts 2 Matt Raible-3 wrote: > > On 2/7/07, Fan <[EMAIL PROTECTED]> wrote: >> >> >> 1)Is there any Calendar component in Appfuse 2.0, if there is so, how >> could I >> make use of it ? > > > Which web framework are you using? > > 2)How do we define date field (without time) in P

Re: [appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-07 Thread Matt Raible
On 2/7/07, Fan <[EMAIL PROTECTED]> wrote: 1)Is there any Calendar component in Appfuse 2.0, if there is so, how could I make use of it ? Which web framework are you using? 2)How do we define date field (without time) in POJO for Appfuse 2.0 ? as a java.util.Date Matt -- View this mess

[appfuse-user] Calendar component and Date field for Appfuse 2.0

2007-02-07 Thread Fan
1)Is there any Calendar component in Appfuse 2.0, if there is so, how could I make use of it ? 2)How do we define date field (without time) in POJO for Appfuse 2.0 ? -- View this message in context: http://www.nabble.com/Calendar-component-and-Date-field-for-Appfuse-2.0-tf3187463s2369.html#a