This expression is not working :-
<f:facet name="header">
Search Results for #{SearchResultsBean.searchPhrase}
</f:facet>
But if i just remove that line from outside f:facet, it works. Why is this happening? Is this the intended behavior? Thanks in advance 🙂
I am not sure, but this might be related to the fact that the
f:facetcan contain only one child. Try this instead:or maybe
Update:
I just did a local test and actually, your initial approach works just here.
with
yields
That was using Mojarra 2.0.2 on Tomcat 6.0.20. Which versions was you using? Was your approach similar?