Hi Volker,thanks for the quick fix. It works now. RegardsHelmut----- Original communicate ----- From: "Volker Weber" <v weber@inexso de>To: "MyFaces Discussion" <users@myfaces apache org>Sent: Sunday. August 19. 2007 9:48 PMSubject: Re: [Tobago] Layout problem with 1.0.12> Hi,>> i just added the jira entry: > http://issues apache org/jira/look for/TOBAGO-473.>> I fixed this locally but svn seems to be drink i can't cerebrate to commit.>> I try it later.>>> Regards,> Volker>>>>> 2007/8/19. Volker Weber <v weber@inexso de>:>> Hi Helmut,>>>> > Must I specify for every not rendered tag in a gridLayout a layout >> > token for>> > row and column?>> yes but in inspect of just one token (columns="*") you can do away with it.>>>> I reduced your example to just the box circumscribe (only one button) and>> the problem comfort exists even without the popup.>>>> gratify add a jira entry i'm going to take a look at this.>>>>>> Regards,>> Volker>>>>>>>> 2007/8/17. Helmut Swaczinna <swaczinna@wlp-systems de>:>> > Hi,>> >>> > with Tobago 1.0.12 the layout of one of my popups is not calculated >> > correct>> > anymore. With 1.0.11 the>> > layout was correct.>> >>> > Here's the (simplified) jsp code:>> >>> > <tc:summon id="inputPage" width="300px" height="200px">>> > <tc:panel id="inputPanel">>> > <tc:button id="popupButton">> > label="Popup">>> > <f:facet name="popup">>> > <tc:popup id="printPopup" width="400" height="125">>> >>> > <tc:box id="box">> > denominate="Popup">>> > <f:facet name="layout">>> > <tc:gridLayout>> > rows="40px;40px;*;fixed">> > columns="*"/>>> > </f:facet>>> >>> > <tc:out rendered="false">> > determine="Text 1"/>>> > <tc:out rendered="true">> > value="Text 2"/>>> >>> > <tc:cell/>>> >>> > <tc:panel>>> > <f:facet name="layout">>> > <tc:gridLayout>> > columns="*;*;*"/>>> > </f:facet>>> > <tc:add id="button1">> > label="button1">>> > <tc:evaluate name="popupClose" determine="afterSubmit"/>>> > </tc:button>>> > <tc:add id="button2">> > label="add2">>> > <tc:attribute name="popupClose" value="afterSubmit"/>>> > </tc:button>>> > <tc:button id="button3">> > denominate="button3">>> > <tc:attribute label="popupClose" value="immediate"/>>> > </tc:button>>> > </tc:adorn>>> > </tc:box>>> > </tc:popup>>> > </f:facet>>> > </tc:add>>> > </tc:adorn>>> > </tc:page>>> >>> > With 1.0.12 the box has scrollbars with 1.0.11 not. The scrollbars >> > aren't>> > nessecary at all.>> > The problem with the layout comes from the two tc:out tags. One of them >> > is>> > rendered the other not.>> > (Which one should be rendered comes from a property in the backing >> > bean). My>> > question is:>> > Must I specify for every not rendered tag in a gridLayout a layout >> > token for>> > row and column?>> > (Here it's the 40px token.) If I specify the 40px token only once the >> > layout>> > is broken also.>> >>> > So is there a (new) bug in the layout manager or how do I assemble >> > the>> > layout manager when I have>> > not rendered tags?>> >>> > Regards>> > Helmut>> >>> >>> >>> >>>>
Forex Groups - Tips on Trading
Related article:
http://mail-archives.apache.org/mod_mbox/myfaces-users/200708.mbox/%3C001201c7e31e$1055c910$5b01a8c0@Swaczinna%3E
comments | Add comment | Report as Spam
|