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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -