function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vanessa veronvanessa veron 

Display value into inputText Visualforce

Hii

How do I get the value that is stored in a variable of the APEX controller and display its value in the input Text Visualforce??

APEX:
global String mail{get;set;}
global String name{get;set;}


name = 'MARIE';
mail='marie@gmail.com'


VISUALFORCE:

Mail..........:&nbsp;<apex:inputText value="{!mail}"/>
    
Name..:&nbsp;<apex:inputText  value="{!name}"/>
When opening the Visualforce page I would already see the name MARIE and the email  MARIE@GMAIL.COM into input text.

Help me
Vinit_KumarVinit_Kumar
You have declared the getter settter for the variable and that should work..Just put the variable intialisatio inside a method or constructor and you are good to go!!
vanessa veronvanessa veron
I created get and set methods:

APEX:
global void setMail(String mail) {
    this.mail= mail;
}

global String getMail() {
    return mail;
}

global void setName(String name) {
    this.name= name;
}

global String getName() {
    return name;
}

.....

global List<GetJobValue__c> recupererInfosJob{get;set;} 
public String garderJobInfo;
public String strJobName {get;set;}

METHOD MODIFY: (juste NAME - for the moment)
public PageReference modifier(){

if(!String.isBlank(strJobName))
{
    recupererInfosJob = new List<GetJobValue__c>();
    recupererInfosJob = [SELECT  nomJob__c FROM GetJobValue__c where nomJob__c =: strJobName];

    for(GetJobValue__c a: recupererInfosJob){
       string recordString = a.name__c;
       garderJobInfo = recordString;
    }
}
else
{
system.debug('NOT Job Name');
}

PageReference pageRef= new PageReference('/apex/Page2');     
return pageRef;

}

VISUALFORCE:

<apex:actionfunction name="callModify" action="{!modifier}" rerender="panelRefresh">
            <apex:param value="" name="ParamModify" assignTo="{!strJobName}" />
          </apex:actionFunction>

<apex:pageBlockTable value="{!jobRecords}" var="ac" id="pbBlockTable">
              <apex:column headervalue="Name Job" value="{!ac.CronJobDetail.Name}"/>
                <apex:column headervalue="Expression" value="{!ac.CronExpression}"/>

              <apex:column >
                    <apex:commandButton value="M" onClick="callModify('{!ac.CronJobDetail.Name}'); return false;"/>
                </apex:column>
              </apex:pageBlockTable>
But it dont work....
vanessa veronvanessa veron
Hi Vinit_Kumar do you have an email???

I can send you the complete code for you to help me.
Thank you
Vinit_KumarVinit_Kumar
Where are you intialising the variables mail and name in your code ??
vanessa veronvanessa veron
Into apex method:

name = 'MARIE';
mail='marie@gmail.com'

Do you have an email?
Vinit_KumarVinit_Kumar
The way I would approach is to check debug logs and see what value is getting assigned to thje variables.

PS : I don't reply on email !!
vanessa veronvanessa veron
ok... I'll post my complete code for you to see ...

I wanted to click on the table of page 1, the values ​​of the line were passed to page 2 and page 2 show these values ​​in inputText.

