You need to sign in to do that
Don't have an account?
gregusa
Multiple Apex:commandLinks in apex:pageBlockTable doesn't work.
I need to be able to have two buttons in the footer of a pageBlockTable, one to add a row, one to remove a row. The functionality behind the buttons works great if I have one or the other buttons in the VisualForce page at a time. If I try the following, the last button is the only button that is rendered:
Shouldn't both buttons render given the above code>
Code:
<apex:pageBlockTable value="{!over}" var="a" id="table">
<apex:facet name="footer"> <apex:commandLink value="Add Row" action="{!addRow}" rerender="table,error"/> <apex:commandLink id="RemoveRow" value="Remove Row" action="{!removeRow}" rerender="table,error" immediate="true" /> </apex:facet>
Shouldn't both buttons render given the above code>
Greg
All Answers
Greg