Thank you, did, you had said.
but wigtet TabControlDesc does not work:
-----------------------------------------------------------------------------------
class TabControlDesc(CoreWD):
name = "TabControl"
for_widget = TabControl()
template = """
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://purl.org/kid/ns#"
py:extends="'master.kid'">
<!-- <html> -->
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type"
py:replace="''"/>
<title>123</title>
<div py:content="for_widget.display()"/>
</head>
<body>
<table border="0" class="tabControl" cellspacing="0"
cellpadding="0" width="100%">
<tbody>
<tr>
<td>
<table border="0" cellspacing="0"
cellpadding="0" class="tabHeader">
<tbody>
<tr>
<td onclick="changeTab(this);"
id="s3475394dfbgf_1" class="tabPage">
<img src="static/images/Start
Favorites.gif" align="absmiddle" border="0" height="50" width="50"
title="img.gif" alt='img.gif'/>
</td>
<td onclick="changeTab(this);"
id="s3475394dfbgf_2" class="tabPage">
Tab2
</td>
<td onclick="changeTab(this);"
id="s3475394dfbgf_3" class="tabPage" width="28">
Tab3
</td>
<td onclick="changeTab(this);"
id="s3475394dfbgf_4" class="tabPage" width="28">
Tab4
</td>
<td width="100%"
class="tabHeaderLine"><img src="spacer" width="1" height="1"/></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td height="400px" valign="top">
<table width="100%" class="tabControlBody"
cellpadding="0" cellspacing="0" style="height:100%" border="0">
<tbody>
<tr id="s3475394dfbgf">
<td>
1 asdfasd ;fdng;fdng;dfg
fgdfgfd gkfg fdg dfgd gdfgfg df gfgfdgdf g fdg <br/>
dsfdfsdf
</td>
<td>
2 dsfsdfd
</td>
<td>
3 xzcxcxcxzcxzcxc xzczxc
</td>
<td>
Tab #4
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<script
type="text/javascript">document.onload=selectDefaultTab('s3475394dfbgf_1');</script>
</body>
</html>
"""
------------------------------------------
swears on the method of "template"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---