Destroying descendants for dojox.layout.ContentPane

Posted by Luigi on Stack Overflow See other posts from Stack Overflow or by Luigi
Published on 2010-03-15T11:47:32Z Indexed on 2010/03/15 11:49 UTC
Read the original article Hit count: 503

Filed under:
|
|

Hi,

I just want to clean all the content of my dojox pane before load another page. There is an attribute called cleanContent that seems not working.

Anyway this is a jsp page I import:

<head>
    <script type="text/javascript" src="./js/listMetadataClass.js"></script>
     <script type="text/javascript" src="./js/utility.js"></script>
     <link rel="stylesheet" type="text/css" href="../dojo/dijit/themes/tundra/tundra.css">
     <link rel="stylesheet" type="text/css" href="../dojo/dojox/grid/resources/tundraGrid.css">
</head>   
     <div dojoType="dijit.layout.ContentPane">
         <h3>List of existing Metadata Class:</h3>
         <table id="gridNode" style="width:auto; height:300px;"></table>
         <div id="dialogNode"></div>
     </div> 

Anyway is this the correct way to import a page inside the dojox pane?

Thanks

Luigi

© Stack Overflow or respective owner

Related posts about dojox

Related posts about import