You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Siva Gurusamy <si...@ivycomptech.com> on 2007/03/01 10:33:56 UTC

Dojo vs TagLib of Struts for Ajax

Hi,

 

I am involved in a project which needs Ajax features. We have decided to use
struts 2 for development.

 

For Ajax support is it advisable to use Dojo with JSON or Struts2 Taglib
with ajax theme or Mix of both?

 

Thanks

siva 


Re: Dojo vs TagLib of Struts for Ajax

Posted by Musachy Barroso <mu...@gmail.com>.
You can mix them. Dojo will be available to you, just as if you had included
it on your application yourself. There are some tags on the ajax theme that
can help you do simple stuff. On top of that there is a JSON plugin that you
can use to generate/populate JSON from/to your actions. For ajaxtags
details:

http://struts.apache.org/2.x/docs/ajax-tags.html

For JSON plugin:

http://cwiki.apache.org/S2PLUGINS/json-plugin.html

regards
musachy

On 3/1/07, Siva Gurusamy <si...@ivycomptech.com> wrote:
>
> Hi,
>
>
>
> I am involved in a project which needs Ajax features. We have decided to
> use
> struts 2 for development.
>
>
>
> For Ajax support is it advisable to use Dojo with JSON or Struts2 Taglib
> with ajax theme or Mix of both?
>
>
>
> Thanks
>
> siva
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

Re: Dojo vs TagLib of Struts for Ajax

Posted by "C. Adams" <li...@the-adams-family.net>.
The struts 2 taglibs (in ajax theme) use Dojo, so they are really one in the
same.


On 3/1/07, Siva Gurusamy <si...@ivycomptech.com> wrote:
>
> Hi,
>
>
>
> I am involved in a project which needs Ajax features. We have decided to
> use
> struts 2 for development.
>
>
>
> For Ajax support is it advisable to use Dojo with JSON or Struts2 Taglib
> with ajax theme or Mix of both?
>
>
>
> Thanks
>
> siva
>
>