File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts with AjaxTag and DisplayTag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts with AjaxTag and DisplayTag" Watch "Struts with AjaxTag and DisplayTag" New topic
Author

Struts with AjaxTag and DisplayTag

Mark Henryson
Ranch Hand

Joined: Jul 11, 2005
Posts: 200
I am developing a web application in Struts 1.3.10 and decided to use Ajax, since I will be having more input fields & drop downs in the form.
I want to know how to use AjaxTags with Struts. I have googled and didn't get any useful resources, as each one implementing the AjaxTags in their own way.
Is there any standardized way to use AjaxTags with Struts. I have also decided to use display tags. I have got a nice demo in the display tag site.
But I want to use Display Tag with Ajax Tag in Struts.
If anyone has any good resources/links/sample demo/example will be helpful in developing my application.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

AFAIK there's no "standard way" to use AjaxTags with Struts. AjaxTags is framework-neutral; it can be used however you want.
Mark Henryson
Ranch Hand

Joined: Jul 11, 2005
Posts: 200
Thanks for the reply.
Is there any demo/links/resource available on how to use together the Display Tag and AjaxTag with Struts?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I don't know, I'd probably just search the web. Again--AjaxTags are framework-neutral, and there shouldn't be any particular issues using it with Struts. If you have a specific question that's Struts-related, this is the right place.

(It may depend slightly on which AjaxTags you're talking about; one of them started off being a Struts-oriented taglib but turned neutral, don't know much about the other, but the docs made it look simple to work with.)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts with AjaxTag and DisplayTag
 
Similar Threads
ajax and java
AJAXTags: Problem regarding Setting request attributes
Struts2 + AjaxTags JSTL not working
AJAX with Struts 1.3
AJAXTags: Problem with setting request attributes