title: primefaces schedule with parameter in jsf
body: <p>Hello I am here to ask  your help following a  difficult i meet in my project .Your different point of vue are welcome.
  I am using primefaces Schedule to perform a given task but I don't know how
  I can pass a parameter to my backing bean.I would like to use this parameter in backing bean when a schedule event triggered like SelectEvent or dateSelect . For example if I have a parameter <strong>personeID</strong> I would pass this 
  parameter to the bean so that when actionListener will activate this 
  setting can be initialized in the bean so that I can use.
  that my code</p>
  
  <pre><code>&lt;p:schedule id="schedule" value="#{inscrireAgendaBean.eventModel}" widgetVar="myschedule"  process="@form" axisFormat="HH:mm"  columnFormat="dddd D/MM" firstHour="08" locale="fr" timeZone="GMT+1"  timeFormat="HH:mm"&gt;
  
    &lt;p:ajax event="dateSelect" listener="#{inscrireAgendaBean.onDateSelect}" update="eventDetails" oncomplete="PF('eventDialog').show();" /&gt;
  
    &lt;p:ajax event="eventSelect" listener="#{inscrireAgendaBean.onEventSelect}" update="eventDetails" oncomplete="PF('eventDialog').show();" /&gt;
  
   &lt;/p:schedule&gt;
  </code></pre>
  
  <p>I just want to know if there is a possibility to add a parameter to my bean  when eventSelect or dateSelect triggered
  Thank you !!!</p>