I have a project I am working on that uses Primefaces 3.2, JSF 2.0.3, and JBoss 6.1. I also use the latest version of Openfaces (I finally found a PF version of BorderLayoutPanel so I might be getting rid of OF).
My situation is I have these buttons in a panel grid->row - Add, Edit, Delete, and Cancel. If I click on Add, then the Edit and Delete buttons are replaced with an Save button. The only buttons showing are Save and Cancel. I could always add all possible buttons to the view and then toggle the rendered= with backing bean code, but is there a more elegant way to do this? The rendered= code in the backing bean could get ugly real quick and I'm not sure I like the way Primefaces sometimes generates all sorts of life cycle changes. I had a recent datatable execute the value= 21 times just from selecting a row (Openfaces actually did this correctly by calling it one time).