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

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -