0

I have to create a composite component in which there are 3 things.

A text box(1) along with a button(2). And there is a data table(3) below to that text area.

So If user enter something in text area and click button the entered text is added into data table as a new row. So how can I perform this add functionality? And the list which is bind to data table is being passed as attribute in composite component.

What approach I am having currently is to use "componentType" attribute to bind java class to it. But how can I pass this List attribute to get updated?

Gaurav Jeswani
  • 4,410
  • 6
  • 26
  • 47

0 Answers0