[jboss-user] [JBoss Portal] - Struts portlet url for ajax

bryancan do-not-reply at jboss.com
Tue Sep 9 03:25:19 EDT 2008


I have a struts portlet that works great in another portal (LifeRay). I am converting it to work in JBoss 2.6.6. So far I have it down except for the url to my struts actions.

I currently use this in an ajax function to grab data from a db and populate a div:


  | function refreshMe<portlet:namespace/>() {
  | jQuery('body').css({cursor: "wait"}); 
  |   var url = "<portlet:renderURL windowState="exclusive"><portlet:param name="_spage" value="/portlet_action/test_test/detail" /></portlet:renderURL>";
  |   jQuery('div#<portlet:namespace/>targetDiv').load(url,{},
  |   function() 
  | { 
  |     jQuery('body').css({cursor: "auto"})
  | } 
  | );
  | }
  | 

What is the difference for Jboss?

Bryancan

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175216#4175216

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175216



More information about the jboss-user mailing list