• Rehan Developer
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hello!!!

Is it possible to pass parameters / args in Visualforce Page?

Thank you!!!
PAGE:

<apex:pageBlockTable value="{!jobRecords}" var="ac">
              <apex:column headervalue="Name Job" value="{!ac.CronJobDetail.Name}"/>
                <apex:column headervalue="Status" value="{!ac.State}"/>
                <apex:column headervalue="Expression" value="{!ac.CronExpression}"/>
                <apex:column> <apex:commandButton value="X" action="{!deleteJob('NAMEEE')}"/></apex:column>
              </apex:pageBlockTable> 

APEX:

public void deleteJob(String nameJob) {
    idJobDel= new List<CronTrigger>();
    idJobDel= [SELECT  Id FROM CronTrigger where CronJobDetail.Name =: nameJob];
    System.abortJob(idJobDel[0].id);
   }

Hi,

Can any one please tell how can we change pageblocksection background color.

I am trying the below code.It is not working

<apex:page standardController="Account">
<style>
.panelWrapper {
    background-color: green;
}
</style>
<apex:outputPanel styleClass="panelWrapper" layout="block">
    <apex:pageBlock title="Hello">
        <apex:pageBlockSection title="pageblocksectionName">
        </apex:pageBlockSection>
    </apex:pageBlock>
</apex:outputPanel>
</apex:page>

Thanks in advance