Skip to main content

strange fragment behaviour

1 reply [Last post]
uwerasmus
Offline
Joined: 2010-08-27
Points: 0

Hello,
I work with JSF (1.2_08), Seam (2.2.0.GA) and Facelets (1.1.15). I found strange behaviour of ui:fragment.
The rendered attribute is evaluated to TRUE (I have debug output in the jsf just before the fragment) but still the content of the fragment is NOT displayed.
If I press F5 (refresh) in browser, it is rerendered and suddenly appears.
It happens just sometimes. Has anyone already hit this behaviour? What it could be?
My head is gonna explode soon :(
Thank you
Uwe

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
uwerasmus
Offline
Joined: 2010-08-27
Points: 0

Actually there is some problem in transition between pages. I've found, that <h:outputText value="#{myObject.text}"/> is different from #{myObject.text}. (also for ID).
The version without <h:outputText ... is correct. Unfortunately I need to do <ui:repeat value="..."> but it also takes the wrong object...
If that is pointer for someone, please let me know
Thank you