Questions tagged [repeat]

apex:repeat is a Visualforce iteration component that allows you to output the contents of a collection according to a structure that you specify. The collection can include up to 1,000 items.

Filter by
Sorted by
Tagged with
26
votes
2answers
5k views

Why can Visualforce iterate over >1000 item collection if it's a map?

As per Visualforce Limits: Maximum number of collection items that can be iterated in an iteration component such as <apex:pageBlockTable> and <apex:repeat> -- 1,000 So normally 1,...
3
votes
1answer
712 views

Pass different values as componentvalue to <apex:dynamiccomponent> in <apex:repeat>

<apex:repeat value="{!blocksThatAreComponents}" var="key"> <div id="{!key}"> <apex:dynamicComponent componentValue="{!PageComponentsMap[key]}" /> ...
1
vote
1answer
516 views

Limit number of tables displayed in one page (When using Apex:Repeat), when redering as pdf to avoid page/table breaks

I have the following VF page, but when I render it as pdf the Apex:repeat tables break in the middle to the next page. I'm thinking of limiting the tables displayed in each page to avoid table breaks. ...
-3
votes
1answer
650 views

Show result of apex repeat in single row

<table> <apex:repeat value="{!dataList}" var="List" id="dataTable"> <tr> <th> Name </th> <th> Status</th&...
4
votes
1answer
2k views

How to iterate repetitive rows in table to calculate count and show the sum

I am new to vf tables and repeat tags. i am trying to create the below table in vf page could anyone please help me to achieve this by telling the way how i can do the below:- Object- Family Fields-...
5
votes
1answer
1k views

include component seems to be having issues with merge-field syntax inside of a repeat component

I am trying to place an apex:include inside of an apex:repeat component. But I am getting a compile error: <apex:repeat value="{!placeholders}" var="placeholder"> {!placeholder} - {!...
3
votes
1answer
178 views

Variable binding issue with apex repeat

I'm a beginner to Visualforce - apologies if I've missed a thread that would answer this question but one has eluded me so far. This has been driving me out of my mind for a good week... I had a ...
3
votes
0answers
158 views

Table with independent rows

I need a table showing sObjects within independent rows. I need to perform actions on single rows without even taking care about all the other rows. Reason: Some rows might be invalid (having ...
2
votes
3answers
2k views

repeat rendered for certain condition

I'm using visalforce page and apex class for rendering the table on the browser. I want to display 6 records per row. I have total 4 rows & 5 columns. How I can use the repeat function to limit 6 ...
1
vote
1answer
776 views

Display limited repeat values in one pdf page [duplicate]

Is there any way of limiting the displayed repeat values in one page? Ex: Display first two values in first page, next two values in the next page etc ? I tried to find a way of doing this but I ...
0
votes
2answers
309 views

How to insert a data from the same inputfields into a custom object

I,m trying to save data into a custom object from a repeated form in visualforce page. This is the visualforce code. Can I do do this using array? or list? or map?.. any idea?.. <apex:form> <...
0
votes
1answer
60 views

Apex repeat shows Ids instead of field values

I have below set in my controller where I am populating a formula text field values in a set of Compliance_Incident_abv__c. Unfortunately, in page it shows only the Ids and not the ...