Using Struts 1 nested:text tag and having problems....
I recieved Object doesn't support this method....Text below in bold red is where it seems to have an issue
//From my jsp...
- <link rel="stylesheet" type="text/css" media="screen" href="<%= request.getContextPath() %>/LL_S/scripts/datePicker.css">
<
script src="<%= request.getContextPath() %>/LL_S/scripts/jquery-1.3.2.js" type="text/javascript" ></script> <
script src="<%= request.getContextPath() %>/LL_S/scripts/jquery.datePicker.js" type="text/javascript" ></script> <
script type="text/javascript" src="<%= request.getContextPath() %>/LL_S/scripts/date.js"></script> <
script type="text/javascript"> Date
.firstDayOfWeek = 0; Date
.format = 'mm/dd/yyyy'; $
(window).ready(function() { $
('.date-pick').datepicker({clickInput:true,startDate:'01/01/1910'}); }); <%@
include file="../LL_S/scripts/commonValidation.js" %>
</
script>
-
//Further down on same jsp....
//Relevant section of page...
<td align="center"> <nested:text property="dateOfBirth" styleClass="date-pick" size ="15" readonly="true" maxlength="30" style="width: 80px;"/>
</td>
I've tested with Fiddler to make sure that my .js files can be located and there's no issue there.
I have ValueObjects that are put in an ArrayList (All the same). dateOfBirth is part of that ValueObject.
I have been at this for two days....