• SF_Gh0st
  • NEWBIE
  • 10 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 1
    Replies
Hi, I am working on the Account VisualForce page, and on that page I have a custom field that is from a different object. I am able to display that field from the different object but right now it is in a table. Is there a way to output the field value without a table, but just a single line of text? Below is what I have now, but only want the output to be a line of text, not in a table or anything else. The line below is already within an ouputPanel.Thanks.
 
<apex:pageBlockTable width="100%" cellpadding="1" cellspacing="1" 
                     value="{!contactList}" var="con" border="0" 
                     frame="none" id="table1">
    <apex:column>
        <apex:outputField value="{!con.CustomField__c}"
            rendered="{!con.CustomField__c != NULL}" 
        />
    </apex:column>
</apex:pageBlockTable>

 
Hi,

I have a visualforce page that is mainly related to the account object in the sense that all the fields on the page are from the account object. However there is one field on a custom object (address) that I want to add to this VF page. What is the best way to do that? I thought I could add a lookup field from account to address (address__c is the lookup field) but that doesnt seem to work, I tried something like this:
<apex:outPutText value="{!acct.address__r.customField__c"/>
Is it possible to do something like this or do I need to do anything to the controller? Thanks.
 
Hi,
In my VF page, I see the following code. 'Research' is a custom object. Where or how do I find out how they got that id for the tab?
<apex:tab label="Research" style="white-space:nowrap" name="research" id="tab17".......

 
Hi,

I have a visualforce page that is mainly related to the account object in the sense that all the fields on the page are from the account object. However there is one field on a custom object (address) that I want to add to this VF page. What is the best way to do that? I thought I could add a lookup field from account to address (address__c is the lookup field) but that doesnt seem to work, I tried something like this:
<apex:outPutText value="{!acct.address__r.customField__c"/>
Is it possible to do something like this or do I need to do anything to the controller? Thanks.