myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Döring (JIRA) <...@myfaces.apache.org>
Subject [jira] Commented: (TRINIDAD-1327) Wrong rendering of inputFile inside panelFormLayout
Date Wed, 02 Dec 2009 13:04:21 GMT

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

Markus Döring commented on TRINIDAD-1327:
-----------------------------------------

Found an slightly better workaround:
Overwrite renderRootDomElementStyles in InputFileRenderer and just do nothing.
Same drawback that no RootDomElementStyles are used for fileInput, but no changes on the LabelAndMessageRenderer
are needed.

> Wrong rendering of inputFile inside panelFormLayout
> ---------------------------------------------------
>
>                 Key: TRINIDAD-1327
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1327
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.10-core
>            Reporter: Tomas Havelka
>
> The code below generates corrupted html output for inputFile component. This happens
just when inputFile is enclosed with panelFormLayout component (locale javascript are rendered
in the wrong place?).
>   <f:view>
>     <tr:document>
>       <tr:form usesUpload="true">
>         <tr:panelFormLayout>
>           <tr:inputFile label="Input file"/>
>         </tr:panelFormLayout>
>       </tr:form>
>     </tr:document>
>   </f:view>

-- 
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