jsf - Generating Dynamic ui:include with generic managed bean -
i have ui:include pass page name parameter
<div role="tabpanel" class="tab-pane" id="recapp"> <ui:include src="#{recordpreviewbean.pagename}"></ui:include> </div>
and pass param
if (selectedreply.getrecord().getrecordtype() == 143) { pagename = "./letter.xhtml"; letterbean.setmessage("hello bean"); }
but in same managed bean ,, separate ui:include in other page , include page parameterized bean ,,, attached image include scenario ... here scenario
i want in how solve problem . not expert java developer
thanks in advance
Comments
Post a Comment