• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Jessica James
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • 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 ]
 
John Bartlett
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
hey it's working fine...
Thanks a Lot ..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!