myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helmut Swaczinna (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOBAGO-510) tc:message tag doesn't work with IE
Date Fri, 05 Oct 2007 14:29:50 GMT

    [ https://issues.apache.org/jira/browse/TOBAGO-510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532677
] 

Helmut Swaczinna commented on TOBAGO-510:
-----------------------------------------

Thanks for the quick fix, but the message renderer doesn't work at all now :-(
Seems to me it hangs in an infinite loop.

> tc:message tag doesn't work with IE
> -----------------------------------
>
>                 Key: TOBAGO-510
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-510
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Themes
>    Affects Versions: 1.0.12
>         Environment: Windows, Internet Explorer 6
>            Reporter: Helmut Swaczinna
>            Assignee: Bernd Bohmann
>            Priority: Minor
>             Fix For: 1.0.12
>
>
> I encoutered some problems with the tc:message tag with the IE. First, 
> there's a layout problem, so
> the message can not be seen, and second, the message is rendered twice. With 
> Firefox everything is ok.
> Here's the JSP code:
> <f:view>
>   <tc:page id="inputPage" width="200px" height="200px">
>     <tc:panel id="inputPanel">
>       <f:facet name="layout">
>         <tc:gridLayout
>           rows="fixed;fixed;fixed;*"/>
>       </f:facet>
>       <tc:selectOneChoice id="in"
>         required="true"
>         value="#{controller.value}">
>         <tc:selectItem itemLabel="" itemValue=""/>
>         <tc:selectItem itemLabel="xx" itemValue="xx"/>
>       </tc:selectOneChoice>
>       <tc:message for="in"/>
>       <tc:button label="submit"/>
>       <tc:cell/>
>     </tc:panel>
>   </tc:page>
> </f:view>
> This is the generated HTML code for IE:
> ...
> <select name="inputPage:in" id="inputPage:in" style="width:200px; 
> height:21px; " class="tobago-selectOneChoice-default 
> tobago-selectOneChoice-error tobago-selectOneChoice-required" title="Eine 
> Auswahl wird benötigt!"
> ><option value=""
> ></option><option value="xx"
> >xx</option></select></div></td></tr><tr
> ><td class="tobago-gridLayout-cell-td" style="width: 200px; height: 6px;"
> ><div class="tobago-gridLayout-default tobago-gridLayout-first-column" 
> >style="width: 200px; height: 6px;"
> ><span class="tobago-validation-message" style="width:200px; height:1px; "
> ><label for="inputPage:in" title="Eine Auswahl wird benötigt!"
> >Eine Auswahl wird benötigt!Eine Auswahl wird benötigt!</label>
> ...
> You can see, that the height of the message is 1px and the message text is 
> duplicted.
> This is the generated HTML code for Firefox:
> ...
> <select name="inputPage:in" id="inputPage:in" style="width:200px; 
> height:18px; " class="tobago-selectOneChoice-default 
> tobago-selectOneChoice-error tobago-selectOneChoice-required" title="Eine 
> Auswahl wird benötigt!"
> ><option value=""
> ></option><option value="xx"
> >xx</option></select></div></td></tr><tr
> ><td class="tobago-gridLayout-cell-td" style="width: 200px; height: 25px;"
> ><div class="tobago-gridLayout-default tobago-gridLayout-first-column" 
> >style="width: 200px; height: 25px;"
> ><span class="tobago-validation-message" style="width:200px; height:20px; "
> ><label for="inputPage:in" title="Eine Auswahl wird benötigt!"
> >Eine Auswahl wird benötigt!</label>
> ...

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


Mime
View raw message