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 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 Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
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