No getter method for property setCurrentDate of bean CalendarFactory

"anim-favor <[email protected]>" <[email protected]> Tue, 17 Dec 2002 21:25:42 -0000
Newsgroups gmane.comp.web.mvc.devel
Message-ID <[email protected]>
I have a problem with "No getter method for property setCurrentDate 
of bean CalendarFactory" after I add the "jsp:userBean", how can I 
set the property from setCurrentDate for the bean CalendarFactory?
The Jsp code is below:

Thank you.





<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<jsp:useBean id="CalendarFactory" class="CalendarFactory" />>
<html:html locale="false">
<head>
<title>Calendar Window Contents</title>
</head>
<body bgcolor="#FFFFFF" link="#000000" vlink="#000099">
<html:errors/>
<bean:write name="CalendarFactory" property="setCurrentDate" 
filter="false"/>
<table width="100%">
  <tr>

    <td width="48%" align="left" valign="top">
      <bean:write name="CalendarFactory" property="printCal" 
filter="false"/>
    </td>

    <td width="52%" align="left" valign="top">
    <br>
      <logic:notPresent name="sfacalendarmodel" property="ltable">
 		    <font face="Arial, Helvetica, sans-serif" 
size="2"><b>No Entries For Today</b></font>
      </logic:notPresent>
      <logic:present name="sfacalendarmodel" property="ltable">
        <logic:iterate id="linktable" name="sfacalendarmodel" 
property="ltable">
          <font face="Arial, Helvetica, sans-serif" size="2">
            <b><bean:write name="linktable" property="hashs" 
filter="true"/></b>
          </font><br>
          <logic:notPresent name="linktable" property="lvector">
 		        <font face="Arial, Helvetica, sans-serif" 
size="2"><li>No Entries For Today</li></font>
          </logic:notPresent>
      	  <logic:present name="linktable" property="lvector">
            <logic:iterate id="linkvector" name="linktable" 
property="lvector">
                <li><font face="Arial, Helvetica, sans-serif" 
size="2">
		              <a href="<bean:write 
name="linkvector" property="href" filter="true"/>" target="_blank">
                  <bean:write name="linkvector" property="title" 
filter="true"/></a>
                </font></li>
            </logic:iterate>
	        </logic:present>
	        <br>
        </logic:iterate>
      </logic:present>
    </td>
  </tr>
</table>
</body>



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/NhFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/