• Vivekh Raj
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 2
    Replies
Hi,
I want to call a custom setting values in my VF component. i tried calling in VF page it is working fine but when i tried to call in VF component it is not fetching the values. Whether I have to use any other special tags for calling custom settings in VF component?
i am using <apex:Outputtext value = "{!stringsList1}"/> to call in my VF page.

Thanks
Vivek
Hi,
I have a picklist in my VF page. i need to show those values of that picklist in a seperate column in my VF.
for ex:
these are the values in picklist. business, IT, Finance. ineed to show them like this,
Business     IT      Finance
and also i need to change those default name to some alternate names. 
for ex:
Business Sector       IT sector      Finance sector

how can i achieve this. please help me.

Thanks
Vivek
Hi,
I was trying to call an method of class 1 in class 2. but i am getting this error while saving class 2.
Error: Compile Error: Constructor is not visible: <IPgap>(constructor)
Ex:
Class 1:
public class IPgap 
{
   public Opportunity  opp{get; set;}
   public IPgap (ApexPages.StandardController controller)
      {
         //Some logic
      }
   private void Info(){
        intrest = new List<SelectOption>();
     }
}

Class 2:
global without sharing class ipHelper {
    //variable declarations
 public void method1() 
    {
        IPgap ipreq = new IPgap();
        string returnValue = ipreq.Info();
    }
}

Anyone can help me.

Thanks
Vivek
Hi,
I want to call a custom setting values in my VF component. i tried calling in VF page it is working fine but when i tried to call in VF component it is not fetching the values. Whether I have to use any other special tags for calling custom settings in VF component?
i am using <apex:Outputtext value = "{!stringsList1}"/> to call in my VF page.

Thanks
Vivek
Hi,
I was trying to call an method of class 1 in class 2. but i am getting this error while saving class 2.
Error: Compile Error: Constructor is not visible: <IPgap>(constructor)
Ex:
Class 1:
public class IPgap 
{
   public Opportunity  opp{get; set;}
   public IPgap (ApexPages.StandardController controller)
      {
         //Some logic
      }
   private void Info(){
        intrest = new List<SelectOption>();
     }
}

Class 2:
global without sharing class ipHelper {
    //variable declarations
 public void method1() 
    {
        IPgap ipreq = new IPgap();
        string returnValue = ipreq.Info();
    }
}

Anyone can help me.

Thanks
Vivek