• LJanik
  • NEWBIE
  • 25 Points
  • Member since 2009

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 3
    Replies
Is there any way to have the user go directly to a custom VisualForce page instead of a Home Page immediately after login.  I know I can redirect a home page with JavaScript or Metatag Refresh, but I would prefer not to use these workarounds.
  • October 20, 2009
  • Like
  • 0
I am trying to populate a list of custom child objects through a query.  The following code does not work

List<child__c> childlist; childlist=database.query('SELECT child__r.last_name__c, child__r.first_name__c FROM parent__c');

 

  • September 09, 2009
  • Like
  • 0

I have a simple query of a custom object.  It is showing the correct number of records(3), but the fields are blank.

 

 

Public List<TestObject__c> specialists;

 

public List<TestObject__c> getSpecialists() { return specialists; } public PageReference search(){ specialists = Database.query('select AnimalType__c from TestObject__c'); return null; }

 

 

 

 

<apex:form > <apex:commandButton action="{!search}" value="Search" /> </apex:form> <apex:dataList var="s" value="{!specialists}" id="list"> Type: <apex:outputText value="{!s.AnimalType__c}" /> </apex:dataList>

 


 

  • September 04, 2009
  • Like
  • 0

I have a simple query of a custom object.  It is showing the correct number of records(3), but the fields are blank.

 

 

Public List<TestObject__c> specialists;

 

public List<TestObject__c> getSpecialists() { return specialists; } public PageReference search(){ specialists = Database.query('select AnimalType__c from TestObject__c'); return null; }

 

 

 

 

<apex:form > <apex:commandButton action="{!search}" value="Search" /> </apex:form> <apex:dataList var="s" value="{!specialists}" id="list"> Type: <apex:outputText value="{!s.AnimalType__c}" /> </apex:dataList>

 


 

  • September 04, 2009
  • Like
  • 0