File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes f:param at Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "f:param at "rendered processing" time" Watch "f:param at "rendered processing" time" New topic

f:param at "rendered processing" time

André Campanini

Joined: Jun 20, 2008
Posts: 19
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"

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!
It is sorta covered in the JavaRanch Style Guide.
subject: f:param at "rendered processing" time
Similar Threads
Highlighting a row when it's selected
Doubt in f:facet tag.. Please help me ..
Conditional logic in JSF
How to load a bean for an "edit.jsf" page?
Repeating JSF code