+ Start a Discussion

Is it possible to use more than 4 methods with tag <apex:repeat>?


I need fill some columns with data, until now I can fill the first collumn, but I need fill the others 3.
The problem that I'm facing is that I have to use the SAME Object e get the value of the same field, but with a different filter.

for example:

Opprtunity op1 = [SELECT Id, StageName FROM Opportunity WHERE StageName = 'Closed'];
Opprtunity op2 = [SELECT Id, StageName FROM Opportunity WHERE StageName = 'Open'];

So, I need display in a column the stage of op1 and in another column I must display the stage of op2.

The Ideia is create 1 method for each QUERY, so I can display each one side by side in the same row.

Can someone help me?
Any other suggest please.

Best Regards