You need to sign in to do that
Don't have an account?
GRStevenBrookes
Simple List Of Records!
Hi,
New to Visualforce but am looking to do something quite simple! Display a list of records where Status__c is not 'Resolved'
This is what I have so far:
<apex:page standardController="Issues__c" recordSetVar="All Active Issues" tabStyle="Issues__c" sidebar="false" showHeader="false"> <apex:pageBlock title="Current Active Issues"></apex:pageBlock> <apex:pageBlock > <apex:repeat value="{!Issues__c}" var="i"> <apex:outputPanel rendered="true"> {!i.Name}, {!i.Status__c}, </apex:outputPanel> </apex:repeat> </apex:pageBlock> </apex:page>
I would effectivly like the typical Salesforce GUI List View to be displayed (using criteria above)---- i have read through the manual but cant seem to grasp it - i am sure its looking me in the face!!
Any help much appreciated
Steve
Try this
Let me know if you do not want to display the records this way.
All Answers
Try this.
thank you very much for this - im getting an odd error that cant seem to make sense of?
Error: KnownIssues line 7, column 10: The value of attribute "rendered" associated with an element type "apex:outputpanel" must not contain the '<' character
Error: The value of attribute "rendered" associated with an element type "apex:outputpanel" must not contain the '<' character.
I have edited the post. please try it.
thank you very much.
that has cleared the error - however no records are being returned? There should be! All i get is 2 commas?? Am i missing something?
Try this
Let me know if you do not want to display the records this way.
sorry -
Edited the last posted code. Try it.
yes again, no error but no data.
Try the above code.
perfect!!! what was the problem?
We have to use a name of the set of records passed to the page.