function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
abruckabruck 

visualforce dashboard component

Hi, 

I am trying to create a visual force component that displays a simple list from a picklist field on a custom object. 

for some reason that I cannot figure out only one line appears out of the whole list. The rest just show up as blanks. 

This is the markup

<apex:page standardController="Financial_Approval_Request__c" recordSetvar="Financial_Request">
<apex:pageBlock >
<apex:form id="theForm">
<apex:panelGrid columns="2">

</apex:panelGrid>
<apex:pageBlockSection >
<apex:dataList var="c" value="{!Financial_Request}" id="list">
{!c.Drug_Name__c}
</apex:dataList>
</apex:pageBlockSection>
</apex:form>
</apex:pageBlock>
</apex:page>

 

please advise, 

Thanks, 

Aidel

asish1989asish1989

make sure  Financial_Approval_Request__c has list of records and Drug_Name__c of all records contains some value.

abruckabruck

Thanks for you reply, 

I guess I did not phrase my guestion well. 

all I want is to display the values in the picklist without any connection to the information stored in the records. 

how would I be able to do that.