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 Problem in Struts 2.0 AJAX content loading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem in Struts 2.0 AJAX content loading" Watch "Problem in Struts 2.0 AJAX content loading" New topic
Author

Problem in Struts 2.0 AJAX content loading

Ramesh kangamuthu
Ranch Hand

Joined: Mar 13, 2007
Posts: 79
Hi,

I work in a struts 2.0.11 project with EJB3.0. In my JSP pages I used divs and spans to contain struts 2.0 tags like s iv, s:textarea. My problem is ajax content is not loaded from(content jsp) to main jsp if I use tags as follows

main.jsp

<span>
<s iv id="id" listenTopics="retrieveData" href="%{retrieveUrl}" theme="ajax" formId="formId"/>
<span>


content.jsp

<span>
<s:textarea name="names"/>
</span>

I followed the procedure to use built-in dojo ajax support well.But when I use s:textarea inside s iv for ajax requirement I got the s:textarea with blank content.

Anybody please help me to solve the proble.

Best Regards,
Ramesh K
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in Struts 2.0 AJAX content loading