Hello!
I select engine for new project (portal+BI).
I work with JBoss and create the portlet.
If i don't setup 'position: "relative"' for grid, then i can move columns to other place. But my screen is bad.
If i setup position 'position: "relative"', then my screen is good. But moved columns don't work correctly.
My page for uncorrect work:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBoss Portal 2.4.1-GA</title>
<meta http-equiv="Content-Type" content="text/html;"/>
<!-- to correct the unsightly Flash of Unstyled Content. -->
<script type="text/javascript"></script>
<!-- inject the theme; default to the Nphalanx theme if nothing is selected for the portal or the page -->
<link rel="stylesheet" type="text/css" id="main_css" href="/portal-core/themes/renaissance/portal_style.css" />
<link rel="shortcut icon" href="/portal-core/themes/renaissance/images/favicon.ico" />
<link rel="icon" type="image/gif" href="/portal-core/themes/renaissance/images/animated_favicon1.gif" />
<!-- insert header content that was possibly set by portlets on the page -->
<script>var isomorphicDir='/testsmartclient/isomorphic/';</script>
<script type='text/javascript' src='/testsmartclient/isomorphic/system/modules/ISC_Core.js'>;</script>
<script type='text/javascript' src='/testsmartclient/isomorphic/system/modules/ISC_Foundation.js'>;</script>
<script type='text/javascript' src='/testsmartclient/isomorphic/system/modules/ISC_Containers.js'>;</script>
<script type='text/javascript' src='/testsmartclient/isomorphic/system/modules/ISC_Grids.js'>;</script>
<script type='text/javascript' src='/testsmartclient/isomorphic/system/modules/ISC_Forms.js'>;</script>
<script type='text/javascript' src='/testsmartclient/isomorphic/system/modules/ISC_DataBinding.js'>;</script>
<script type='text/javascript' src='/testsmartclient/isomorphic/skins/SmartClient/load_skin.js'>;</script>
</head>
<body id="body">
<div id="portal-container">
<div id="sizer">
<div id="expander">
<div id="logoName"></div>
<table border="0" cellpadding="0" cellspacing="0" id="header-container">
<tr>
<td align="center" valign="top" id="header">
<div id="spacer"></div>
</td>
</tr>
</table>
<div id="content-container">
<!-- insert the content of the 'left' region of the page, and assign the css selector id 'regionA' -->
<!-- insert the content of the 'center' region of the page, and assign the css selector id 'regionB' -->
<div id='regionB'><div class="portlet-container"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td class="portlet-titlebar-left"></td><td class="portlet-titlebar-center"><div class="portlet-titlebar-decoration"><span class="portlet-titlebar-title">Test SmartClient</span></div><div class="portlet-mode-container"><div class="portlet-mode-minimized" onClick="location.href='/portal/auth/portal/default/TestSmartClient/testsmartclientWindow?action=a&windowstate=minimized';" title="minimized"></div><div class="portlet-mode-maximized" onClick="location.href='/portal/auth/portal/default/TestSmartClient/testsmartclientWindow?action=a&windowstate=maximized';" title="maximized"></div></div></td><td class="portlet-titlebar-right"></td></tr><tr><td class="portlet-content-left"></td><td class="portlet-body"><div class="portlet-content-center">
Hello!!! <br>
<script>
isc.DataSource.create({
testFileName:"ank1.data.xml",
serverType:"sql",
fields:{
Id:{title:"ID", primaryKey:true, name:"Id", required:true, type:"integer"},
fname:{title:"fname", name:"fname", type:"text"},
lname:{title:"lname", name:"lname", type:"text"},
age:{title:"age", name:"age", type:"integer"},
child:{title:"age", name:"child", type:"integer"},
supp:{title:"supp", name:"supp", type:"float"},
dout:{title:"dout", name:"dout", type:"date"}
},
tableName:"ank1",
ID:"ank1"
});
// create treeGrid bound to this datasource
isc.ListGrid.create({
dataSource:ank1,
ID:"ListGrid0",
autoFetchData:false,
autoDraw:true,
width: 500,
position: "relative"
});
</script>
body_page
</div></td><td class="portlet-content-right"></td></tr><tr><td class="portlet-footer-left"></td><td class="portlet-footer-center"></td><td class="portlet-footer-right"></td></tr></table></div></div>
<hr class="cleaner"/>
<div id="footer-container" class="portal-copyright">Powered by <a class="portal-copyright"
href="http://www.jboss.com/products/jbossportal">JBoss
Portal</a><br/>
<span id="ThemeBy"></span>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
Any answer? Where is my error?
I have this error in browsers: IE 6.0 Firefox 2.0.0.1
I think, coordinates not right calculated (i move first column - only to end of all columns)
WBR
Vitaly
I select engine for new project (portal+BI).
I work with JBoss and create the portlet.
If i don't setup 'position: "relative"' for grid, then i can move columns to other place. But my screen is bad.
If i setup position 'position: "relative"', then my screen is good. But moved columns don't work correctly.
My page for uncorrect work:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JBoss Portal 2.4.1-GA</title>
<meta http-equiv="Content-Type" content="text/html;"/>
<!-- to correct the unsightly Flash of Unstyled Content. -->
<script type="text/javascript"></script>
<!-- inject the theme; default to the Nphalanx theme if nothing is selected for the portal or the page -->
<link rel="stylesheet" type="text/css" id="main_css" href="/portal-core/themes/renaissance/portal_style.css" />
<link rel="shortcut icon" href="/portal-core/themes/renaissance/images/favicon.ico" />
<link rel="icon" type="image/gif" href="/portal-core/themes/renaissance/images/animated_favicon1.gif" />
<!-- insert header content that was possibly set by portlets on the page -->
<script>var isomorphicDir='/testsmartclient/isomorphic/';</script>
<script type='text/javascript' src='/testsmartclient/isomorphic/system/modules/ISC_Core.js'>;</script>
<script type='text/javascript' src='/testsmartclient/isomorphic/system/modules/ISC_Foundation.js'>;</script>
<script type='text/javascript' src='/testsmartclient/isomorphic/system/modules/ISC_Containers.js'>;</script>
<script type='text/javascript' src='/testsmartclient/isomorphic/system/modules/ISC_Grids.js'>;</script>
<script type='text/javascript' src='/testsmartclient/isomorphic/system/modules/ISC_Forms.js'>;</script>
<script type='text/javascript' src='/testsmartclient/isomorphic/system/modules/ISC_DataBinding.js'>;</script>
<script type='text/javascript' src='/testsmartclient/isomorphic/skins/SmartClient/load_skin.js'>;</script>
</head>
<body id="body">
<div id="portal-container">
<div id="sizer">
<div id="expander">
<div id="logoName"></div>
<table border="0" cellpadding="0" cellspacing="0" id="header-container">
<tr>
<td align="center" valign="top" id="header">
<div id="spacer"></div>
</td>
</tr>
</table>
<div id="content-container">
<!-- insert the content of the 'left' region of the page, and assign the css selector id 'regionA' -->
<!-- insert the content of the 'center' region of the page, and assign the css selector id 'regionB' -->
<div id='regionB'><div class="portlet-container"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td class="portlet-titlebar-left"></td><td class="portlet-titlebar-center"><div class="portlet-titlebar-decoration"><span class="portlet-titlebar-title">Test SmartClient</span></div><div class="portlet-mode-container"><div class="portlet-mode-minimized" onClick="location.href='/portal/auth/portal/default/TestSmartClient/testsmartclientWindow?action=a&windowstate=minimized';" title="minimized"></div><div class="portlet-mode-maximized" onClick="location.href='/portal/auth/portal/default/TestSmartClient/testsmartclientWindow?action=a&windowstate=maximized';" title="maximized"></div></div></td><td class="portlet-titlebar-right"></td></tr><tr><td class="portlet-content-left"></td><td class="portlet-body"><div class="portlet-content-center">
Hello!!! <br>
<script>
isc.DataSource.create({
testFileName:"ank1.data.xml",
serverType:"sql",
fields:{
Id:{title:"ID", primaryKey:true, name:"Id", required:true, type:"integer"},
fname:{title:"fname", name:"fname", type:"text"},
lname:{title:"lname", name:"lname", type:"text"},
age:{title:"age", name:"age", type:"integer"},
child:{title:"age", name:"child", type:"integer"},
supp:{title:"supp", name:"supp", type:"float"},
dout:{title:"dout", name:"dout", type:"date"}
},
tableName:"ank1",
ID:"ank1"
});
// create treeGrid bound to this datasource
isc.ListGrid.create({
dataSource:ank1,
ID:"ListGrid0",
autoFetchData:false,
autoDraw:true,
width: 500,
position: "relative"
});
</script>
body_page
</div></td><td class="portlet-content-right"></td></tr><tr><td class="portlet-footer-left"></td><td class="portlet-footer-center"></td><td class="portlet-footer-right"></td></tr></table></div></div>
<hr class="cleaner"/>
<div id="footer-container" class="portal-copyright">Powered by <a class="portal-copyright"
href="http://www.jboss.com/products/jbossportal">JBoss
Portal</a><br/>
<span id="ThemeBy"></span>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
Any answer? Where is my error?
I have this error in browsers: IE 6.0 Firefox 2.0.0.1
I think, coordinates not right calculated (i move first column - only to end of all columns)
WBR
Vitaly
Comment