You need to sign in to do that
Don't have an account?
ward.geis
Should I use <apex:repeat>? Please help, I'm lost!
SO, I'm trying to build a case multi-edit page that will be using a case list to define the cases shown when the custom link is selected.
here is my existing code, which works great, but will only return 20 rows, regardless of how many are in the list:
<apex:page standardController="Case" recordSetVar="cases" tabStyle="Case" sidebar="false"> <apex:form > <apex:pageBlock > <apex:pageMessages /> <apex:pageBlockButtons > <apex:commandButton value="Quick Save" action="{!quicksave}"/> <apex:commandButton value="Save" action="{!save}"/> </apex:pageBlockButtons> <apex:pageBlockTable value="{!cases}" var="c"> <apex:column value="{!c.casenumber}"/> <apex:column value="{!c.subject}"/> <apex:column headerValue="Upgrade Status"> <apex:inputField value="{!c.Upgrade_Status__c}"/> </apex:column> <apex:column headerValue="SP Installed"> <apex:inputField value="{!c.SP_Installed__c}"/> </apex:column> <apex:column value="{!c.SP_To_Install__c}"/> <apex:column headerValue="Status"> <apex:inputField value="{!c.status}"/> </apex:column> </apex:pageBlockTable> </apex:pageBlock> </apex:form> </apex:page>
I'm not particularly sure how I should be using the <apex:repeat> tag, can someone lend some assistance, seems like it should be easy enough but it's stumping me.
Cheers,
Ward
apex:repeat sample example try this example
Thanks for the help everyone, but after thinking about it more, I would rarely be dealing with lists of over 40 or 50 cases. I decided to implement a paging solution.
Paging is native to VF since 09. See this post for more info...http://blog.sforce.com/sforce/2008/09/visualforce-pag.html
Cheers,
Ward