You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Grigoras Cristinel (JIRA)" <de...@myfaces.apache.org> on 2006/03/22 13:45:43 UTC
[jira] Commented: (TOMAHAWK-128) Incorrect inputCalendar position
when placed in DIV tag with position: absolute;
[ http://issues.apache.org/jira/browse/TOMAHAWK-128?page=comments#action_12371416 ]
Grigoras Cristinel commented on TOMAHAWK-128:
---------------------------------------------
If you are using the component inside off a absolute position div, the
popup will appear positioned with left, and top distance from absolute
positioned div.
Conform HTML specifications, if you have something like this:
<div style="position:absolute, left:100, top:100" >
<div style="position:absolute, left:100, top:100">
</div>
</div>
The inside component is positioned "relativ" to first one .
The JavaScrip will need to check if a component from parent is
positioned absolute.
Cristi
> Incorrect inputCalendar position when placed in DIV tag with position: absolute;
> --------------------------------------------------------------------------------
>
> Key: TOMAHAWK-128
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-128
> Project: MyFaces Tomahawk
> Type: Bug
> Components: Calendar
> Reporter: Pawel Koloszko
>
> On my page I have something like that
> <t:div id="pageBody" styleClass="pageBody">
> <t:inputCalendar id="dataUrodzenia" renderAsPopup="true"/>
> </t:div>
> pageBodyClass is:
> div.pageBody {
> position: absolute;
> top: 80px;
> left: 165px;
> bottom: 25px;
> width: 635px;
> height: 400px;
> }
> With such layuot popupCalendar is not rendered next to inputCalendar button as it should.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira