• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Doubt in f:facet tag.. Please help me ..

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,

I couldnt resolve the following problem..
In my screen I have 8 columns.. I have to provide sorting facility for some of the column, which is going to be set dynamically..
I have written my code like this:


No value is getting displayed as a column header..

Please help me..
[ February 27, 2007: Message edited by: Jessica James ]
 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

A facet can only contain one component so your code above, which uses both a outputText and a CommandLink will cause an exception.

If you want to use multiple components like you have done above i think you have to nest them inside <h:panelGroup> </h:pabelGroup> tags.

try:



Do you get any exceptions?

John
[ February 27, 2007: Message edited by: John Bartlett ]
 
Jessica James
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey it's working fine...
Thanks a Lot ..
 
reply
    Bookmark Topic Watch Topic
  • New Topic