struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hardik_982 <hardik_...@yahoo.com>
Subject Re: about sitemesh in struts 2.0.11
Date Thu, 21 Feb 2008 08:02:04 GMT

my page code in login.jsp
is

error at line 61 dojo is undefined
----------------------------------


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
	
		
      
       <link rel="stylesheet" href="/FrameWork/struts/xhtml/styles.css"
type="text/css"/>
<script type="text/javascript">
    // Dojo configuration
    djConfig = {
        baseRelativePath: "/FrameWork/struts/dojo",
        isDebug: true,
        bindEncoding: "UTF-8",
        debugAtAllCosts: true // not needed, but allows the Venkman debugger
to work with the includes
    };
</script>
<script type="text/javascript"
        src="/FrameWork/struts/dojo/dojo.js"></script>
<script type="text/javascript"
        src="/FrameWork/struts/simple/dojoRequire.js"></script><script
type="text/javascript"
        src="/FrameWork/struts/ajax/dojoRequire.js"></script>
<script type="text/javascript"
        src="/FrameWork/struts/CommonFunctions.js"></script>

    <link rel="stylesheet" type="text/css"
href="/FrameWork/struts/tabs.css">
        

		<title>framework</title>
		 <link href="/FrameWork/decorators/main.css" rel="stylesheet"
type="text/css"> 
	
	</head>

	<body>
		<table width="100%" height="100%">
			<tr>
				<td width="100%">

					<table width="100%" height="100%">
						<tr>
							<td id="pageTitle">
								
							</td>
						</tr>
							
						<tr>
							<td>
								
								
							</td>
						</tr>			
						<tr>

							<td valign="top" height="100%" >
								

		<script type="text/javascript">
  dojo.require("dojo.widget.TabContainer");
  dojo.require("dojo.widget.LinkPane");
  dojo.require("dojo.widget.ContentPane");
</script>

<div dojoType="TabContainer"
    style="width: 500px; height: 300px;"    id="test2"    doLayout="true">
        <div dojoType="struts:BindDiv"
  	id="left"    label="test1"    showError="true">

         
		
						
<form id="Login" name="Login" onsubmit="return true;"
action="/FrameWork/Login.do" method="post"><table class="wwFormTable">
    			<tr>
    <td class="tdLabel"><label for="Login_username" class="label">Username
:</label></td>

    <td
><input type="text" name="username" value="" id="Login_username"/></td>
</tr>

			    <tr>
    <td class="tdLabel"><label for="Login_password" class="label">Pasword
:</label></td>
    <td
><input type="password" name="password" value="" id="Login_password"/></td>
</tr>

			    <tr>
    <td colspan="2"><div align="right"><input type="submit" id="Login_0"
value="Login"/>

</div></td>
</tr>

			    <tr>
    <td colspan="2"><div align="right"><input type="submit"
id="Login_Login_cancel" name="action:Login_cancel" value="Cancel"
onclick="form.onsubmit=null"/>
</div></td>
</tr>

			</table></form>




				  
		</div>

		</div>		




							</td>
						</tr>
						<tr>
							<td id="footer">
								<center>All Content &copy; Copyright 2008 S.M.GROUP</center>
							</td>

						</tr>
					</table>
				</td>
			</tr>
		</table>
	
	
	
	</body>
</html>
--------------------------------------------
please kindly help me
-- 
View this message in context: http://www.nabble.com/about-sitemesh-in-struts-2.0.11-tp15605222p15606446.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message