• Daveed
  • NEWBIE
  • 15 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies

if i disable showheader it failes calling the apex webservice but if i enable show headers it works on the sites page why is this?

 

Uncaught {faultcode:'UNKNOWN_EXCEPTION', faultstring:'UNKNOWN_EXCEPTION: Site under construction', }

Is there a equivalent  of sObject.get() for sObject's but for Classes? 

 

Need a way to dynamically retrieve the value of a class variable of an instantiated object as you don't know which variable you want until runtime. (REMEMBER: THIS IS NOT AN SOBJECT)

 

--- Psuedo Example ----

Class test {

     public name;

     public email;

}

 

Test t = new Test();

t.get('name')

  • April 17, 2010
  • Like
  • 0
Hi,
Is there any way to convert String /Sentence to Title Case in Apex.

Convert From
"this is a sentence"
To
"This Is A Sentence"


Thanks
R


  • April 06, 2008
  • Like
  • 0