You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mathias Walter (JIRA)" <de...@myfaces.apache.org> on 2008/05/13 09:10:55 UTC

[jira] Commented: (TRINIDAD-1070) lightwight dialog autoresize does not work correctly

    [ https://issues.apache.org/jira/browse/TRINIDAD-1070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596307#action_12596307 ] 

Mathias Walter commented on TRINIDAD-1070:
------------------------------------------

I've also tried to use '<html jsfc="trh:html">', but it doesn't help either.

> 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
>         Attachments: lwdlg_correctwidth_IE.jpg, lwdlg_wrongwidth_FF_1.jpg, lwdlg_wrongwidth_FF_2.jpg
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> 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.