aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes jamki dcontainer loading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jamki dcontainer loading" Watch "jamki dcontainer loading" New topic
Author

jamki dcontainer loading

vijay makam
Ranch Hand

Joined: Sep 06, 2008
Posts: 31
I have a jmaki dcontainer defined on a JSP page which is subscribing to topic /foo/setcontent. On the same page I have a button which is publishing to foo/xyz topic. In glue.js I have defined a listener for foo/xyz topic and there I want to include a new JSP page in the dcontainer. so I am saying jmaki.publish("foo/setcontent", {value: data});

where data = {id: 'dynamic', include:"abc.jsp", lazyload:false};

when I click the button in the JSP, the listener method is called, but the publish is not happening to dcontainer (xyz.jsp is not loaded in the dcontainer).

Initially the dcontainer is set with one include <a:widget id="cont1"
name="jmaki.dcontainer" subscribe="foo/setcontent" value="{
items: [{id: 'dynamic', include:"xyz.jsp", lazyload:true, iframe: true}; ]
}


Is my approach correct, if not, where am I going wrong. Kindly guide me.>


Regards,
vijay
 
Don't get me started about those stupid light bulbs.
 
subject: jamki dcontainer loading