• Post Reply Bookmark Topic Watch Topic
  • New Topic

Parameter values ​​concatenated into dynamic columns in Primefaces?  RSS feed

 
Hernando Huaman
Greenhorn
Posts: 4
Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm generating is so dynamic columns in a datatable in JSF with Primefaces 4. It turns out that the only way to generate it through two lists where one has data grid and other attributes of the bean. So far it has happened only handle this.



In code java:



But it occurred to me that if I could concatenate the value of the alias in the main list with the names of the attributes bean I get from the second list should work, but the problem of contenacion is that only prints the string, but not the result chain.



Anyone have an idea how to print the string value and not just the string as description.

 
Hernando Huaman
Greenhorn
Posts: 4
Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just use bracket-writing

#{cust[colum.entidadBean]}
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!