CONTROLLER:
global class BBBB implements System.Schedulable {

global String mail{get;set;}
global String nomJob{get;set;}
global String requete{get;set;}
global String heure{get;set;}
global String minute{get;set;}
global String jourMois{get;set;}
global String mois{get;set;}
global String jourSemaine{get;set;}
//global String recordId;
global List<CronTrigger> jobRecords{get;set;}
global List<CronTrigger> idJobDel{get;set;} 
global String nomJobDel{get;set;}
global String moisFreq{get;set;}
global String moisFreqSem{get;set;}
global String optionNumSemaine;
global String optionJourSemaine;
global String optionMois;
global String optionSemJourSemaine;
global String replaceSemaine;
global String replaceFinal;
public String strJobName {get;set;}
public String complete;
public String expressionComplete;
public String getInfos;
global List <String> testeInfos;
public GetJobValue__c jobInfo;
global List<GetJobValue__c> recupererInfosJob{get;set;} 
public String garderJobInfo;
//global List<String> jourSemaineList{get;set;}


global void execute(SchedulableContext sc) {
  newPublier();
}

global BBBB () {enabledMois = true;enabledMoisPartie2 = true;enabledSemaine=true;}

public BBBB(ApexPages.StandardController controller) {
            jobRecords = new List<CronTrigger>();
            jobRecords = [SELECT  CronJobDetail.Name, CreatedDate, State, PreviousFireTime, NextFireTime,CronExpression FROM CronTrigger where OwnerId = '00520000003HHTGAA4'];
            enabledMois = true;
            enabledMoisPartie2 = true;
            enabledSemaine=true;
            
            
        }


global BBBB (String mail, String requete, String heure, String minute, String jourMois, String mois, String jourSemaine) {
this.mail= mail;
this.requete= requete;
this.heure= heure;
this.minute= minute;
this.jourMois= jourMois;
this.mois= mois;
this.jourSemaine= jourSemaine;
enabledMois = true;
enabledMoisPartie2 = true;
enabledSemaine=true;
}

public String completeString(){
    complete = getMail()+'/'+getRequete()+'/'+expressionComplete;
    return complete;
}

global void setStrJobName(String strJobName ){
    this.strJobName = strJobName;
}
 
global String getStrJobName(){
    return strJobName;
} 

global void setMail(String mail) {
    this.mail= mail;
}

global String getMail() {
    return mail;
}

global void setRequete(String requete) {
    this.requete= requete;
}

global String getRequete() {
    return requete;
}

global void setHeure(String heure) {
    this.heure= heure;
}

global String getHeure() {
    return heure;
}

global void setMinute(String minute) {
    this.minute= minute;
}

global String getMinute() {
    return minute;
}

global void setJourMois(String jourMois) {
    this.jourMois= jourMois;
}

global String getJourMois() {
    return jourMois;
}

global void setMois(String mois) {
    this.mois= mois;
}

global String getMois() {
    return mois;
}

global void setOptionMois(String optionMois) {
    this.optionMois= optionMois;
}

global String getOptionMois() {
    return optionMois;
}

global void setOptionNumSemaine(String optionNumSemaine) {
    this.optionNumSemaine= optionNumSemaine;
}

global String getOptionNumSemaine() {
    return optionNumSemaine;
}

global void setOptionJourSemaine(String optionJourSemaine) {
    this.optionJourSemaine= optionJourSemaine;
}

global String getOptionJourSemaine() {
    return optionJourSemaine;
}

global void setJourSemaine(String jourSemaine) {
        this.jourSemaine= jourSemaine;
}

global String getJourSemaine() {
    return jourSemaine;
}

global void setReplaceFinal(String replaceFinal) {
    this.replaceFinal= replaceFinal;
}

global String getReplaceFinal() {
    return replaceFinal;
}

global void setOptionSemJourSemaine(String optionSemJourSemaine) {
    this.optionSemJourSemaine= optionSemJourSemaine;
}

global String getOptionSemJourSemaine() {
    
    return optionSemJourSemaine;
}


global void schedulejob(){
        checkListOptionHeure();
        checkListOptionMinute();
        checkListOptionMois();
        checkListOptionJourMois();
        checkListOptionNumSemaine();
        checkListOptionJourSemaine();
        checkListOptionSemJourSemaine();
                
        String email = getMail();
        String req = getRequete();
        String heu = getHeure();
        String min = getMinute();
        String jMois = getJourMois();
        String leMois = getOptionMois();
        String jSemaine = getJourSemaine();
        
        //WEEK
        String jSemaineSema = getOptionSemJourSemaine();
              
        //MONTH
        String jSem = getOptionJourSemaine();
        String nSem= getOptionNumSemaine();
        String jSemaineConstruction = jSem+nSem;
       
        if (jMois == null){jMois='?';}
        if (jSem != null && nSem != null){jSemaine = jSemaineConstruction;}   
             
        String NomJobSchedulable = nomJob;

        BBBB p = new BBBB(email , req, heu, min, jMois, leMois,jSemaine);     
        
        String traiterSemaine = jSemaine.replace('[', '').replace(']', '').replace(' ','');
        String expression = '00'+' '+min+' '+heu+' '+jMois+' '+leMois+' '+traiterSemaine;      
        expressionComplete = expression.replace(' ', '/');
        getInfos = completeString();
        
        List<GetJobValue__c> existing = [SELECT Id From GetJobValue__c where nomJob__c =:NomJobSchedulable];
        delete existing;
        
        jobInfo = new GetJobValue__c (nomJob__c =NomJobSchedulable , Mail__c = email , Requete__c=req, Heure__c=heu, Minute__c=min, jourMois__c=jMois, mois__c=leMois, jourSemaine__c=jSemaine);
        insert jobInfo;

        system.schedule(NomJobSchedulable , expression, p);
}

//DONT WORK
public PageReference modifier(){

if(!String.isBlank(strJobName))
{
    recupererInfosJob = new List<GetJobValue__c>();
    recupererInfosJob = [SELECT  nomJob__c FROM GetJobValue__c where nomJob__c =: strJobName];

    for(GetJobValue__c a: recupererInfosJob){
       string recordString = a.nomJob__c;
       garderJobInfo = recordString;

    }
}
else
{
system.debug('NOT Job Name');
}

setMail( garderJobInfo);
mail = getMail();

PageReference pageRef= new PageReference('/apex/BBBBPage2');
pageRef.setRedirect(true);        
return pageRef;

}

//WORK
public void deleteJob() {

if(!String.isBlank(strJobName))
{
    idJobDel= new List<CronTrigger>();
    idJobDel= [SELECT  Id FROM CronTrigger where CronJobDetail.Name =: strJobName];
    System.abortJob(idJobDel[0].id);
}
else
{
system.debug('NOT Job Name');
}
   }
   

public void newPublier(){
		........
  }
  

  public void checkListOptionHeure(){
        if(heure == '00'){setHeure(heure);}
        if(heure == '01'){setHeure(heure);}
        if(heure == '02'){setHeure(heure);}
        if(heure == '03'){setHeure(heure);}
        if(heure == '04'){setHeure(heure);}
        if(heure == '05'){setHeure(heure);}
        if(heure == '06'){setHeure(heure);}
        if(heure == '07'){setHeure(heure);}
        if(heure == '08'){setHeure(heure);}
        if(heure == '09'){setHeure(heure);}
        if(heure == '10'){setHeure(heure);}
        if(heure == '11'){setHeure(heure);}
        if(heure == '12'){setHeure(heure);}
        if(heure == '13'){setHeure(heure);}
        if(heure == '14'){setHeure(heure);}
        if(heure == '15'){setHeure(heure);}
        if(heure == '16'){setHeure(heure);}
        if(heure == '17'){setHeure(heure);}
        if(heure == '18'){setHeure(heure);}
        if(heure == '19'){setHeure(heure);}
        if(heure == '20'){setHeure(heure);}
        if(heure == '21'){setHeure(heure);}
        if(heure == '22'){setHeure(heure);}
        if(heure == '23'){setHeure(heure);}
}

public void checkListOptionMinute(){
        if(minute == '00'){setMinute(minute);}
        if(minute == '10'){setMinute(minute);}
        if(minute == '20'){setMinute(minute);}
        if(minute == '30'){setMinute(minute);}
        if(minute == '40'){setMinute(minute);}
        if(minute == '50'){setMinute(minute);}
}

public void checkListOptionJourMois(){
        if(jourMois == ''){setJourMois(jourMois);}
        if(jourMois == '00'){setJourMois(jourMois);}
        if(jourMois == '01'){setJourMois(jourMois);}
        if(jourMois == '02'){setJourMois(jourMois);}
        if(jourMois == '03'){setJourMois(jourMois);}
        if(jourMois == '04'){setJourMois(jourMois);}
        if(jourMois == '05'){setJourMois(jourMois);}
        if(jourMois == '06'){setJourMois(jourMois);}
        if(jourMois == '07'){setJourMois(jourMois);}
        if(jourMois == '08'){setJourMois(jourMois);}
        if(jourMois == '09'){setJourMois(jourMois);}
        if(jourMois == '10'){setJourMois(jourMois);}
        if(jourMois == '11'){setJourMois(jourMois);}
        if(jourMois == '12'){setJourMois(jourMois);}
        if(jourMois == '13'){setJourMois(jourMois);}
        if(jourMois == '14'){setJourMois(jourMois);}
        if(jourMois == '15'){setJourMois(jourMois);}
        if(jourMois == '16'){setJourMois(jourMois);}
        if(jourMois == '17'){setJourMois(jourMois);}
        if(jourMois == '18'){setJourMois(jourMois);}
        if(jourMois == '19'){setJourMois(jourMois);}
        if(jourMois == '20'){setJourMois(jourMois);}
        if(jourMois == '21'){setJourMois(jourMois);}
        if(jourMois == '22'){setJourMois(jourMois);}
        if(jourMois == '23'){setJourMois(jourMois);}
        if(jourMois == '24'){setJourMois(jourMois);}
        if(jourMois == '25'){setJourMois(jourMois);}
        if(jourMois == '26'){setJourMois(jourMois);}
        if(jourMois == '27'){setJourMois(jourMois);}
        if(jourMois == '28'){setJourMois(jourMois);}
        if(jourMois == '29'){setJourMois(jourMois);}
        if(jourMois == '30'){setJourMois(jourMois);}
        if(jourMois == '31'){setJourMois(jourMois);}     
}


public void checkListOptionNumSemaine(){
        if(moisFreq == 'Premier'){optionNumSemaine = '#1';}
        if(moisFreq == 'Seconde'){optionNumSemaine = '#2';}
        if(moisFreq == 'Troisieme'){optionNumSemaine = '#3';}
        if(moisFreq == 'Quatrieme'){optionNumSemaine = '#4';}
        if(moisFreq == 'Derniere'){optionNumSemaine = 'L';}
}

public void checkListOptionJourSemaine(){
        if(moisFreqSem == 'Dimanche'){optionJourSemaine = '1';}
        if(moisFreqSem == 'Lundi'){optionJourSemaine = '2';}
        if(moisFreqSem == 'Mardi'){optionJourSemaine = '3';}
        if(moisFreqSem == 'Mercredi'){optionJourSemaine = '4';}
        if(moisFreqSem == 'Jeudi'){optionJourSemaine = '5';}
        if(moisFreqSem == 'Vendredi'){optionJourSemaine = '6';}
        if(moisFreqSem == 'Samedi'){optionJourSemaine = '7';}
}


public void checkListOptionSemJourSemaine(){
        if(jourSemaine == 'Dimanche'){optionSemJourSemaine = '1';}
        if(jourSemaine == 'Lundi'){optionSemJourSemaine = '2';}
        if(jourSemaine == 'Mardi'){optionSemJourSemaine = '3';}
        if(jourSemaine == 'Mercredi'){optionSemJourSemaine = '4';}
        if(jourSemaine == 'Jeudi'){optionSemJourSemaine = '5';}
        if(jourSemaine == 'Vendredi'){optionSemJourSemaine = '6';}
        if(jourSemaine == 'Samedi'){optionSemJourSemaine = '7';}
}

    public void checkListOptionMois(){
        if(mois == 'Janvier'){optionMois ='JAN';}
        if(mois == 'Fevrier'){optionMois ='FEB';}
        if(mois == 'Mars'){optionMois ='MAR';}
        if(mois == 'Avril'){optionMois ='APR';}
        if(mois == 'Mai'){optionMois ='MAY';}
        if(mois == 'Juin'){optionMois ='JUN';}
        if(mois == 'Juillet'){optionMois ='JUL';}
        if(mois == 'Aout'){optionMois ='AUG';}
        if(mois == 'Septembre'){optionMois ='SEP';}
        if(mois == 'Octobre'){optionMois ='OCT';}
        if(mois == 'Novembre'){optionMois ='NOV';}
        if(mois == 'Decembre'){optionMois ='DEC';}
        if(mois == 'Tous'){optionMois ='*';}
}


public PageReference PageCreer() {
    return Page.BBBBPage2;
}


public boolean enabledMois{get;set;}
public boolean enabledSemaine{get;set;}
public boolean enabledMoisPartie2{get;set;}
public String blah{get;set;} 

public void enableMois(){
enabledMois = false;
enabledMoisPartie2 = true;
jourSemaine='?';
enabledSemaine = true;
} 

public void enableMoisPartie2(){
enabledMoisPartie2 = false;
enabledMois = true;
jourMois='?';
enabledSemaine = true;
}

public void enableSemaine(){
enabledSemaine = false;
enabledMois=true;
enabledMoisPartie2=true;
jourMois='?';
} 
    
}
PAGE 01:

