You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Pawel Koloszko (JIRA)" <de...@myfaces.apache.org> on 2006/01/27 11:33:33 UTC

[jira] Created: (MYFACES-1068) Incorrect inputCalendar position when placed in DIV tag with position: absolute;

Incorrect inputCalendar position when placed in DIV tag with position: absolute;
--------------------------------------------------------------------------------

         Key: MYFACES-1068
         URL: http://issues.apache.org/jira/browse/MYFACES-1068
     Project: MyFaces
        Type: Bug
  Components: Tomahawk  
    Versions: 1.1.1, Nightly    
    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


Re: [jira] Commented: (TOMAHAWK-128) Incorrect inputCalendar position when placed in DIV tag with position: absolute;

Posted by Richard Bremner <ri...@googlemail.com>.
this does not seem to work. After applying the patch, I still have the
problem.

Richard

My Faces - Dev mailing list wrote:
> 
> 
>     [
> https://issues.apache.org/jira/browse/TOMAHAWK-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531538
> ] 
> 
> Thiago D. Freitas commented on TOMAHAWK-128:
> --------------------------------------------
> 
> How to install this patch on my tomahawk?
> 
>> Incorrect inputCalendar position when placed in DIV tag with position:
>> absolute;
>> --------------------------------------------------------------------------------
>>
>>                 Key: TOMAHAWK-128
>>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-128
>>             Project: MyFaces Tomahawk
>>          Issue Type: Bug
>>          Components: Calendar
>>            Reporter: Pawel Koloszko
>>            Assignee: Martin Marinschek
>>             Fix For: 1.1.4-SNAPSHOT
>>
>>         Attachments: popcalendar.js.diff
>>
>>
>> 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.
> -
> You can reply to this email to add a comment to the issue online.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-jira--Created%3A-%28MYFACES-1068%29-Incorrect-inputCalendar-position-when-placed-in-DIV-tag-with-position%3A-absolute--tf1009367.html#a13990599
Sent from the My Faces - Dev mailing list archive at Nabble.com.


[jira] Commented: (TOMAHAWK-128) Incorrect inputCalendar position when placed in DIV tag with position: absolute;

Posted by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/TOMAHAWK-128?page=comments#action_12438400 ] 
            
Peter Mahoney commented on TOMAHAWK-128:
----------------------------------------

A revision to the change applied has been added to TOMAHAWK-712.

> 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
>          Issue Type: Bug
>          Components: Calendar
>            Reporter: Pawel Koloszko
>         Assigned To: Martin Marinschek
>             Fix For: 1.1.4-SNAPSHOT
>
>         Attachments: popcalendar.js.diff
>
>
> 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

        

[jira] Updated: (TOMAHAWK-128) Incorrect inputCalendar position when placed in DIV tag with position: absolute;

Posted by "Mirco Attocchi (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-128?page=all ]

Mirco Attocchi updated TOMAHAWK-128:
------------------------------------

    Status: Patch Available  (was: Open)

> 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
>          Issue 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

        

[jira] Commented: (TOMAHAWK-128) Incorrect inputCalendar position when placed in DIV tag with position: absolute;

Posted by "Thiago D. Freitas (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOMAHAWK-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531538 ] 

Thiago D. Freitas commented on TOMAHAWK-128:
--------------------------------------------

How to install this patch on my tomahawk?

> Incorrect inputCalendar position when placed in DIV tag with position: absolute;
> --------------------------------------------------------------------------------
>
>                 Key: TOMAHAWK-128
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-128
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Calendar
>            Reporter: Pawel Koloszko
>            Assignee: Martin Marinschek
>             Fix For: 1.1.4-SNAPSHOT
>
>         Attachments: popcalendar.js.diff
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TOMAHAWK-128) Incorrect inputCalendar position when placed in DIV tag with position: absolute;

Posted by "Grigoras Cristinel (JIRA)" <de...@myfaces.apache.org>.
    [ 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


[jira] Updated: (TOMAHAWK-128) Incorrect inputCalendar position when placed in DIV tag with position: absolute;

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-128?page=all ]

Martin Marinschek updated TOMAHAWK-128:
---------------------------------------

           Status: Resolved  (was: Patch Available)
    Fix Version/s: 1.1.4-SNAPSHOT
       Resolution: Fixed
         Assignee: Martin Marinschek

Thanks to Pawel Koloszko for this fix.

regards,

Martin

> 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
>          Issue Type: Bug
>          Components: Calendar
>            Reporter: Pawel Koloszko
>         Assigned To: Martin Marinschek
>             Fix For: 1.1.4-SNAPSHOT
>
>         Attachments: popcalendar.js.diff
>
>
> 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