Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem passing parameters to a managed bean  RSS feed

Liron Golan
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a few parameters that i get on the URL which i want to pass to my managed bean. For some reason, the members are set to null in the bean.
The variables are not null in the URL though.

Here is the xhtml part:

<h:form id="mainForm">
<h:commandButton id="newConfig" value="New Configuration" action="#{ConfigStatusBean.createNewConfiguration}">
<f:param name="configLongName" value="#{param.configurationType}"/>
<f:param name="configOID" value="#{param.oid}"/>

And here is the faces_config part of ConfigStatusBean:


What am i doing wrong?


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!