myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonardo Uribe <>
Subject Re: JSF2: Behavior change for ui:params
Date Thu, 15 Dec 2011 16:49:52 GMT

When you use ui:include, inside myfaces a new template context is created,
and all template logic including template params are "isolated", which means
params passed or earlier ui:define or ui:insert declarations will be ignored.

So it is expected ui:param definitions does not pass through ui:include, unless
you define a ui:param inside ui:include and declare in a explicit way that
this param will be used inside that template. Other option is use
ui:decorate instead ui:include, so the same template context will be used
to resolve your template.

The issue related to this behavior is:
Trivial multi-level templating does not work if ui:include is used


Leonardo Uribe

View raw message