You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Helmut Swaczinna <sw...@wlp-systems.de> on 2007/08/22 13:38:59 UTC

[Tobago] More layout problems with 1.0.12

Hi,

with the current Tobago 1.0.12 snapshot I've got some new layout problems in 
popups.
With 1.0.11 and older 1.0.12 snapshots the layout is ok. Please have a look 
at the attached
screenshot. The input elements on the popup are cut off at their right 
sides.

This is the jsp code:

<tc:page id="inputPage" width="500px" height="300px">
    <tc:panel id="inputPanel">
      <tc:button id="popupButton"
        label="Popup">
        <f:facet name="popup">
          <tc:popup id="popup" width="400" height="220">

            <tc:box id="box" label="Popup">
                <f:facet name="layout">
                  <tc:gridLayout rows="*;fixed;fixed;fixed;54px;fixed" 
columns="*;*;*"/>
                </f:facet>
                <tc:cell spanX="3">
                  <tc:out value="Text"/>
                </tc:cell>

                <tc:cell spanX="2">
                  <tc:label value="label1"/>
                </tc:cell>
                <tc:cell/>

                <tc:cell spanX="2">
                  <tc:selectOneChoice id="choice">
                    <tc:selectItem itemLabel="" itemValue=""/>
                  </tc:selectOneChoice>
                </tc:cell>
                <tc:cell/>

                <tc:cell spanX="3">
                  <tc:label value="label2"/>
                </tc:cell>
                <tc:cell spanX="3">
                  <tc:textarea id="textarea"/>
                </tc:cell>

                <tc:cell/>
                <tc:button id="saveButton"
                  label="save">
                  <tc:attribute name="popupClose" value="afterSubmit"/>
                </tc:button>
                <tc:button id="cancelButton"
                  label="cancel">
                  <tc:attribute name="popupClose" value="immediate"/>
                </tc:button>
            </tc:box>
          </tc:popup>
        </f:facet>
      </tc:button>
    </tc:panel>
  </tc:page>

Regards
    Helmut 

Re: [Tobago] More layout problems with 1.0.12

Posted by Bernd Bohmann <be...@atanion.com>.
Hello Helmut,

should work now.

Thanks

Bernd

Helmut Swaczinna wrote:
> Hi,
> 
> with the current Tobago 1.0.12 snapshot I've got some new layout 
> problems in popups.
> With 1.0.11 and older 1.0.12 snapshots the layout is ok. Please have a 
> look at the attached
> screenshot. The input elements on the popup are cut off at their right 
> sides.
> 
> This is the jsp code:
> 
> <tc:page id="inputPage" width="500px" height="300px">
>    <tc:panel id="inputPanel">
>      <tc:button id="popupButton"
>        label="Popup">
>        <f:facet name="popup">
>          <tc:popup id="popup" width="400" height="220">
> 
>            <tc:box id="box" label="Popup">
>                <f:facet name="layout">
>                  <tc:gridLayout rows="*;fixed;fixed;fixed;54px;fixed" 
> columns="*;*;*"/>
>                </f:facet>
>                <tc:cell spanX="3">
>                  <tc:out value="Text"/>
>                </tc:cell>
> 
>                <tc:cell spanX="2">
>                  <tc:label value="label1"/>
>                </tc:cell>
>                <tc:cell/>
> 
>                <tc:cell spanX="2">
>                  <tc:selectOneChoice id="choice">
>                    <tc:selectItem itemLabel="" itemValue=""/>
>                  </tc:selectOneChoice>
>                </tc:cell>
>                <tc:cell/>
> 
>                <tc:cell spanX="3">
>                  <tc:label value="label2"/>
>                </tc:cell>
>                <tc:cell spanX="3">
>                  <tc:textarea id="textarea"/>
>                </tc:cell>
> 
>                <tc:cell/>
>                <tc:button id="saveButton"
>                  label="save">
>                  <tc:attribute name="popupClose" value="afterSubmit"/>
>                </tc:button>
>                <tc:button id="cancelButton"
>                  label="cancel">
>                  <tc:attribute name="popupClose" value="immediate"/>
>                </tc:button>
>            </tc:box>
>          </tc:popup>
>        </f:facet>
>      </tc:button>
>    </tc:panel>
>  </tc:page>
> 
> Regards
>    Helmut