Does the autocompleter tag work with this solution?
David M.
Matt Raible wrote:
I took the debugging part out and used what the Struts folks were
outputting instead.
<script type="text/javascript">
// Dojo configuration
djConfig = {
baseRelativePath: "<c:url value='/scripts/dojo/'/>",
isDebug: false,
bindEncoding: "UTF-8"
};
</script>
<script type="text/javascript" src="<c:url
value='/scripts/dojo/dojo.js'/>"></script>
Of course, it should be easy enough to add it back in.
A word of caution for folks hoping to use this widget. Dojo seems as
slow as ever - it takes a second or two for the calendar icons and
date input fields to appear on the page (after the rest of the page
has loaded).
Matt
On 5/30/07, Jason Thrasher <[EMAIL PROTECTED]> wrote:
Glad it worked! and +1 for adding to RC1. I forgot to mention that
you can
see dojo's debug output by adding this to the bottom of default.jsp:
<authz:authorize ifAllGranted="ROLE_ADMIN">
<div id="dojoDebugOutput"></div>
</authz:authorize>
-Jason
mraible wrote:
>
> Thanks Jason - these instructions worked!
>
> I'm going to make the following changes for RC1:
>
> 1. Add Dojo 0.4.3 to struts/src/main/webapp/scripts/dojo
> 2. Change Struts' decorators/default.jsp to load Dojo (so users
won't need
> <s:head theme="ajax"/>).
> 3. Modify decorators.xml and web.xml to properly include/exclude Dojo
> requests.
> 4. Add css to forms.css that makes the calendar look right on all
> AppFuse's
> default themes.
>
> I've re-opened APF-739 to track these changes.
>
> Matt
>
> On 5/27/07, thrasher <[EMAIL PROTECTED]> wrote:
>>
>>
>> Just a note after some testing: the aforementioned technique seems to
>> work
>> for M4 and M5. However, I didn't realize that this may be
simplified in
>> M5
>> by this:
>> http://issues.appfuse.org/browse/APF-739
>>
>> -Jason
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/ajax-and-datepicker-on-2m4-tf3813840s2369.html#a10830881
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> http://raibledesigns.com
>
>
--
View this message in context:
http://www.nabble.com/ajax-and-datepicker-on-2m4-tf3813840s2369.html#a10884706
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
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]