[richfaces-issues] [JBoss JIRA] Reopened: (RF-4011) rich:modalPanel "width" parameter does NOT work

Yurii Kartsev (JIRA) jira-events at lists.jboss.org
Mon Jul 28 15:54:53 EDT 2008


     [ https://jira.jboss.org/jira/browse/RF-4011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yurii Kartsev reopened RF-4011:
-------------------------------



Nick, there is something I really forgot about(sorry for that, it was stupid from my side).

I just forgot to check for JScript arguments in showModalPanel method... BUT it's getting more interesting...

It was: "... onclick="Richfaces.showModalPanel('aboutModalBox',{width:350, top:200})"..." and with these arguments this modalPanel "<rich:modalPanel id="aboutModalBox" minHeight="100" minWidth="550" height="125" width="650" zindex="2000">" was opening with the width equal 550.
If I change ONLY minWidth to 400 for example, the panel shows having width 400.

So, there is my fault(sorry again), but the bug exists too ;)

Thank you for your patience.

> rich:modalPanel "width" parameter does NOT work
> -----------------------------------------------
>
>                 Key: RF-4011
>                 URL: https://jira.jboss.org/jira/browse/RF-4011
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>         Environment: JSF 1.2_07
> Facelets 1.1.14
> RF: v.3.2.2-SNAPSHOT SVN $Revision: 8947 $ $Date: 2008-06-07 08:39:49 -0400 (Sat, 07 Jun 2008) $
> Browser: Mozilla Firefox 2.0.0.16
> System: Windows XP SP2
> App Server: JBoss 4.2.2 GA
>            Reporter: Yurii Kartsev
>            Assignee: Nick Belaevski
>            Priority: Critical
>             Fix For: 3.2.2
>
>         Attachments: template.zip
>
>
> The parameter "width" in rich:modalPanel doesn't work. Only "minWidth" works.
> Having this example, panel width is 550px:
> <rich:modalPanel id="aboutModalBox" minHeight="100" minWidth="550" height="125" width="650" zindex="2000"/>
> And having this one, it's 350px:
> <rich:modalPanel id="aboutModalBox" minHeight="100" height="125" width="650" zindex="2000">
> What's the point?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list