You can also download the application from http://static.appfuse.org/downloads/equinox-struts2-1.7.zip.
It expects a postgresql database named "equinox" to be installed and a postgres/postgres user. Instructions for changing this are in the README.txt. Of course, you can use "mvn jetty:run" to start it up. Matt On 10/19/06, Matt Raible <[EMAIL PROTECTED]> wrote:
http://static.appfuse.org/downloads/datepicker.png Another weird thing that's happening is my <label> tags are getting italicized (I'm guessing by Dojo). Matt On 10/19/06, Don Brown <[EMAIL PROTECTED]> wrote: > Post a screenshot, because it really sounds like Sitemesh is trying to > decorate the static content from the jar, including the icon for the > calendar. > > Don > > Matt Raible wrote: > > That doesn't seem to help either. Oh well, I guess I just won't use a > > datepicker for now. It's quite strange because the calendar icon > > doesn't show up either. > > > > Matt > > > > On 10/19/06, Don Brown <[EMAIL PROTECTED]> wrote: > >> Ah, ok, yeah, we saw that problem while working on the starter > >> archetype. The problem is you have to be sure you tell Sitemesh not to > >> decorate any of the static files that Struts 2 delivers. Here is the > >> settings we used: > >> > >> <excludes> > >> <pattern>/nodecorate/*</pattern> > >> <pattern>/styles/*</pattern> > >> <pattern>/scripts/*</pattern> > >> <pattern>/images/*</pattern> > >> <pattern>/dojo/*</pattern> > >> <pattern>/struts/*</pattern> > >> </excludes> > >> > >> HTH, > >> > >> Don > >> > >> Matt Raible wrote: > >> > I don't mind using the datepicker from Struts2, I just want a popup > >> > calendar to show folks how to use it. After some more playing around > >> > with things, it seems the problem is caused by SiteMesh. If I disable > >> > it, the calendars icon renders, and I can popup a calendar. It's all > >> > squished though, so I can't see the value that's being put in the > >> > field. If I enable SiteMesh again, it blows up. This happens > >> > regardless of whether I use *.htm or *.html. > >> > > >> > Matt > >> > > >> > On 10/19/06, Don Brown <[EMAIL PROTECTED]> wrote: > >> >> Hmm...didn't you have a ticket in about problems with the html > >> >> extension? As for the date picker, the real solution is to take > >> the WW > >> >> tag and spin it off into its own Struts plugin, but hosted at > >> >> OpenSymphony. For an application that uses the WW date picker, > >> the Dojo > >> >> one won't be an adequate replacement by a long shot. > >> >> > >> >> Don > >> >> > >> >> Matt Raible wrote: > >> >> > I'm trying to upgrade Equinox (http://equinox.dev.java.net) to > >> Struts > >> >> > 2. So far, the only major issue I've found is the datepicker > >> >> > component doesn't seem to work. It looks like it's using dojo, but > >> >> > dojo is never included in the <head>. Is there a tag I need to > >> do add > >> >> > to get dojo included? Below is the results of view-source: > >> >> > > >> >> > http://rifers.org/paste/show/2021 > >> >> > > >> >> > (goes off to investigate a bit more...) > >> >> > > >> >> > After investigation, I've come to find I need <s:head/> in the > >> <head> > >> >> > of my JSP for this to work properly. So now the dojo files are > >> >> > imported, but I get the following error: > >> >> > > >> >> > Could not load 'dojo.widget.html.DatePicker'; last tried > >> >> '__package__.js' > >> >> > > >> >> > This is probably related to the fact that I use *.html as my > >> >> > extension, as does dojo for its templates. Is there anyway to > >> change > >> >> > this or am I forced to use a different extension for my actions? > >> >> > > >> >> > Thanks, > >> >> > > >> >> > Matt > >> >> > > >> >> > > >> --------------------------------------------------------------------- > >> >> > 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] > > -- Blog @ http://raibledesigns.com Founder of AppFuse @ http://appfuse.org
-- Blog @ http://raibledesigns.com Founder of AppFuse @ http://appfuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]