People who code: we want your input. Take the Survey

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
0
votes
1answer
553 views

Set method not called in apex:repeat

I am displaying a set of questions and answer for it is either yes or no. these set of questions come from a object. the set method is not getting executed. below is my code The objectName is the ...
0
votes
1answer
14 views

How to set fixed height to apex:repeat tag in visualforce page

I am trying to set fixed height to apex:repeat tag, so that page can show scroll bar, but I am unable to set fixed height to apex:repeat. Please let me know how to set height to apex:repeat tag. below ...
0
votes
1answer
19 views

How to use conditionals in an apex: repeat and place a custom link in a visualforce email template?

I am creating a visualforce email template that sends contact data to salespeople. In this email there are two points that I am not able to advance: In the section "Informações sobre o ...
0
votes
1answer
33 views

How can I access the value of an apex:repeat element?

I have a Visualforce page that generates a comma-separated list of organization (account) IDs. I'd like to pass that list on to a report as a parameter. In the example below, Organization Member is a ...
0
votes
1answer
76 views

Using <apex:repeat value=“{!Order.OrderItems}” var=“cx”> I want to excclude a single product code. How can I do that?

We have the code below that we are using to create a list of products that were added to an order. I want to remove a single product code from the list and render everything else. How can we do that? ...
0
votes
1answer
196 views

Apex:Repeat within an Apex:Repeat

Alright guys, I have what I feel like is a simple problem. I want to show a map within a related map. I have written a controller and page to do that but for some reason the submap doesn't repeat. I ...
0
votes
3answers
324 views

apex:param get just last element. How to fix that?

I create delete-button to remove records from my list. First I choose records and add them to this list. Then I can delete some records, but it removes just last one. How to delete only selected ...
0
votes
1answer
627 views

How to display table data inside apex:repeat horizontally? [duplicate]

<apex:form id="SectionTrack"> <table style="border: 2px solid black;"> <apex:repeat value="{!listT}" var="tp" id="Track_Table"> <tr><th >...
0
votes
2answers
653 views

Why is apex:repeat inside the apex:panelgrid not working as it is supposed to?

The Vf page is currently displaying the products one under the another, that is one product per row, I want to display 3 products per row,I was using panelgrid before when i was explicitly stating ...
0
votes
1answer
182 views

Get input value of inputfield that corresponds to map

Rendering a map that contains with key (location no), value (location name). Rendering with a corresponding inputField where users will input the times they visited the corresponding location. <...
0
votes
1answer
119 views

Repeater 's text box value getting null in method

<section class="panel profile-info"> <apex:inputTextarea rows="2" value="{!pagepost}" styleClass="form-control input-lg p-text-area" id="postingonpage" /> <div class="panel-footer" ...
0
votes
1answer
176 views

create a case when a record is created and also create a note and attachment on the case?

