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

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -