I have a datatable with a bunch of h:inputText objects in it. This datatable is generated through a request scope backing bean's constructor. Basically, every time the constructor gets invoked, the datatable is constructed through code.
I also have a commandButton declared in the
JSF page, with an action that points to a method in the same backing bean. When I debug this, and the "action" method is called, the list has not been updated w/the new data I entered.
I tried inserting rows into a DB using a datatable defined in the JSF page itself, and that works w/everything else the same. But I need this to work by generating the datatable through the backing bean. ANy idea what would be going on here?
Relevant code: this works when defined explicitly in the JSF page itself.