• James76
  • NEWBIE
  • 0 Points
  • Member since 2011

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

I have 2 different checkboxes, which if either/both are true my page block needs to render.

 

I have managed to get this working with one checkbox:

 

<apex:pageBlockSection collapsible="false" columns="2" rendered="{!IF(Contract_Review__c.Product_Certification_Required__c,true,false)}" title="Capability Assessment">

How do I add the additional checkbox?

 

 

 

 

 

 

 

 

 

 

 

 

 

 ">

I have 2 different checkboxes, which if either/both are true my page block needs to render.

 

I have managed to get this working with one checkbox:

 

<apex:pageBlockSection collapsible="false" columns="2" rendered="{!IF(Contract_Review__c.Product_Certification_Required__c,true,false)}" title="Capability Assessment">

How do I add the additional checkbox?

 

 

 

 

 

 

 

 

 

 

 

 

 

 ">

I am trying to call a Visualforce page from a custom list button.  I have done this successfully from a detail page button by creating a page using a standard controller for the detail object, selecting Visualforce page as the content source and then picking the page I wanted from the pull down list for content.
 
However, I can't seem to get this to work for a list button.  I pick the list button option on the custom button or link page, and pick visualforce page for the content source, but I don't get my visualforce page to appear in the content pull down list.
 
Is there something I'm doing wrong?
 
As an adjunct question, should I be using the standard controller for the detail object being displayed at the top of the page or for the objects being referenced in the list (in the case I'm working on now, the objects in the list are the same object as the detail object and reference back to the detail object)? 
 
I understand that one of the benefits of using a visualforce page in this manner is that the id for the detail object is automatically passed to the visualforce page, thereby making data display easier on the detail page.  If a visualforce page can be invoked from a list button, what object id is passed?  That of the detail item at the top of the page?
 
Thanks in advance for your help,
Jeff
 
  • January 16, 2009
  • Like
  • 0