You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by pr...@apache.org on 2002/03/20 08:46:21 UTC

cvs commit: jakarta-commons-sandbox/periodicity/src/vm/test event_detail.vm evt_do.vm evt_do_jrl.vm evt_do_jrl_fb.vm no_alarm.vm

prickett    02/03/19 23:46:21

  Added:       periodicity/src/vm/test event_detail.vm evt_do.vm
                        evt_do_jrl.vm evt_do_jrl_fb.vm no_alarm.vm
  Log:
  A first cut of some velocity macro files. I am sure that they dont work yet.
  
  Revision  Changes    Path
  1.1                  jakarta-commons-sandbox/periodicity/src/vm/test/event_detail.vm
  
  Index: event_detail.vm
  ===================================================================
  <html>
     <head>
        <title>Periodicity Event Test Detail Template</title>
     </head>
     <body>
        <table>
           <tr>
              <td>${summary_label}</td>
              <td><input type="text" name="${summary_param}" 
                         value="$!{icalobj.getSummary()}"/></td>
           </tr>   
           <tr>
              <td>${start_date_label}</td>
              <td><input type="text" name="${start_date_month_param}"
                         size="2" maxlength="2" value="$!{start_month}"/> / 
                  <input type="text" name="${start_date_date_param}"
                         size="2" maxlength="2" value="$!{start_date}"/> / 
                  <input type="text" name="${start_date_year_param}"
                         size="4" maxlength="4" value="$!{start_year}"/></td>
           </tr>
           <tr>
              <td>${start_time_label}</td>
              <td><input type="text" name="${start_time_hour_param}"
                         size="2" maxlength="2" value="$!{start_hour}"/>:
                  <input type="text" name="${start_time_minute_param}" 
                         size="2" maxlength="2" value="${start_minute}"/></td>
           </tr>
           <tr>
              <td>${end_date_label}</td>
              <td><input type="text" name="${end_date_month_param}"
                         size="2" maxlength="2" value="$!{end_month}"/> / 
                  <input type="text" name="${end_date_date_param}"
                         size="2" maxlength="2" value="$!{end_date}"/> / 
                  <input type="text" name="${end_date_year_param}"
                         size="4" maxlength="4" value="$!{end_year}"/></td>
           </tr>
           <tr>
              <td>${description_label}</td>
              <td>
                 <textarea name="${description_param}" rows="20" columns="30">
                    $!{icalobj.getDesc()}
                 </textarea>
              </td>
           </tr>
           #parse("no_alarm.vm")
           #parse("evt_do_jrl_fb.vm")
           #parse("evt_do_jrl.vm")
           #parse("evt_do.vm")
           <tr>
              <td>${transparency_label}</td>
              <td><input type="text" name="${transparency_param}"
                         value="$!{icalobj.getTransparency()}"/></td>
           </tr>
        </table>
     </body>
  </html>   
  
  
  
  1.1                  jakarta-commons-sandbox/periodicity/src/vm/test/evt_do.vm
  
  Index: evt_do.vm
  ===================================================================
  <tr>
     <td>${latitude_label}</td>
     <td><input name="${latitude_param}" value="$!{latitude}"/></td>
  </tr>
  <tr>
     <td>${longitude_label}</td>
     <td><input name="${longitude_param}" value="$!{longitude}"/></td>
  </tr>
  <tr>
     <td>${location_label}</td>
     <td><input name="${location_param}" value="$!{icalobj.getLocation()}"/></td>
  </tr>
  <tr>
     <td>${location_altrep_label}</td>
     <td><input name="${location_altrep_param}" value="$!{location_altrep}"/></td>
  </tr>
  <tr>
     <td>${location_language_label}</td>
     <td><input name="${location_language_param}" 
                value="$!{location_language}"/></td>
  </tr>
  <tr>
     <td>${priority_label}</td>
     <td><input name="${priority_param}" value="$!{icalobj.getPriority()}"/></td>
  </tr>   
  
  
  
  1.1                  jakarta-commons-sandbox/periodicity/src/vm/test/evt_do_jrl.vm
  
  Index: evt_do_jrl.vm
  ===================================================================
  <tr>
     <td>${classification_label}</td>
     <td><input name="${classification_param}"
                value="$!{icalobj.getClassification()}"/></td>
  </tr>
  <tr>
     <td>${desc_altrep_label}</td>
     <td><input name="${desc_altrep_param}" 
                value="$!{desc_altrep}"/></td>
  </tr>
  <tr>
     <td>${desc_language_label}</td>
     <td><input name="${desc_language_param}"
                value="$!{desc_language}"/></td>
  </tr>
  <tr>
     <td>${recur_id_date_label}</td>
     <td><input type="text" name="${recur_id_date_month_param}"
                size="2" maxlength="2" value="$!{recur_id_month}"/> / 
         <input type="text" name="${recur_id_date_date_param}"
                size="2" maxlength="2" value="$!{recur_id_date}"/> / 
         <input type="text" name="${recur_id_date_year_param}"
                size="4" maxlength="4" value="$!{recur_id_year}"/></td>
  </tr>
  <tr>
     <td>${recur_id_time_label}</td>
     <td><input type="text" name="${recur_id_time_hour_param}"
                size="2" maxlength="2" value="$!{recur_id_hour}"/>:
         <input type="text" name="${recur_id_time_minute_param}" 
                size="2" maxlength="2" value="$!{recur_id_minute}"/></td>
  </tr>
  <tr>
     <td>${recur_id_range_label}</td>
     <td><input name="${recur_id_range_param}"
                value="$!{recur_id_range}"/></td>
  </tr>
  <tr>
     <td>${recur_id_tzid_label}</td>
     <td><input name="${recur_id_tzid_param}"
                value="$!{recur_id_tzid}"/></td>
  </tr>              
  <tr>
     <td>${sequence_label}</td>
     <td><input name="${sequence_param}" value="$!{icalobj.getSequence()}"/></td>
  </tr>
  <tr>
     <td>${status_label}</td>
     <td><input name="${status_param}" value="$!{icalobj.getStatus()}"/></td>
  </tr>
  
             
     
  
  
  
  1.1                  jakarta-commons-sandbox/periodicity/src/vm/test/evt_do_jrl_fb.vm
  
  Index: evt_do_jrl_fb.vm
  ===================================================================
  <tr>
     <td>${organizer_label}</td>
     <td><input name="${organizer_param}" 
                value="$!{icalobj.getOrganizer()}"/></td>
  </tr>
  <tr>
     <td>${organizer_common_name_label}</td>
     <td><input name="${organizer_common_name_param}" 
                value="$!{organizer_common_name}"/></td>
  </tr>
  <tr>
     <td>${organizer_directory_label}</td>
     <td><input name="${organizer_directory_param}" 
                value="$!{organizer_directory}"/></td>
  </tr>
  <tr>
     <td>${organizer_sentby_label}</td>
     <td><input name="${organizer_sentby_param}"
                value="$!{organizer_sentby}"/></td>
  </tr>
  <tr>
     <td>${organizer_language_label}</td>
     <td><input name="${organizer_language_param}"
                value="$!{organizer_language}"/></td>
  </tr>
  <tr>
     <td>${uid_label}</td>
     <td><input name="${uid_param}" value="$!{icalobj.getUID()}"/></td>
  </tr>
  <tr>
     <td>${url_label}</td>
     <td><input name="${url_param}" value=$!{icalobj.getURL()}"/></td>
  </tr>
  
  
  
  1.1                  jakarta-commons-sandbox/periodicity/src/vm/test/no_alarm.vm
  
  Index: no_alarm.vm
  ===================================================================
  <tr>
     <td>${start_tzid_label}</td>
     <td><input name="${start_tzid_param}" value="${start_tzid}"/></td>
  </tr>   
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-commons-sandbox/periodicity/src/vm/test event_detail.vm evt_do.vm evt_do_jrl.vm evt_do_jrl_fb.vm no_alarm.vm

