You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2007/05/23 16:39:16 UTC

[jira] Created: (TOBAGO-409) in a Container without layoutmanager breaks with ClassCastException

<tc:form> in a Container without layoutmanager breaks with ClassCastException
-----------------------------------------------------------------------------

                 Key: TOBAGO-409
                 URL: https://issues.apache.org/jira/browse/TOBAGO-409
             Project: MyFaces Tobago
          Issue Type: Bug
    Affects Versions: 1.0.11
            Reporter: Udo Schnurpfeil
            Priority: Critical


    <tc:box label="Test">

     <!-- is here is a layout manager facet it works  -->

      <tc:form>
        <tc:panel>
          <f:facet name="layout">
            <tc:gridLayout rows="1*;fixed;fixed;1*"/>
          </f:facet>
          <tc:cell/>
          <tx:in label="label 1" required="true"/>
          <tx:in label="label 2"/>
          <tc:cell/>
        </tc:panel>
      </tc:form>
    </tc:box>


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


[jira] Resolved: (TOBAGO-409) in a Container without layoutmanager breaks with ClassCastException

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOBAGO-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Bohmann resolved TOBAGO-409.
----------------------------------

    Resolution: Fixed

> <tc:form> in a Container without layoutmanager breaks with ClassCastException
> -----------------------------------------------------------------------------
>
>                 Key: TOBAGO-409
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-409
>             Project: MyFaces Tobago
>          Issue Type: Bug
>    Affects Versions: 1.0.11
>            Reporter: Udo Schnurpfeil
>         Assigned To: Bernd Bohmann
>            Priority: Critical
>
>     <tc:box label="Test">
>      <!-- if here is no layout manager facet it fails  -->
>       <tc:form>
>         <tc:panel>
>           <f:facet name="layout">
>             <tc:gridLayout rows="1*;fixed;fixed;1*"/>
>           </f:facet>
>           <tc:cell/>
>           <tx:in label="label 1" required="true"/>
>           <tx:in label="label 2"/>
>           <tc:cell/>
>         </tc:panel>
>       </tc:form>
>     </tc:box>
> Workaround: Add a simple layout to the Container:
>           <f:facet name="layout">
>             <tc:gridLayout />
>           </f:facet>
> Fails with Containers: <tc:box> and <tc:tab> (no more tested yet)

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