[ 
https://issues.apache.org/jira/browse/TOBAGO-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607917#action_12607917
 ] 

Bernd Bohmann commented on TOBAGO-682:
--------------------------------------

Can you attach the page, please?

> Facelets, page is not rendered correct, it toggles from ok - wrong - ok - 
> wrong... by executing an actionListener
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-682
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-682
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Facelets
>    Affects Versions: 1.0.18
>         Environment: Facelets 1.1.14, MyFaces 1.1.6 snap (08.01.2008), Tobago 
> 1.0.18 snap (13.06.2008) 
>            Reporter: Guido Dubois
>         Attachments: form_err.png, form_err2.png, form_ok.png
>
>
> If I start the site, I get the right rendered result like in picture (1). But 
> the following warnings will be logged.
> 02:43:18,927 INFO  [PageRendererBase] actionPosition='10px,115px,20px,12px'
> 02:43:19,130 ERROR [STDERR] 14.06.2008 02:43:19 
> com.sun.facelets.impl.DefaultFacelet refresh
> INFO: 
> Facelet[/file:/C:/Programme/jboss-4.2.2.GA/server/default/tmp/deploy/tmp2320gut_prodis3EAR.ear-contents/gut_prodis3Client-exp.war/WEB-INF/lib/tobago-facelets-1.0.18-SNAPSHOT.jar!/META-INF/in.xml]
>  was modified @ 02:43:19, flushing component applied @ 02:43:08
> 02:43:19,130 ERROR [STDERR] 14.06.2008 02:43:19 
> com.sun.facelets.impl.DefaultFacelet refresh
> INFO: 
> Facelet[/file:/C:/Programme/jboss-4.2.2.GA/server/default/tmp/deploy/tmp2320gut_prodis3EAR.ear-contents/gut_prodis3Client-exp.war/WEB-INF/lib/tobago-facelets-1.0.18-SNAPSHOT.jar!/META-INF/in.xml]
>  was modified @ 02:43:19, flushing component applied @ 02:43:08
> 02:43:19,130 WARN  [GridLayoutRenderer] Unable to calculate Height for token 
> '1*'! using 'fixed' , component:page:_id77 is Panel
> 02:43:19,130 WARN  [GridLayoutRenderer] Unable to calculate Height for token 
> '1*'! using 'fixed' , component:page:_id80 is Panel
> 02:43:19,130 WARN  [GridLayoutRenderer] Unable to calculate Height for token 
> '1*'! using 'fixed' , component:page:_id77 is Panel
> 02:43:19,130 WARN  [GridLayoutRenderer] Unable to calculate Height for token 
> '1*'! using 'fixed' , component:page:_id80 is Panel
> 02:43:19,146 INFO  [PageRenderer] get clientDebugSeverity = 2;hide
> 02:43:19,287 INFO  [DebugPhaseListener] Total response time : 375 milliseconds
> ++++++++++++++++++++
> Then I click a flag on the left side - there will only be executed an 
> actionListener to switch the language - and I will get a wrong rendered site 
> like in pictute (2) with the following log info
> 02:43:58,604 INFO  [PageRendererBase] actionPosition='10px,115px,20px,12px'
> 02:43:58,713 ERROR [STDERR] 14.06.2008 02:43:58 
> com.sun.facelets.impl.DefaultFacelet refresh
> INFO: 
> Facelet[/file:/C:/Programme/jboss-4.2.2.GA/server/default/tmp/deploy/tmp2320gut_prodis3EAR.ear-contents/gut_prodis3Client-exp.war/WEB-INF/lib/tobago-facelets-1.0.18-SNAPSHOT.jar!/META-INF/in.xml]
>  was modified @ 02:43:58, flushing component applied @ 02:43:21
> 02:43:58,713 ERROR [STDERR] 14.06.2008 02:43:58 
> com.sun.facelets.impl.DefaultFacelet refresh
> INFO: 
> Facelet[/file:/C:/Programme/jboss-4.2.2.GA/server/default/tmp/deploy/tmp2320gut_prodis3EAR.ear-contents/gut_prodis3Client-exp.war/WEB-INF/lib/tobago-facelets-1.0.18-SNAPSHOT.jar!/META-INF/in.xml]
>  was modified @ 02:43:58, flushing component applied @ 02:43:21
> 02:43:58,713 ERROR [STDERR] 14.06.2008 02:43:58 
> com.sun.facelets.impl.DefaultFacelet refresh
> INFO: 
> Facelet[/file:/C:/Programme/jboss-4.2.2.GA/server/default/tmp/deploy/tmp2320gut_prodis3EAR.ear-contents/gut_prodis3Client-exp.war/WEB-INF/lib/tobago-facelets-1.0.18-SNAPSHOT.jar!/META-INF/in.xml]
>  was modified @ 02:43:58, flushing component applied @ 02:43:21
> 02:43:58,713 ERROR [STDERR] 14.06.2008 02:43:58 
> com.sun.facelets.impl.DefaultFacelet refresh
> INFO: 
> Facelet[/file:/C:/Programme/jboss-4.2.2.GA/server/default/tmp/deploy/tmp2320gut_prodis3EAR.ear-contents/gut_prodis3Client-exp.war/WEB-INF/lib/tobago-facelets-1.0.18-SNAPSHOT.jar!/META-INF/in.xml]
>  was modified @ 02:43:58, flushing component applied @ 02:43:21
> 02:43:58,745 INFO  [PageRenderer] get clientDebugSeverity = 2;hide
> 02:43:58,776 INFO  [DebugPhaseListener] Total response time : 188 milliseconds
> ++++++++++++++++++++
> If I click the falg again, I get the right site again. It toggles by clicken 
> right - wrong - right - wrong....
> ++++++++++++++++++++
> I changed the in.xml file of the tobago-facelets-1.0.18-SNAPSHOT.jar file 
> like follows. I have added rows="fixed" because in the API-Doc is written
> FIXED         any combination of FIXED or PIXEL but no PROPORTIONAL   okay
> FIXED         any combination with at least one PROPORTIONAL  wrong   
> LayoutManager cannot compute the fixed value.
> And an omitted rows attribute is like rows="*". After this the warnings are 
> gone.
>   <tc:panel rendered="${rendered}">
>     <f:facet name="layout">
>       <tc:gridLayout columns="${labelWidth};*" rows="fixed"/>
>     </f:facet>
>     <tc:label value="${label}" for="@auto" tip="${tip}"/>
>     <c:choose>
> 02:49:06,588 INFO  [PageRendererBase] actionPosition='10px,115px,20px,12px'
> 02:49:06,745 ERROR [STDERR] 14.06.2008 02:49:06 
> com.sun.facelets.impl.DefaultFacelet refresh
> INFO: 
> Facelet[/file:/C:/Programme/jboss-4.2.2.GA/server/default/tmp/deploy/tmp2322gut_prodis3EAR.ear-contents/gut_prodis3Client-exp.war/WEB-INF/lib/tobago-facelets-1.0.18-SNAPSHOT.jar!/META-INF/in.xml]
>  was modified @ 02:49:06, flushing component applied @ 02:49:00
> 02:49:06,745 ERROR [STDERR] 14.06.2008 02:49:06 
> com.sun.facelets.impl.DefaultFacelet refresh
> INFO: 
> Facelet[/file:/C:/Programme/jboss-4.2.2.GA/server/default/tmp/deploy/tmp2322gut_prodis3EAR.ear-contents/gut_prodis3Client-exp.war/WEB-INF/lib/tobago-facelets-1.0.18-SNAPSHOT.jar!/META-INF/in.xml]
>  was modified @ 02:49:06, flushing component applied @ 02:49:00
> 02:49:06,760 INFO  [PageRenderer] get clientDebugSeverity = 2;hide
> 02:49:06,885 INFO  [DebugPhaseListener] Total response time : 328 milliseconds
> ++++++++++++++++++++
> But this solves not my problem. I get the same behaviour only the in-fields 
> are now of fixed hight like in picture (3)
> 02:49:41,667 INFO  [PageRendererBase] actionPosition='10px,115px,20px,12px'
> 02:49:41,760 ERROR [STDERR] 14.06.2008 02:49:41 
> com.sun.facelets.impl.DefaultFacelet refresh
> INFO: 
> Facelet[/file:/C:/Programme/jboss-4.2.2.GA/server/default/tmp/deploy/tmp2322gut_prodis3EAR.ear-contents/gut_prodis3Client-exp.war/WEB-INF/lib/tobago-facelets-1.0.18-SNAPSHOT.jar!/META-INF/in.xml]
>  was modified @ 02:49:41, flushing component applied @ 02:49:08
> 02:49:41,760 ERROR [STDERR] 14.06.2008 02:49:41 
> com.sun.facelets.impl.DefaultFacelet refresh
> INFO: 
> Facelet[/file:/C:/Programme/jboss-4.2.2.GA/server/default/tmp/deploy/tmp2322gut_prodis3EAR.ear-contents/gut_prodis3Client-exp.war/WEB-INF/lib/tobago-facelets-1.0.18-SNAPSHOT.jar!/META-INF/in.xml]
>  was modified @ 02:49:41, flushing component applied @ 02:49:08
> 02:49:41,760 ERROR [STDERR] 14.06.2008 02:49:41 
> com.sun.facelets.impl.DefaultFacelet refresh
> INFO: 
> Facelet[/file:/C:/Programme/jboss-4.2.2.GA/server/default/tmp/deploy/tmp2322gut_prodis3EAR.ear-contents/gut_prodis3Client-exp.war/WEB-INF/lib/tobago-facelets-1.0.18-SNAPSHOT.jar!/META-INF/in.xml]
>  was modified @ 02:49:41, flushing component applied @ 02:49:08
> 02:49:41,760 ERROR [STDERR] 14.06.2008 02:49:41 
> com.sun.facelets.impl.DefaultFacelet refresh
> INFO: 
> Facelet[/file:/C:/Programme/jboss-4.2.2.GA/server/default/tmp/deploy/tmp2322gut_prodis3EAR.ear-contents/gut_prodis3Client-exp.war/WEB-INF/lib/tobago-facelets-1.0.18-SNAPSHOT.jar!/META-INF/in.xml]
>  was modified @ 02:49:41, flushing component applied @ 02:49:08
> 02:49:41,776 WARN  [LayoutInfo] Space left after spreading : 98px! 
> clientId='page:_id85'
> 02:49:41,776 WARN  [LayoutInfo] Space left after spreading : 98px! 
> clientId='page:_id88'
> 02:49:41,776 INFO  [PageRenderer] get clientDebugSeverity = 2;hide
> 02:49:41,823 INFO  [DebugPhaseListener] Total response time : 172 milliseconds
> +++++++++++++++++++
> Perhaps you have an idea. I need a quick patch for this behaviour because it 
> is not lovely...

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

Reply via email to