Posted by Jeff Prickett <pr...@www1.kc.aoindustries.com>.
On Wed, 20 Mar 2002, Daniel Rall wrote:

> Christoph Reck <Ch...@dlr.de> writes:
> 
> > The extension ".vm" is historical and largely meaningless. 
> >
> > It would be good practice to call the directory "templates" instead
> > of the the first cut "vm".
> >
> > The files within could use the extension ".vtl", or if you wish,
> > leave the extensions ".vm" - which is established for velocity
> > templates (the velocity engine does not care how the files are 
> > called).
> >

Cool, I will make the change in cvs.

> > Just my EUR0.02, as a hint to get it right from beginning, and
> > not have other strange historical constructs (the "vm" directory).
> 
> Chris sums it up nicely -- templates is more appropriate and widely
> used as a directory name than vm.
> 

Thanks alot guys.

> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 

Sincerely,
Jeff Prickett


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-commons-sandbox/periodicity/src/vm/test event_detail.vm evt_do.vm evt_do_jrl.vm evt_do_jrl_fb.vm no_alarm.vm

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Christoph Reck <Ch...@dlr.de> writes:

> The extension ".vm" is historical and largely meaningless. 
>
> It would be good practice to call the directory "templates" instead
> of the the first cut "vm".
>
> The files within could use the extension ".vtl", or if you wish,
> leave the extensions ".vm" - which is established for velocity
> templates (the velocity engine does not care how the files are 
> called).
>
> Just my EUR0.02, as a hint to get it right from beginning, and
> not have other strange historical constructs (the "vm" directory).

Chris sums it up nicely -- templates is more appropriate and widely
used as a directory name than vm.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-commons-sandbox/periodicity/src/vm/test event_detail.vm evt_do.vm evt_do_jrl.vm evt_do_jrl_fb.vm no_alarm.vm

Posted by Christoph Reck <Ch...@dlr.de>.
The extension ".vm" is historical and largely meaningless. 

It would be good practice to call the directory "templates" instead
of the the first cut "vm".

The files within could use the extension ".vtl", or if you wish,
leave the extensions ".vm" - which is established for velocity
templates (the velocity engine does not care how the files are 
called).

Just my EUR0.02, as a hint to get it right from beginning, and
not have other strange historical constructs (the "vm" directory).

prickett@apache.org wrote:
> 
> prickett    02/03/19 23:46:21
> 
>   Added:       periodicity/src/vm/test event_detail.vm evt_do.vm
>                         evt_do_jrl.vm evt_do_jrl_fb.vm no_alarm.vm
>   Log:
>   A first cut of some velocity macro files. I am sure that they dont work yet.
> 
>[snip]

-- 
:) Christoph Reck

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>