wood burning stoves 2.0*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jamki dcontainer loading" Watch "jamki dcontainer loading" New topic

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.>

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: jamki dcontainer loading
Similar Threads
Sending dynamic content by email in jsp
problem passing param in included page when using filter
Redirect Tomcat 404 error
Redirection using a Listener
modal dialog in struts