This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Consider Paul's rocket mass heater.
 
subject: Problem in Struts 2.0 AJAX content loading
 
Similar Threads
struts 2 don�t get radio button
[S2] Secure and non-secure message appear in IE 7 using https
Struts 2 div could not be viewed
Struts 2 Ajax Dojo.js reload problem
Struts 2 'dojo is not defined' .....?