Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

f:param at "rendered processing" time

 
André Campanini
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi... I'm using JSF h:commandLink and I want something that I think won't work this way.

I wanted to use f:param inside the h:commandLink to pass parameters by using a "rendered" property to the backing bean.

Here is the code:

h:commandLink rendered=UserMB.permission value="Menu Customers"
f:param name="functionalityParam" value="customerList"
h:commandLink

It seems the parameter is "loaded" in the Map only at Action time, and don't at "rendered processing" time.

Is it impossible to get what I want?

Best regards, saloon!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic