Scriptaculous is already built in, have you tried using it? The reason
I don't like using Tag Libraries that emit JavaScript and allow
"automatic Ajax" is because they generally don't lend themselves well
to progressive enhancement.

http://en.wikipedia.org/wiki/Progressive_Enhancement

Matt

On Sun, May 18, 2008 at 9:51 AM, tim robertson
<[EMAIL PROTECTED]> wrote:
> Thanks Matt,
> I did in fact, *just* get it working...
> What do you recommend for the client side for JSON based ajax (do we still
> call is ajax if it is JSON and not xml - shrug) for Struts2 please?
> Thanks
> Tim
>
> On Sun, May 18, 2008 at 5:45 PM, Matt Raible <[EMAIL PROTECTED]> wrote:
>>
>> Please see the last two comments for more information on why we don't
>> recommend Dojo with Struts 2:
>>
>> http://issues.appfuse.org/browse/APF-739
>>
>> <quote>
>> Copying dojo to an AppFuse application will work, but at 5 MB, it
>> doesn't seem worth the effort. Most of Struts tags that use Dojo are
>> buggy or slow.
>>
>> See the following URL for more information:
>>
>>
>> http://www.nabble.com/Moving-from-Canoo-WebTest-to-Selenium-tf3844464s2369.html#a10887242
>> </quote>
>>
>> The good news is there is a branch with the integration on it, so if
>> you really want to use it you can.
>>
>> Matt
>>
>> On Sun, May 18, 2008 at 5:05 AM, tim robertson
>> <[EMAIL PROTECTED]> wrote:
>> > Hi all,
>> > Is there a tutorial anywhere to get dojo working with appfuse struts2?
>> > In my default.jsp I add:
>> >
>> >         <s:head theme="ajax" debug="true"/>
>> >
>> > but I get
>> >
>> >  - Could not load 'struts.widget.Bind'; last tried '__package__.js'
>> >
>> >  - Could not load 'dojo.widget.FilteringTable'; last tried
>> > '__package__.js'
>> >
>> > Is this the correct approach or do you need to have the .js files in the
>> > project itself and remove them from the static filter in the web.xml?
>> > (when I try that it seems unable to get the *.js due to some relative
>> > path
>> > problem)
>> > Please help!  Head against wall banging all day so far...
>> > Thanks,
>> > Tim
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> 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]

Reply via email to