You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by ha...@apache.org on 2004/02/08 00:40:57 UTC
cvs commit: jakarta-tapestry/framework/src/org/apache/tapestry/form DatePicker.js
harishkswamy 2004/02/07 15:40:57
Modified: framework/src/org/apache/tapestry/form DatePicker.js
Log:
DatePicker positioning problem fixed. Patch provided by anatol_pomazau@epam.com.
Revision Changes Path
1.3 +2 -2 jakarta-tapestry/framework/src/org/apache/tapestry/form/DatePicker.js
Index: DatePicker.js
===================================================================
RCS file: /home/cvs/jakarta-tapestry/framework/src/org/apache/tapestry/form/DatePicker.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DatePicker.js 25 Apr 2003 01:15:01 -0000 1.2
+++ DatePicker.js 7 Feb 2004 23:40:57 -0000 1.3
@@ -547,8 +547,8 @@
if(!this._showing) {
var p = getPoint(element);
this._calDiv.style.display = "block";
- this._calDiv.style.top = p.y + element.offsetHeight + 1;
- this._calDiv.style.left = p.x;
+ this._calDiv.style.top = (p.y + element.offsetHeight + 1) + "px";
+ this._calDiv.style.left = p.x + "px";
this._showing = true;
/* -------- */
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
RE: cvs commit: jakarta-tapestry/framework/src/org/apache/tapestry/form DatePicker.js
Posted by "Howard M. Lewis Ship" <hl...@comcast.net>.
I would love that; I've never quite gotten the InspectorButton to work correctly outside of IE and
my JavaScript codefu is pretty weak.
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Tapestry: Java Web Components
http://howardlewisship.com
> -----Original Message-----
> From: Erik Hatcher [mailto:erik@ehatchersolutions.com]
> Sent: Saturday, February 07, 2004 10:30 PM
> To: Tapestry development
> Subject: Re: cvs commit:
> jakarta-tapestry/framework/src/org/apache/tapestry/form DatePicker.js
>
>
> Could the same problem exist with the InspectorButton? In Safari it
> gets shoved way down to the bottom right making the page
> bigger than it
> should be and does not float.
>
> I'll likely take a look at this in the near future if no one
> beats me
> to it.
>
> Erik
>
>
> On Feb 7, 2004, at 6:40 PM, harishkswamy@apache.org wrote:
>
> > harishkswamy 2004/02/07 15:40:57
> >
> > Modified: framework/src/org/apache/tapestry/form DatePicker.js
> > Log:
> > DatePicker positioning problem fixed. Patch provided by
> > anatol_pomazau@epam.com.
> >
> > Revision Changes Path
> > 1.3 +2 -2
> >
> jakarta-tapestry/framework/src/org/apache/tapestry/form/DatePicker.js
> >
> > Index: DatePicker.js
> >
> ===================================================================
> > RCS file:
> > /home/cvs/jakarta-tapestry/framework/src/org/apache/tapestry/form/
> > DatePicker.js,v
> > retrieving revision 1.2
> > retrieving revision 1.3
> > diff -u -r1.2 -r1.3
> > --- DatePicker.js 25 Apr 2003 01:15:01 -0000 1.2
> > +++ DatePicker.js 7 Feb 2004 23:40:57 -0000 1.3
> > @@ -547,8 +547,8 @@
> > if(!this._showing) {
> > var p = getPoint(element);
> > this._calDiv.style.display = "block";
> > - this._calDiv.style.top = p.y + element.offsetHeight + 1;
> > - this._calDiv.style.left = p.x;
> > + this._calDiv.style.top = (p.y +
> element.offsetHeight + 1) + "px";
> > + this._calDiv.style.left = p.x + "px";
> > this._showing = true;
> >
> > /* -------- */
> >
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tapestry-dev-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
Re: cvs commit: jakarta-tapestry/framework/src/org/apache/tapestry/form DatePicker.js
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
Could the same problem exist with the InspectorButton? In Safari it
gets shoved way down to the bottom right making the page bigger than it
should be and does not float.
I'll likely take a look at this in the near future if no one beats me
to it.
Erik
On Feb 7, 2004, at 6:40 PM, harishkswamy@apache.org wrote:
> harishkswamy 2004/02/07 15:40:57
>
> Modified: framework/src/org/apache/tapestry/form DatePicker.js
> Log:
> DatePicker positioning problem fixed. Patch provided by
> anatol_pomazau@epam.com.
>
> Revision Changes Path
> 1.3 +2 -2
> jakarta-tapestry/framework/src/org/apache/tapestry/form/DatePicker.js
>
> Index: DatePicker.js
> ===================================================================
> RCS file:
> /home/cvs/jakarta-tapestry/framework/src/org/apache/tapestry/form/
> DatePicker.js,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- DatePicker.js 25 Apr 2003 01:15:01 -0000 1.2
> +++ DatePicker.js 7 Feb 2004 23:40:57 -0000 1.3
> @@ -547,8 +547,8 @@
> if(!this._showing) {
> var p = getPoint(element);
> this._calDiv.style.display = "block";
> - this._calDiv.style.top = p.y + element.offsetHeight + 1;
> - this._calDiv.style.left = p.x;
> + this._calDiv.style.top = (p.y + element.offsetHeight + 1) + "px";
> + this._calDiv.style.left = p.x + "px";
> this._showing = true;
>
> /* -------- */
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org