| 
set
 | 
 
| Description | The settag updates the specified property or field. | 
 
| Tag Body | JSP | 
 
| Restrictions | If the nameattribute is not specified then uses a parentbeantag to locate the bean on which to operate. One ofpropertyorfieldattributes must be used to specify what to update. Either thevalueoridattributes is used to specify the value of the property to update. | 
 
| Attributes | The tag has the following attributes: 
  
          
| Attribute | Description | Req'd? |  
 | name | Name of the datetime bean to use. | No |  
 | property | Name of the property to update. | No |  
 | field | Name of the java.util.Calendar field to update. | No |  
 | value | String value of the property to update. | No |  
 | id | Bean object value of the property to update. | No |  
            | edit 
 | Specifies the editbean that will be
applied tovalueprior to storage.
 | No 
 |  | 
 
| Properties | None. | 
 
| Example(s) |  
        <%-- set the event summary property --%><cal:event>
 <cal:set property="summary" value="new summary"/>
 </cal:event>
 
 <%-- set the datetime HOURS field --%>
 <cal:datetime>
 <cal:set field="HOURS" value="10"/>
 </cal:datetime>
 
 <%-- set the event start time to a datetime bean --%>
 <cal:datetime id="now"/>
 <cal:event>
 <cal:set property="startTime" id="now"/>
 </cal:event>
 
 
 |