| Author |
[SOLVED]Best way to reuse a layout with different values?
|
J. Frederik
Greenhorn
Joined: Mar 06, 2013
Posts: 14
|
|
I want to reuse the code of the <div id="placeInfo"> on the next page (place.xhtml). I simplified it's code for this question.
Of course I can use <ui:include> for <div id="placeInfo"> but on the next page I would need e.g. #{myBean.selectedPlace.name} instead of #{place.name}.
Any smart idea how to do this efficiently?
|
 |
J. Frederik
Greenhorn
Joined: Mar 06, 2013
Posts: 14
|
|
I use JSF's composite components now.
|
 |
 |
|
|
subject: [SOLVED]Best way to reuse a layout with different values?
|
|
|