You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is a bit complicated. You may want to just copy and paste my example. I will try to explain it:
I got this example (just an minimal example to reproduce) from BalusC
It is about CRUD functionality in datatables. The idea is, to create an Item which is automatically add to the list. And you can edit items aswell (and save them). This does work quite nice! You may have a look at this link, but you don't have to. As you can see below, the bean is exactly copy and paste. In my xhtml, there are three buttons to edit an Item. The button with BootsFaces does not work. The other two, are working perfectly fine. I really want to use <b:commandButton> here.
Here is my *.xhtml
Too far, my friend. There are multiple, separated forms. If you click on edit while using update="@form", it will update the <h:dataTable>. That doesn't make any sense. The edit-button should update two panels: panelEdit and panelAdd (or the specific forms).
It is a bit complicated. You may want to just copy and paste my example. I will try to explain it:
I got this example (just an minimal example to reproduce) from BalusC
It is about CRUD functionality in datatables. The idea is, to create an Item which is automatically add to the list. And you can edit items aswell (and save them). This does work quite nice! You may have a look at this link, but you don't have to. As you can see below, the bean is exactly copy and paste. In my
xhtml
, there are three buttons to edit an Item. The button with BootsFaces does not work. The other two, are working perfectly fine. I really want to use<b:commandButton>
here.Here is my
*.xhtml
And here is the backing bean:
And finally the item:
The text was updated successfully, but these errors were encountered: