It was the matter of cleaning the cache. :/
what a time waste ! >:|
Mansour wrote:
OK, I don't need the solution. All I need is a suggestion and I'll try
it my self.
Mansour wrote:
I am trying to use dateTimePicker on one of my pages. When ever it
pops out it shows in a new page (header, footer, navigation .. etc).
As if it's another page by its self. I am using siteMesh in my
project and it's using the layout for the rest of the pages. I
thought may be I am doing something wrong on my page, so I created
another one only for the dateTimePicker, but I got the same problem.
So I copied the source from the examples in the show case. This
didn't solve the problem. I removed the mapping to siteMesh from my
web.xml, and still didn't solve the problem. Even after I removed
siteMesh, it's still showing in the same old layout !! I renamed the
layout files. This didn't solve the problem either. I deleted the
work directory generated by eclipse. Still out of luck. The
dateTimePicker shows in the same layout after every thing I did . I
restarted tomcat ...., restarted eclipse .... nothing worked !! :/
What's going on ??
I am using Mozilla FireFox. There's errors logging in the JS console
(a few of these). These error also apears in the show case examples:
-------------------------------------------------------------------------------------------------------
Error: Error in parsing value for property 'cursor'. Declaration
dropped.
Source File: http://localhost:8080/fe/pages/TestdatePicker.jsp
Line: 29
Error: Unknown property 'font-color'. Declaration dropped.
Source File: http://localhost:8080/fe/pages/TestdatePicker.jsp
Line: 3
-------------------------------------------------------------------------------------------------
here's the source of my page:
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<s:head theme="ajax" debug="true" />
</head>
<body>
<table>
<s:datetimepicker theme="ajax" label="toggleType='wipe'"
value="2006-10-31"
toggleType="wipe" toggleDuration="300" name="test" />
</table>
</body>
</html>
======================================
the output:
<html>
<head>
<link rel="stylesheet" href="/fe/struts/xhtml/styles.css"
type="text/css"/>
<script language="JavaScript" type="text/javascript">
// Dojo configuration
djConfig = {
baseRelativePath: "/fe/struts/dojo",
isDebug: true,
bindEncoding: "UTF-8",
debugAtAllCosts: true // not needed, but allows the Venkman
debugger to work with the includes
};
</script>
<script language="JavaScript" type="text/javascript"
src="/fe/struts/dojo/dojo.js"></script>
<script language="JavaScript" type="text/javascript"
src="/fe/struts/simple/dojoRequire.js"></script>
<script language="JavaScript" type="text/javascript"
src="/fe/struts/ajax/dojoRequire.js"></script>
<script language="JavaScript" type="text/javascript"
src="/fe/struts/CommonFunctions.js"></script>
</head>
<body>
<tr>
<td class="tdLabel"><label for="test"
class="label">toggleType='wipe':</label></td>
<td
<script type="text/javascript">
dojo.require("dojo.widget.DatePicker");
</script>
<div
dojoType="dropdowndatepicker" id="test"
value="2006-10-31" name="dojo.test" inputName="test"
style="width:20%;" containerToggle="wipe"
containerToggleDuration="300" saveFormat="rfc"></div>
</td>
</tr>
</body>
</html>
=======================================================================================
Any Idea ?
Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]