• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Backing Bean

 
Jacklu Rai
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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">
PDF
</commandLink>


How to i get the bean value in java file,

Anubody help me

Thanks
jack
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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}"'.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic