• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF rich custom component

 
RanjithRaj DhanaSekar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.. to all knowledge helping hands,

I have to implement custom component in JSF rich faces.

TODO:
Custome Dymanic table usgin rich:dataGrid. If i click add button the table should be expand by row viz..,

Thanks in advance..
 
Tim Holloway
Bartender
Posts: 18414
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you lost your example.

However, you can do this in RichFaces without a custom component. Just set up an "immediate" submit button with attached AJAX (like the a4j:support element) and a backing action method that adds a row to the table model. Decorate the button with a "reRender" indicator for the datatable control and it all happens automatically.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!