You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ko...@chalu.cz on 2009/02/18 14:20:45 UTC
Struts2.1 and ajax
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Hi,
I found a lot of articles which describes how to use ajax in
Struts2.0 using DOJO / JSON
But in Struts 2.1 I found that DOJO is deprecated and replaced by
Java Web Part - but I did not found any tutorial. In JWP pages I
found something about using in classic servlets, but nothing about
using in Struts framework.
Can anybody send me some link?
Thanks
Jiri
Re: Struts2.1 and ajax
Posted by Lukasz Lenart <lu...@googlemail.com>.
2009/2/18 Jiří Chaloupka <ko...@chalu.cz>:
> If it is deprecated, is there any other recomended library for AJAX?
What ever you can use, jQuery for instance.
Regards
--
Lukasz
http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts2.1 and ajax
Posted by Jiří Chaloupka <ko...@chalu.cz>.
If it is deprecated, is there any other recomended library for AJAX?
Jirka
Lukasz Lenart napsal(a):
> 2009/2/18 <ko...@chalu.cz>:
>
>> I found a lot of articles which describes how to use ajax in
>> Struts2.0 using DOJO / JSON
>> But in Struts 2.1 I found that DOJO is deprecated and replaced by
>> Java Web Part - but I did not found any tutorial. In JWP pages I
>>
>
> Yes, Dojo is deprecated but where did you find that is replaced by JWP?
>
> Anyway, you can use any Ajax library with Struts2, e.g. jQuery and
> with JSON plugin you can simple produce produce output from your
> actions for JavaScript's functions
>
>
> Regards
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts2.1 and ajax
Posted by Lukasz Lenart <lu...@googlemail.com>.
2009/2/18 <ko...@chalu.cz>:
> I found a lot of articles which describes how to use ajax in
> Struts2.0 using DOJO / JSON
> But in Struts 2.1 I found that DOJO is deprecated and replaced by
> Java Web Part - but I did not found any tutorial. In JWP pages I
Yes, Dojo is deprecated but where did you find that is replaced by JWP?
Anyway, you can use any Ajax library with Struts2, e.g. jQuery and
with JSON plugin you can simple produce produce output from your
actions for JavaScript's functions
Regards
--
Lukasz
http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts2.1 and ajax
Posted by "Frank W. Zammetti" <fz...@omnytex.com>.
Just wanted to clarify, as the creator of APT (AjaxParts Taglib, what
both of you are referring to), that APT has not replaced Dojo or
anything else in S2... at least, if it has, it's news to me :)
That being said, it's true that you can use APT with S2, or virtually
any other JSP-based framework. APT doesn't say anything about what
server technology is used, other than JSP since its a taglib... be it
Struts, plain servlets or whatever else you like, so long as you have
URLs that serve content, APT can work with it. There's lots of ways to
do Ajax, APT is just one of them that you might consider.
Here's an introductory article that, while not dealing with Struts
specifically, would still generally be applicable:
http://www.omnytex.com/articles/apt/
hth,
Frank
--
Frank W. Zammetti
Author of "Practical Dojo Projects"
and "Practical DWR 2 Projects"
and "Practical JavaScript, DOM Scripting and Ajax Projects"
and "Practical Ajax Projects With Java Technology"
(For info: apress.com/book/search?searchterm=zammetti&act=search)
My "look ma, I have a blog too!" blog: zammetti.com/blog
Seshagiri V wrote:
> Hi ,
>
> Java Web Parts, The AjaxTags component of the Java Web Parts project is a
> taglib.
> Please follows url:
> http://www.ajaxwith.com/AjaxTags-Sub-Component-of-the-Java-Web-Parts-oject.h
> tml
>
> may be given solution.
>
> Thank you,
> Seshagiri V
> seshagiriv@kensium.com.
>
> US Main: 877 KENSIUM (536.7486)
> US Fax: 312.242.3029
>
> Kensium
> 200 S Wacker Dr, Suite 3100
> Chicago, IL 60606
>
> Confidentiality Note:
> -----------------------------
> The information contained in this e-mail is strictly confidential and for
> the intended use of the addressee only. Any disclosure, use or copying of
> the information by anyone other than the intended recipient is prohibited.
> If you have received this message in error, please notify the sender
> immediately by return e-mail and securely discard this message.
>
>
> -----Original Message-----
> From: konf@chalu.cz [mailto:konf@chalu.cz]
> Sent: Wednesday, February 18, 2009 6:51 PM
> To: Struts Users Mailing List
> Subject: Struts2.1 and ajax
>
> BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Hi,
> I found a lot of articles which describes how to use ajax in
> Struts2.0 using DOJO / JSON
> But in Struts 2.1 I found that DOJO is deprecated and replaced by
> Java Web Part - but I did not found any tutorial. In JWP pages I
> found something about using in classic servlets, but nothing about
> using in Struts framework.
> Can anybody send me some link?
> Thanks
> Jiri
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.0.237 / Virus Database: 270.11.0/1959 - Release Date: 02/18/09
> 20:55:00
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
> __________ Information from ESET Smart Security, version of virus signature database 3866 (20090218) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Struts2.1 and ajax
Posted by Seshagiri V <se...@kensium.com>.
Hi ,
Java Web Parts, The AjaxTags component of the Java Web Parts project is a
taglib.
Please follows url:
http://www.ajaxwith.com/AjaxTags-Sub-Component-of-the-Java-Web-Parts-oject.h
tml
may be given solution.
Thank you,
Seshagiri V
seshagiriv@kensium.com.
US Main: 877 KENSIUM (536.7486)
US Fax: 312.242.3029
Kensium
200 S Wacker Dr, Suite 3100
Chicago, IL 60606
Confidentiality Note:
-----------------------------
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.
-----Original Message-----
From: konf@chalu.cz [mailto:konf@chalu.cz]
Sent: Wednesday, February 18, 2009 6:51 PM
To: Struts Users Mailing List
Subject: Struts2.1 and ajax
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Hi,
I found a lot of articles which describes how to use ajax in
Struts2.0 using DOJO / JSON
But in Struts 2.1 I found that DOJO is deprecated and replaced by
Java Web Part - but I did not found any tutorial. In JWP pages I
found something about using in classic servlets, but nothing about
using in Struts framework.
Can anybody send me some link?
Thanks
Jiri
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.237 / Virus Database: 270.11.0/1959 - Release Date: 02/18/09
20:55:00
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org