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 has the following value:
Issue1, Issue2, Issue3
Alternately the values could be stored with newlines as:
Issue1
Issue2
Issue3
I want pass each of these entries as the value for an apex:repeat, which in turn would create html links to each of the above values stored in the text field.
I assume that I will need to write a controller to accomplish this, but my understanding of writing controller extensions is very limited at the moment.
The bits I am missing are: How do I pass the value of issues__c to the controller? How do I return each line or entry in issues__c back to the apex:repeat in the VF page?
Or is there an easier way?
String.split(String, Integer)
to achieve this.