You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Renzo Tomaselli (JIRA)" <de...@myfaces.apache.org> on 2007/10/29 21:34:50 UTC

[jira] Created: (TRINIDAD-791) Wrong popup panel width

Wrong popup panel width
-----------------------

                 Key: TRINIDAD-791
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-791
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.0.3-core
            Reporter: Renzo Tomaselli


The popup panel - when modal and centered - no longer appears with correct width. According to the documentation, width should be defined by panel contents, if not setup manually. Now width extends to the hosting window width.
It was working fine until version 1.0.2.

-- Renzo


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


Re: [jira] Commented: (TRINIDAD-791) Wrong popup panel width

Posted by Andrew Robinson <an...@gmail.com>.
Danny,

It isn't that hard to reproduce. The problem is because I move the DIV
to the FORM or BODY tag. When the parent has changed, the CSS rules
are interpreted differently. Since the popup is a DIV tag it
automatically takes up the full width of the parent container. I
overlooked this issue in making the fix before.

The question becomes how best to determine the preferred width of the
DIV tag (as there are multiple ways)?

-Andrew

On 10/30/07, Danny Robinson <da...@gmail.com> wrote:
> Renzo,
>
> Can you please attach a short example of the problem to the JIRA issue.
>
> Thanks,
>
> Danny
>
>
> On 10/30/07, Renzo Tomaselli (JIRA) < dev@myfaces.apache.org> wrote:
> >
> >     [
> https://issues.apache.org/jira/browse/TRINIDAD-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538723
> ]
> >
> > Renzo Tomaselli commented on TRINIDAD-791:
> > ------------------------------------------
> >
> > An apparently running workaround is achieved by wrapping panel contents by
> something like:
> >
> > <h:panelGrid id="wrapper" columns="1" width="auto">
> >
> > this way the popup appears showing the right width, no matter how contents
> are composed.
> >
> >
> >
> > > Wrong popup panel width
> > > -----------------------
> > >
> > >                 Key: TRINIDAD-791
> > >                 URL:
> https://issues.apache.org/jira/browse/TRINIDAD-791
> > >             Project: MyFaces Trinidad
> > >          Issue Type: Bug
> > >          Components: Components
> > >    Affects Versions: 1.0.3-core
> > >            Reporter: Renzo Tomaselli
> > >
> > > The popup panel - when modal and centered - no longer appears with
> correct width. According to the documentation, width should be defined by
> panel contents, if not setup manually. Now width extends to the hosting
> window width.
> > > It was working fine until version 1.0.2.
> > > -- Renzo
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > You can reply to this email to add a comment to the issue online.
> >
> >
>
>
>
> --
> Chordiant Software Inc.
> www.chordiant.com

Re: [jira] Commented: (TRINIDAD-791) Wrong popup panel width

Posted by Danny Robinson <da...@gmail.com>.
Renzo,

Can you please attach a short example of the problem to the JIRA issue.

Thanks,

Danny

On 10/30/07, Renzo Tomaselli (JIRA) <de...@myfaces.apache.org> wrote:
>
>
>     [
> https://issues.apache.org/jira/browse/TRINIDAD-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538723]
>
> Renzo Tomaselli commented on TRINIDAD-791:
> ------------------------------------------
>
> An apparently running workaround is achieved by wrapping panel contents by
> something like:
>
> <h:panelGrid id="wrapper" columns="1" width="auto">
>
> this way the popup appears showing the right width, no matter how contents
> are composed.
>
>
>
> > Wrong popup panel width
> > -----------------------
> >
> >                 Key: TRINIDAD-791
> >                 URL: https://issues.apache.org/jira/browse/TRINIDAD-791
> >             Project: MyFaces Trinidad
> >          Issue Type: Bug
> >          Components: Components
> >    Affects Versions: 1.0.3-core
> >            Reporter: Renzo Tomaselli
> >
> > The popup panel - when modal and centered - no longer appears with
> correct width. According to the documentation, width should be defined by
> panel contents, if not setup manually. Now width extends to the hosting
> window width.
> > It was working fine until version 1.0.2.
> > -- Renzo
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>


-- 
Chordiant Software Inc.
www.chordiant.com

[jira] Commented: (TRINIDAD-791) Wrong popup panel width

Posted by "Renzo Tomaselli (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538723 ] 

Renzo Tomaselli commented on TRINIDAD-791:
------------------------------------------

An apparently running workaround is achieved by wrapping panel contents by something like:

<h:panelGrid id="wrapper" columns="1" width="auto">

this way the popup appears showing the right width, no matter how contents are composed.



> Wrong popup panel width
> -----------------------
>
>                 Key: TRINIDAD-791
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-791
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.3-core
>            Reporter: Renzo Tomaselli
>
> The popup panel - when modal and centered - no longer appears with correct width. According to the documentation, width should be defined by panel contents, if not setup manually. Now width extends to the hosting window width.
> It was working fine until version 1.0.2.
> -- Renzo

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