You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Werner Punz (JIRA)" <de...@myfaces.apache.org> on 2007/03/13 12:07:09 UTC

[jira] Created: (TOMAHAWK-931) inputDate popup positioning code is broken

inputDate popup positioning code is broken
------------------------------------------

                 Key: TOMAHAWK-931
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-931
             Project: MyFaces Tomahawk
          Issue Type: Bug
    Affects Versions: 1.1.5-SNAPSHOT, 1.1.6-SNAPSHOT
         Environment: mozilla, probably most other browsers as well
            Reporter: Werner Punz
             Fix For: 1.1.5-SNAPSHOT, 1.1.6-SNAPSHOT


On pure css layouts if the date picker is embedded into a some elements and outside of it a div with position absolute, the positional code of the floater fails and almost doubles the distances.

A workaround probably is to use pure table layouts or to revert to facelets and dojo.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: Created: (TOMAHAWK-931) inputDate popup positioning code is broken

Posted by schmeiss <Sc...@optimal-systems.de>.
Hi,

I've used <t:inputDate /> in a absolute positioned div and positioning of
inputDate still seems not to work properly. I tried
tomahawk-1.1.7-SNAPSHOT.jar as well as 1.1.6. Am I doin something wrong?
Thanks in advance.

--snip--inputDate.jsp--

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Hello World</title>
<style type="text/css">
.inputDate {
	border: 1px dashed Maroon;
	position: absolute;
	top: 70%;
	left: 10%;
	width: 80%;
}
</style>
</head>
<body>
<f:view>
	<h:form id="form1">
		<t:div styleClass="inputDate">
            <h:outputText value="Datum: "/> <h:message for="date1"/>
            <t:inputDate id="date1" value="#{date1}" popupCalendar="true"/>
        </t:div>
	</h:form>
</f:view>
</body>
</html>


--snip--inputDate.jsp--

Greets,

 -Torsten.


My Faces - Dev mailing list wrote:
> 
> inputDate popup positioning code is broken
> ------------------------------------------
> 
>                  Key: TOMAHAWK-931
>                  URL: https://issues.apache.org/jira/browse/TOMAHAWK-931
>              Project: MyFaces Tomahawk
>           Issue Type: Bug
>     Affects Versions: 1.1.5-SNAPSHOT, 1.1.6-SNAPSHOT
>          Environment: mozilla, probably most other browsers as well
>             Reporter: Werner Punz
>              Fix For: 1.1.5-SNAPSHOT, 1.1.6-SNAPSHOT
> 
> 
> On pure css layouts if the date picker is embedded into a some elements
> and outside of it a div with position absolute, the positional code of the
> floater fails and almost doubles the distances.
> 
> A workaround probably is to use pure table layouts or to revert to
> facelets and dojo.
> 
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Created%3A-%28TOMAHAWK-931%29-inputDate-popup-positioning-code-is-broken-tf3395254.html#a11392155
Sent from the My Faces - Dev mailing list archive at Nabble.com.


[jira] Resolved: (TOMAHAWK-931) inputDate popup positioning code is broken

Posted by "Werner Punz (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Werner Punz resolved TOMAHAWK-931.
----------------------------------

    Resolution: Fixed

duplicate

> inputDate popup positioning code is broken
> ------------------------------------------
>
>                 Key: TOMAHAWK-931
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-931
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Date
>    Affects Versions: 1.1.5-SNAPSHOT, 1.1.6-SNAPSHOT
>         Environment: mozilla, probably most other browsers as well
>            Reporter: Werner Punz
>
> On pure css layouts if the date picker is embedded into a some elements and outside of it a div with position absolute, the positional code of the floater fails and almost doubles the distances.
> A workaround probably is to use pure table layouts or to revert to facelets and dojo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.