trigger autocreatedocument on Case (after insert) { list<document> doc = new list<document>(); for(case docu:trigger.new){ document D = new document(); D.Name = '...
0
votes
1answer
671 views

How to avoid dynamic id generation inside apex repeat

i'm trying to get the value of radio button placed inside apex repeat. But I could not get the value. Since it is dynamically generating the Ids. I know we can the $ component to get the id,But I ...
0
votes
2answers
412 views

apex:repeat with Save button, saves only first record in it

I have an apex:repeat with Child Name and Edit button displayed. (3 children in the list) ListMember <apex:repeat value="{!listMember}" var="member"> <label>Name</label> &...
0
votes
1answer
73 views

Header and its data not arranging properly

<table width="100%"> <tr> <th>Name</th> <th>Type</th> <th>Clinical Study</th> ...
0
votes
1answer
140 views

create multiple form pages of same data in one apex page

I have below VF Page working fine. But I need to repeat this form multiple times in the PDF Page based on User input integer variable value. Please let me know the way it can be made possible? Apex ...
0
votes
1answer
2k views

Dynamically apply style classes within a repeat tag

Is it possible to say: Every second element within apex:repeat will have a different style class?
0
votes
2answers
569 views

need SYNTAX to read the SelectedValues (selectList value) in picklist (selectoptions) which is in <APEX:REPEAT>

I need SYNTAX to read the SelectedValues (selectList value) in picklist (selectoptions) which is in apex:repeat tag. My Vf code: <table border="1" width="100%"> <apex:REPEAT value=...
0
votes
1answer
2k views

Split textfield value to use as values for apex:repeat

I am trying to figure out how to use the value of a custom field (textfield or textarea) as the values for an apex:repeat in a visualforce page. For example, I have a custom field, issues__c, that ...
0
votes
3answers
4k views

Rerender not working, what am I doing wrong?

I have to display some selectable images in an apex:repeat. The user can upload as many images as they need (the images are uploaded to AWS S3). When a new image is uploaded I need to refresh the ...
0
votes
1answer
118 views

apex:commandbutton rerender not working

We have this code <apex:commandButton image="{!$Label.VF01_Dislike_Gray}" style="height:22px;width:22px;" value="Refused" onclick="updateStatus(this,'{!objective['Id']}');" reRender="...
0
votes
1answer
46 views

Add a starting value to an Apex:Variable in a Apex:repeat Table

I have created a simple table of data in a VF page, which uses Apex:Repeat to list records. There is a column that contains a cumulative amount, by way of apex:variable. The cumulative amount works ...
0
votes
1answer
349 views

VF Page : How to display totals for each Opportunity when grouped by Opportunity Type?

I am trying to display a table in visualforce page. The table contains list of Opportunity Lines and totals Account —> 4 Opportunities (with Oppty Type as New Business and Add-On). First Oppty —> 3 ...
0
votes
0answers
85 views

Exception: Invalid field X__c for SObject Y__c

I have below VF Page. <apex:pageBlock > <apex:pageBlockTable value="{!CPAT_accounts}" var="c"> <apex:repeat value="{!excelFields}" var="f"> <...
0
votes
1answer
183 views

apex:repeat group by/filter by field, show only unique values

So I have an SOQL query which returns an object with these fields: |Product Name|Option|Category| Category could be: A B Options could be: 1 2 3 In my VisualForce page I would like to visualise that ...
0
votes
2answers
176 views

How to fix: rendered=“false” on a selectoption causes further selectoptions within the repeat to not render

<apex:repeat value="{!myList}" var="item" id="myRepeater"> ... <apex:selectList required="" value="{!item.newValue}" id="mySelectlist" multiselect="false" size="1" style="border:none;-...
0
votes
1answer
856 views

How to get value of Selected pick list value to controller if we have multiple Select tags?

Am facing a issue with sending the selected value to the controller if we have multiple select tags on vf page and all the values of picklist are different. <!--<apex:selectList ...
0
votes
1answer
376 views

Display Child record Field in Apex:repeat - Conditional rendering

I have a Table to display some values of a list within Apex:repeat. This list contains both parent and child records of objects. The question is i want to display a child record value in a TD context ...
0
votes
0answers
570 views

Substitute for apex:repeat

I am creating a table of values that need to be displayed in a specific order. My values are pulled from a map in an apex:repeat and I just discovered that apex:repeat defines the order for you. My ...
0
votes
1answer
465 views

Can't call the method and display it an apex repeat [duplicate]

Hi I have the following problem. I wrote a class that would display events on a visual force page but it doesn't seem to be working as it should. The query is now fixed and it is allowed to be passed ...
0
votes
0answers
61 views

apex repeat not working in content type doc

The Output works fine in PDF, but not in Word, Apex:Repeat is not rendering the contacts in a word document. Could someone give me suggestions as to why it is not working? <apex:page ...
0
votes
1answer
61 views

How to change the following output with use of apex:repeat?

<apex:pageblockSection columns="3" var="account"> <apex:pageblockSectionItem > <apex:outputLabel value="Account Name"/> <apex:...
0
votes
0answers
398 views

salesforce bug? <apex:facet> doesn't render within <apex:repeat>

I am having to plot matrix type chart where I have dynamic data. Here is the code <apex:dataTable value="{!lstTableRows}" var="rows"> <apex:column > <apex:facet name="...
0
votes
1answer
114 views

Dynamic Visual Force binding duplicating data in apex:repeat

I am passing a string created in my controller to a VF page through dynamic binding in order to trigger the download of a CSV with the desired fields generated from the string. my code is as follows (...
0
votes
2answers
341 views

apex:repeat var not getting recognized inside button

I have this button inside an apex repeat that it's iterating over a list from my extension controller: <apex:page standardController="Visit_Report__c" extensions="AddTopicsController" showHeader="...
0
votes
0answers
937 views

Apex:repeat on a dataTable column

I've been working on creating a table that will sit on an Opportunity page. I want to have the results group into months that repeat as the columns in a data table. I think that I need to use apex:...
0
votes
2answers
999 views

All radio button get selected at same time

In my below code in the section where I used radio button : <apex:page standardController="Account" recordSetVar="accounts"> <apex:form > <apex:pageBlock title="Account List" id="...
0
votes
0answers
669 views

Collapsible header for every <apex:pageBlockTable> records. Is it possible?

I wanted to have a collapsible header for each records (100, 50, 10 in screenshot) that the pageblocktable generates for order lines. For now there is just 1 collapsible header for all order lines. I ...
0
votes
2answers
141 views

How to check value of inputfile in apex repeat on save with javascript

I have a visualforce page where I give the option to save 2 files based on an apex repeat. I check when a file is added on change if the filesize does not surpass 5mb and alert the user if needed. On ...
0
votes
1answer
418 views

unable to add files with apex:inputFile using apex:repeat

public with sharing class SendEmailMultipleAttachments { public List<Attachment> attachList{get;set;} public List<SelectOption> numberList{get;set;} public String emailValue{...
-1
votes
1answer
143 views

How to get the id of the outputfield texbox clicked by the user which is created inside <apex:repeat>?

I want the box id value when the user clicks on the output field. Here box is a custom object with two fields a checkbox and a textbox . when the user clicks at the output field in the repeat element ,...
-1
votes
1answer
988 views

Apex repeat to manipulate data in list not working [closed]

I am using apex: repeat tag to repeat data in a textbox. I have a custom setting on the vf page and a number field. I want to concatenate both in a textfield. And repeat the concatenated values again ...
-3
votes
1answer
662 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&...
-3
votes
1answer
53 views

image repeat on gmail and hotmail only [closed]

I think the issue is in my css for background image. I checked the google developer list and all in my css headerimage applies. .headerImage { -webkit-background-size: cover; -moz-background-...

1 2
3