[jboss-cvs] jboss-seam/examples/quartz/view ...

Michael Yuan michael.yuan at jboss.com
Mon Jul 30 15:10:39 EDT 2007


  User: myuan   
  Date: 07/07/30 15:10:39

  Modified:    examples/quartz/view  search.xhtml
  Log:
  Add a NthBusinessDay example in examples/quartz
  
  Revision  Changes    Path
  1.5       +15 -1     jboss-seam/examples/quartz/view/search.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: search.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/quartz/view/search.xhtml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- search.xhtml	24 Jul 2007 00:29:23 -0000	1.4
  +++ search.xhtml	30 Jul 2007 19:10:39 -0000	1.5
  @@ -146,7 +146,7 @@
                                    action="#{paymentHome.saveAndScheduleCron}" />
                   </p>
   
  -                <p>Frequency: 
  +                <p>Fixed frequency: 
                   <h:selectOneRadio id="radioList" 
                                     layout="lineDirection"
                                     value="#{newPayment.paymentFrequency}">
  @@ -163,6 +163,20 @@
                   <h:commandButton value="Schedule at Fixed Interval" 
                                    action="#{paymentHome.saveAndSchedule}" />
                   </p>
  +                
  +                <p>Nth business day:
  +                Run on the <h:inputText id="paymentNth" value="#{newPayment.paymentNthBusinessDay.n}"/>th business day (excludes weekends and US federal holidays) at <h:inputText id="paymentNthFireTime" value="#{newPayment.paymentNthBusinessDay.fireAtTime}"/><br/>
  +                <h:selectOneRadio id="radioList2" 
  +                                  layout="lineDirection"
  +                                  value="#{newPayment.paymentNthBusinessDay.interval}">
  +                  <s:convertEnum />
  +                  <s:enumItem enumValue="WEEKLY"       label="Every Week" />
  +                  <s:enumItem enumValue="MONTHLY"       label="Every Month" />
  +                  <s:enumItem enumValue="YEARLY"       label="Every Year" />
  +                </h:selectOneRadio><br/>
  +                <h:commandButton value="Schedule at Nth Business Day" 
  +                                 action="#{paymentHome.saveAndScheduleNthBusinessDay}" />
  +                </p>
               </h:form>
           </f:subview>
   
  
  
  



More information about the jboss-cvs-commits mailing list