<apex:page standardController="CronTrigger" extensions="BBBB" language="pt_BR">
<link rel="ic" type="image/png" href="http://www.voca.com/bull.png"/>

<style type="text/css">
        .classeHoraire { width: 60px; }
        .classeBig { width: 600px; }
        .imageCenter {display: block; margin-left: auto; margin-right: auto;}
</style>
    
<script>
function refreshPage(){
    location.reload(0);
    return false;
}
</script>

<script> function confirmation() { confirm('Vous voulez vraiment supprimer cette tâche?'); } </script> 

  <apex:form id="formPage" >
  <c:sectionHeader iconsrc="http://voc.com/sites/default/files/bulle.png" title="Vocc" subtitle="Planifier une Tâche"/>
  
  <apex:PageBlock id="pageRefresh">
    <apex:image id="theImage" styleClass="imageCenter" value="http://www.voc.com/sites/all/logo.png" />
    <br /><br />  
   
    <br /><br /> 
     Les tâches crées :
     <br /><br />
          <apex:actionfunction name="callDeleteJob" action="{!deleteJob}" rerender="panelRefresh" oncomplete="refreshPage();">
            <apex:param value="" name="ParamNom" assignTo="{!strJobName}" />
          </apex:actionFunction>
          
          <apex:actionfunction name="callModify" action="{!modifier}" rerender="panelRefresh">
            <apex:param value="" name="ParamModify" assignTo="{!strJobName}" />
          </apex:actionFunction>
          
          <apex:outputPanel id="panelRefresh"></apex:OutputPanel>
          <apex:pageBlockTable value="{!jobRecords}" var="ac" id="pbBlockTable">
              <apex:column headervalue="Nom de la Tâche" value="{!ac.CronJobDetail.Name}"/>
                <apex:column headervalue="Date Creation" value="{!ac.CreatedDate}"/>
                <apex:column headervalue="Status" value="{!ac.State}"/>
                <apex:column headervalue="Dernière Execution" value="{!ac.PreviousFireTime}"/>
                <apex:column headervalue="Prochaine Execution" value="{!ac.NextFireTime}"/>
                <apex:column headervalue="Expression" value="{!ac.CronExpression}"/>
                
                <apex:column >
                    <apex:commandButton value="X" onClick="callDeleteJob('{!ac.CronJobDetail.Name}'); return false;" />
                </apex:column>
                
                 <apex:column >
                    <apex:commandButton value="M" onClick="callModify('{!ac.CronJobDetail.Name}'); return false;"/>
                </apex:column>
                  
              </apex:pageBlockTable>
                
     <br/><br/>
    <apex:commandButton value="Créer une Tâche" action="{!PageCreer}"/> <br/>
    <apex:outputLink value="{!$Page.BBBBPage2}">Créer une Tâche</apex:outputLink>
     <br/><br/>
     
      
    <br/><br/>
                
  </apex:PageBlock>
  </apex:form>
