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

Reply via email to