Login Register

contentPane

ContentPane loading ok in FF but not in IE

Hey guys and Gals, I was hoping someone might be able to point me in the right direction.... I have a page with 6 content panes on it and a number of links that when clicked on change the href for the contentpanes. In most of the cases everything works fine... but for a few of the pages will not load in IE. They all work fine in FF3, but with the same links in IE all I get shoing up in the pane if "undefined" I have tested all my javascript and it all looks ok to me.. I can't work out how to tell what is exactly is undefined???

dojox.layout.ContenetPane href JSP load issue

Hi All,

I'm facing problem in loading content within 'dojox.layout.ContenetPane' through 'href';

My scenario is; I have a Tab container with multiple child tabs and when ever I switch between these tabs each tab should load content dynamically.

dojox contentpane with href pointing to a JSP

I am trying to use dojox.layout.ContentPane to reference a JSP file. This is what i am doing:

<code><div cleanContent="true" dojoType="dojox.layout.ContentPane" href="somefile.jsp" id="Usr-Rl_Mgmt" refreshOnShow="true" title="Usr-Rl_Mgmt"></div></code>

This throws a js error "already called" each time the content pane is viewed. Any suggestions on how I can resolve the problem would be helpful. Thanks.

Insert FORM tag html into a ContentPane widget don't work

I have this scenario :

a) I create dinamically a contentPane widget in my applicazion using the setHref(url) method
( the URL is a page with the FORM HTML inside )
b) If with the firebug inspector I analize the contentpane, I see that the tag html <FORM...> </FORM> are deleted from the content.

So that If I submit the form inside the contenpane...no work because there aren't the html <form> </form>

borderContainer with 2 contentpane & splitter --> to hide and show one contentpane instead of resize

[EDIT: moved to the appropriate forum.]

I am using a borderContainer with two contentpanes with splitter true. I would like to hide and show one of the contentpane instead of resize.

Any pointers would be of great help.

Raaj

Scrollbars in ContentPane

I modified mail demo example slightly. The tabs it adds dynamically has contents that does not fit in the viewport. As a result I expected a scrollbar to appear for the LayoutContainer that is added as a tab dynamically. However, I don't see any scrollbar. What do I need to do?

Append content to ContentPane

This should be a simple problem. I just want to append text into an existing ContentPane without clearing what's already in it.

Some background: I have a dictionary lookup tool that dynamically returns results into a ContentPane using setContent. However, there is a link for "More results" which fetches data from the server via XHRPost. I want to append this to the ContentPane, rather than reset the contents.

I've tried different things but can't get anything to work. Here are some examples of what I've tried:

BorderContainer - detecting change

I have set up two side-by-side ContentPanes within a BorderContainer, with a splitter between. I am trying to figure out how to detect when the user moves the splitter.

I've looked in the Book and API documentation, but haven't found what I'm looking for. I realize this is a simple question, but I'm new to Dojo and still learning how to find my way around. Any help or pointers would be appreciated.

Thanks

ETA: I should clarify, that I AM working with the dojo.connect method. However, since the splitter is created by Dojo I'm not sure how best to reference it.

multiple tabs, same content

Hi,

I am new to dojo and web development. I was wondering if it is possible to set up a TabContainer which holds several tabs, but i want each tab to function like a standard button, and point to the same content in all three tabs. In other words, I would like to run a specific JavaScript function on the same content in all three tabs, but I want it to be the same content. Is this possible? Thanks!

scrollbar partially hidden by a right ContentPane in a TabContainer (using windget declaration)

Hello,

here is my html/dojo source file :
(I made it as simple as possible, for the example)

bad rendered

@import "dojotk/dojo/resources/dojo.css";
@import "dojotk/dijit/themes/soria/soria.css";

 

dojo.require("dojo.parser");
dojo.require("dijit.Declaration");
dojo.require("dijit.layout.BorderContainer");

Syndicate content