</apex:page>

PAGE 02:

<apex:page standardController="CronTrigger" extensions="BBBB" language="pt_BR">
<link rel="ic" type="image/png" href="http://www.voca.com/bull.png"/>

<style type="text/css">
        .classeHoraire { width: 60px; }
        .classeBig { width: 600px; }
        .imageCenter {display: block; margin-left: auto; margin-right: auto;}
</style>
    
<script>
function refreshPage(){
    location.reload(0);
    return false;
}

</script>

  <apex:form id="theform">
  <c:sectionHeader iconsrc="http://voc.com/sites/default/files/bulle.png" title="Planifier" subtitle="Planifier une Tâche"/>
  
  <apex:PageBlock >
    <apex:image id="theImage" styleClass="imageCenter" value="http://www.voc.com/sites/all/logo.png" />
    <br /><br />  
    Frequence du Job: &nbsp;
    <apex:commandButton value="Semaine" action="{!enableSemaine}" rerender="theform"/>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <apex:commandButton value="Mois" action="{!enableMois}" rerender="theform" />
    
 <br/><br/>
 <apex:pageBlockSection columns="2">
    <apex:outputPanel >
        <apex:selectList size="7" value="{!jourSemaine}" disabled="{!enabledSemaine}" multiselect="true">
                 <apex:selectOption itemValue="MON" itemLabel="Lundi" />
                 <apex:selectOption itemValue="TUE" itemLabel="Mardi" />
                 <apex:selectOption itemValue="WED" itemLabel="Mercredi" />
                 <apex:selectOption itemValue="THU" itemLabel="Jeudi" />
                 <apex:selectOption itemValue="FRI" itemLabel="Vendredi" />
                 <apex:selectOption itemValue="SAT" itemLabel="Samedi" />
                 <apex:selectOption itemValue="SUN" itemLabel="Dimanche" />
    </apex:selectList>
    </apex:outputPanel>
    
    <apex:outputPanel >
    Jour du Mois Souhaité: 
     <!--apex:inputText value="{!jourMois}" disabled="{!enabled}"/><br /> -->
       
        <apex:selectList size="1" value="{!jourMois}" disabled="{!enabledMois}">
                 <apex:selectOption itemValue="" itemLabel=""/>
                 <apex:selectOption itemValue="00" itemLabel="00"/>
                 <apex:selectOption itemValue="01" itemLabel="01"/>
                 <apex:selectOption itemValue="02" itemLabel="02"/>
                 <apex:selectOption itemValue="03" itemLabel="03"/>
                 <apex:selectOption itemValue="04" itemLabel="04"/>
                 <apex:selectOption itemValue="05" itemLabel="05"/>
                 <apex:selectOption itemValue="06" itemLabel="06"/>
                 <apex:selectOption itemValue="07" itemLabel="07"/>
                 <apex:selectOption itemValue="08" itemLabel="08"/>
                 <apex:selectOption itemValue="09" itemLabel="09"/>
                 <apex:selectOption itemValue="10" itemLabel="10"/>
                 <apex:selectOption itemValue="11" itemLabel="11"/>
                 <apex:selectOption itemValue="12" itemLabel="12"/>
                 <apex:selectOption itemValue="13" itemLabel="13"/>
                 <apex:selectOption itemValue="14" itemLabel="14"/>
                 <apex:selectOption itemValue="15" itemLabel="15"/>
                 <apex:selectOption itemValue="16" itemLabel="16"/>
                 <apex:selectOption itemValue="17" itemLabel="17"/>
                 <apex:selectOption itemValue="18" itemLabel="18"/>
                 <apex:selectOption itemValue="19" itemLabel="19"/>
                 <apex:selectOption itemValue="20" itemLabel="20"/>
                 <apex:selectOption itemValue="21" itemLabel="21"/>
                 <apex:selectOption itemValue="22" itemLabel="22"/>
                 <apex:selectOption itemValue="23" itemLabel="23"/>
                 <apex:selectOption itemValue="24" itemLabel="24"/>
                 <apex:selectOption itemValue="25" itemLabel="25"/>
                 <apex:selectOption itemValue="26" itemLabel="26"/>
                 <apex:selectOption itemValue="27" itemLabel="27"/>
                 <apex:selectOption itemValue="28" itemLabel="28"/>
                 <apex:selectOption itemValue="29" itemLabel="29"/>
                 <apex:selectOption itemValue="30" itemLabel="30"/>
                 <apex:selectOption itemValue="31" itemLabel="31"/>
    </apex:selectList>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <br/> <br/> 
   <apex:commandButton value="OU" action="{!enableMoisPartie2}" rerender="theform" />
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     <br/> <br/> 
    
    Frequence Mois: 
    <apex:selectList size="1" value="{!moisFreq}" disabled="{!enabledMoisPartie2}">
                 <apex:selectOption itemValue="Premier" itemLabel="Premier"/>
                 <apex:selectOption itemValue="Seconde" itemLabel="Seconde"/>
                 <apex:selectOption itemValue="Troisieme" itemLabel="Troisieme"/>
                 <apex:selectOption itemValue="Quatrieme" itemLabel="Quatrieme"/>
                 <apex:selectOption itemValue="Derniere" itemLabel="Derniere"/>
    </apex:selectList>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    
    <apex:selectList size="1" value="{!moisFreqSem}" disabled="{!enabledMoisPartie2}">
                 <apex:selectOption itemValue="Lundi" itemLabel="Lundi"/>
                 <apex:selectOption itemValue="Mardi" itemLabel="Mardi"/>
                 <apex:selectOption itemValue="Mercredi" itemLabel="Mercredi"/>
                 <apex:selectOption itemValue="Jeudi" itemLabel="Jeudi"/>
                 <apex:selectOption itemValue="Vendredi" itemLabel="Vendredi"/>
                 <apex:selectOption itemValue="Samedi" itemLabel="Samedi"/>
                 <apex:selectOption itemValue="Dimanche" itemLabel="Dimanche"/>
    </apex:selectList>
    </apex:outputPanel>
        
    </apex:pageBlockSection>
     <br /><br />
     Mois...........:&nbsp; 
    <!--apex:inputText value="{!mois}" /> -->  
        <apex:selectList size="1" value="{!mois}">
                 <apex:selectOption itemValue="Tous" itemLabel="Tous"/>
                 <apex:selectOption itemValue="Janvier" itemLabel="Janvier"/>
                 <apex:selectOption itemValue="Fevrier" itemLabel="Fevrier"/>
                 <apex:selectOption itemValue="Mars" itemLabel="Mars"/>
                 <apex:selectOption itemValue="Avril" itemLabel="Avril"/>
                 <apex:selectOption itemValue="Mai" itemLabel="Mai"/>
                 <apex:selectOption itemValue="Juin" itemLabel="Juin"/>
                 <apex:selectOption itemValue="Juillet" itemLabel="Juillet"/>
                 <apex:selectOption itemValue="Aout" itemLabel="Aout"/>
                 <apex:selectOption itemValue="Septembre" itemLabel="Septembre"/>
                 <apex:selectOption itemValue="Octobre" itemLabel="Octobre"/>
                 <apex:selectOption itemValue="Novembre" itemLabel="Novembre"/>
                 <apex:selectOption itemValue="Decembre" itemLabel="Decembre"/>
    </apex:selectList>
   
    
    <br /><br /> 
  

    <br /><br /> <br />
    Mail..........:&nbsp;<apex:inputText styleClass="classeBig" value="{!mail}"/><br /><br />
    Requête..:&nbsp;<apex:inputText styleClass="classeBig" value="{!requete}"/><br /><br />
    Nom Job.:&nbsp;<apex:inputText value="{!nomJob}"/><br /><br />
        
    Horaire.....:&nbsp;
    <apex:selectList size="1" value="{!heure}">
                 <apex:selectOption itemValue="00" itemLabel="00"/>
                 <apex:selectOption itemValue="01" itemLabel="01"/>
                 <apex:selectOption itemValue="02" itemLabel="02"/>
                 <apex:selectOption itemValue="03" itemLabel="03"/>
                 <apex:selectOption itemValue="04" itemLabel="04"/>
                 <apex:selectOption itemValue="05" itemLabel="05"/>
                 <apex:selectOption itemValue="06" itemLabel="06"/>
                 <apex:selectOption itemValue="07" itemLabel="07"/>
                 <apex:selectOption itemValue="08" itemLabel="08"/>
                 <apex:selectOption itemValue="09" itemLabel="09"/>
                 <apex:selectOption itemValue="10" itemLabel="10"/>
                 <apex:selectOption itemValue="11" itemLabel="11"/>
                 <apex:selectOption itemValue="12" itemLabel="12"/>
                 <apex:selectOption itemValue="13" itemLabel="13"/>
                 <apex:selectOption itemValue="14" itemLabel="14"/>
                 <apex:selectOption itemValue="15" itemLabel="15"/>
                 <apex:selectOption itemValue="16" itemLabel="16"/>
                 <apex:selectOption itemValue="17" itemLabel="17"/>
                 <apex:selectOption itemValue="18" itemLabel="18"/>
                 <apex:selectOption itemValue="19" itemLabel="19"/>
                 <apex:selectOption itemValue="20" itemLabel="20"/>
                 <apex:selectOption itemValue="21" itemLabel="21"/>
                 <apex:selectOption itemValue="22" itemLabel="22"/>
                 <apex:selectOption itemValue="23" itemLabel="23"/>
    </apex:selectList>
    :
    &nbsp;<apex:selectList size="1" value="{!minute}">
                 <apex:selectOption itemValue="00" itemLabel="00"/>
                 <apex:selectOption itemValue="10" itemLabel="10"/>
                 <apex:selectOption itemValue="20" itemLabel="20"/>
                 <apex:selectOption itemValue="30" itemLabel="30"/>
                 <apex:selectOption itemValue="40" itemLabel="40"/>
                 <apex:selectOption itemValue="50" itemLabel="50"/>
    </apex:selectList>
    
    <br /><br />
    <!--Jours Mois:&nbsp; apex:inputText value="{!jourMois}" /> OU -->
    <!--Jours Semaine:&nbsp; apex:inputText value="{!jourSemaine}" /> -->
    <br /><br />
    

    
    <apex:commandButton value="Créer la Tâche" action="{!schedulejob}" oncomplete="refreshPage();"/>
    <br /><br /> <br/>
    
     <apex:outputLink value="{!$Page.BBBBPage}">Reculer d'une page</apex:outputLink>    
            
  </apex:PageBlock>
  </apex:form>
</apex:page>



Leonardo AlvesLeonardo Alves
Hi Vanessa,

Can you try the following?
global String mail{get{
mail = 'marie@gmail.com';
return mail;
}
set;
}
global String name{get
{
name = 'MARIE';
return name;
}
set;}

mail='marie@gmail.com'





vanessa veronvanessa veron
Thank you ...

But the email is not fixed ...
The user is who will inform the Visualforce page.