jsf - Get ui:param from java managedBean -
i'm including .xhtml in other 1 follows:
<ui:include src="/app/common/panels/task_list.xhtml"> <ui:param name="idobject" value="#{backingbeanref['workgroup']['id']}" /> <ui:param name="classname" value="#{backingbeanref['workgroup']['class']['name']}" /> <ui:param name="backingbeanref" value="#{ttaskquerybean}" /> </ui:include>
in order bean follows:
facescontext fc = facescontext.getcurrentinstance(); string classname = (string) fc.getapplication().evaluateexpressionget(fc, "#{classname}", string.class);
but returns " " in despite of being showed in view when #{classname}
does know how can solve this?
thanks in advance
edit : have tried this throws nullpointerexception
Comments
Post a Comment