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]




--
Blog @ http://raibledesigns.com
Founder of AppFuse @ http://appfuse.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to