This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSF and the fly likes Backing Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Backing Bean" Watch "Backing Bean" New topic

Backing Bean

Jacklu Rai

Joined: Aug 26, 2009
Posts: 1
hi everybody

I new in richfaces;

How to pass the Data table value in Backing with customtag

This is My CountryList xhtml file
Here i add the customtag;
<PDF:ListTitle Heading="Country" BackingBean="#{CountryList.resultList}" />

This is my custom tag Xhtml file
Here i include that
<h:commandLink action="#{BackingBean}" target="_blank">

How to i get the bean value in java file,

Anubody help me

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15661

The "action" attribute of a commandLink cannot be a bean. It has to be a reference to a public method returning a String. So you have to code something like 'action="#{backingBean.doSomeAction}"'.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Backing Bean
Similar Threads
Implicit navigation redirect causing new session
Question on how to fix error on inputHidden field
How to used a variable inside the value attribute of a h:inputText tag
WebLogic12C + Eclipse Indigo develop JSF 2.0 with CDI
Access managed bean from a servlet