lightwight dialog autoresize does not work correctly
----------------------------------------------------

                 Key: TRINIDAD-1070
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1070
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.2.7-core
         Environment: Tomcat 6.0.14, Sun JSF RI 1.2, Windows XP SP2, FireFox 
2.0.14, FireFox 3.0b5, IE6, Facelets 1.1.14
            Reporter: Mathias Walter


A simple lightweight dialog does not get shown correctly in FireFox (see 
screenshots). The width is not set correctly to the content width and therefore 
a horizontal scroll bar is shown. The reason is maybe a large combobox.

Code:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml"; 
xmlns:f="http://java.sun.com/jsf/core";
        xmlns:tr="http://myfaces.apache.org/trinidad"; 
xmlns:trh="http://myfaces.apache.org/trinidad/html";
        xmlns:h="http://java.sun.com/jsf/html";
        version="1.2">
        <trh:head>
                <title>Arzt auswählen</title>
        </trh:head>
        <trh:body>
                <tr:form>
                        <tr:panelFormLayout>
                                <tr:selectOneChoice label="Arzt:" 
value="#{physicians.choosed}" required="true">
                                        <f:selectItems 
value="#{physicians.items}" />
                                </tr:selectOneChoice>
                        </tr:panelFormLayout>
                        <tr:separator />
                        <tr:panelButtonBar halign="center">
                                <tr:commandButton id="save" 
action="#{physicians.select}" text="Übernehmen" />
                                <tr:commandButton id="cancel" 
action="#{physicians.cancelSelect}" text="Abbrechen" immediate="true" />
                        </tr:panelButtonBar>
                </tr:form>
        </trh:body>
</html>

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

Reply via email to