Where can I find this folder
struts/dojo/src/widget/templates/DatePicker.html ?
In tomcat work ? In /tmp ?? I searched the wholefile system to check
where does it come from and couldn't find any thing. I understand it
come in the jar files, but before tomcat serves this contents they have
to go into a directory. Am I wrong ?
I used the DOM inspector, and couldn't find anything. All I was able to
find is just what you have described. A DIV that contains table.
What Do I need to check in the DOM tree? I don't think it's the style,
simply because there's none. The dateTimePicker has a page in the main
page. I mean when it pops up it has the same page header and footer and
navigation bar. It shouldn't be a page by it's self !
Here' the code for the page:
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<s:head theme="ajax" debug="true" />
</head>
<body>
<s:datetimepicker value="2006-10-31" name="test" />
</body>
</html>
And here' is the master Page (layout):
<%@ taglib prefix="s" uri="/struts-tags"%>
<[EMAIL PROTECTED] prefix="decorator"
uri="http://www.opensymphony.com/sitemesh/decorator"%>
<html>
<head>
<decorator:head></decorator:head>
<title><decorator:title /> </title>
<meta http-equiv="Cache-Control" content="no-store"/>
<meta http-equiv="Pragma" content="no-cache"/>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
</head>
<body style="margin: 0px; padding: 0px;">
<table width="100%" style="height: 100%;" cellpadding="10"
cellspacing="0" border="0">
<tr>
<td colspan="2" style="height: 100px;" bgcolor="#777d6a">
<h2><%@ include file="/pages/layout/header.jsp"%></h2>
</td>
</tr>
<tr>
<td width="20%" valign="top" bgcolor="#999f8e">
<%@ include file="/pages/layout/navigation.jsp"%></td>
<td width="80%" valign="top" bgcolor="#d2d8c7" colspan="1" >
<decorator:body />
</td>
<tr>
<td colspan="2" align="center" height="20" bgcolor="#777d6a">
<%@ include file="/pages/layout/footer.jsp"%>
</td>
</tr>
</table>
</body>
</html>
Jeromy Evans wrote:
I can't even begin to image what you're describing.
However, install the firefox web developer plugin [1] and have a look
at the DOM to see what's really being created.
The dojo datepicker uses an html template in
struts/dojo/src/widget/templates/DatePicker.html and a css file at the
sample location.
The pop-up is just a table inside a div with a bunch of dojo event
attachments (the content of DatePicker.html). The only way I can
image it spanning the 'whole page' is if you've changed the default
template or some of your own CSS conflicts with the styles used by the
widget. The latter is easy to do.
Use the web developer plugin to manipulate the CSS while the popup is
displayed to see if that's the problem.
[1] https://addons.mozilla.org/en-US/firefox/addon/60
Mansour wrote:
Hello every one:
I faced this problem and posted it, and never get any thing back. I
have a page that displays dateTimePicker. When the dateTimePicker
pops up it spans the whole page and is displayed in a newpage with
header, footer and navigation bar !
This issue appears sometimes then it disappears by itself. The last
time I had this, I was deceived that I solved it by clearing FirFoxe
cache. This was not the case!
I went to a different machine and used Internet Explorer and the same
problem.
I need some one to help me finding out what's wrong. Why the
dateTimePicker takes the whole page?
I am using tomcat 6.0.2.
---------------------------------------------------------------------
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]