To anyone who can help,
(Using TDK2.2 WinXP MySql Ant1.5.1 JDK1.4.1)
I'm back once again. Beginning to look at intake to validate data, from
forms. I have un-commented the following lines in
TurbineResources.properties:
services.IntakeService.classname=org.apache.turbine.services.intake.Turb
ineIntakeService
tool.request.om=org.apache.turbine.om.OMTool
tool.request.intake=org.apache.turbine.services.intake.IntakeTool
Have created a simple intake.xml file (WEB-INF/conf) with one group and
one field with one rule.
Modified my form to use intake but when the browser displays the form it
actually displays to the user: "$intake.declareGroups()" and the name of
input filed I am using intake on is being rendered as:
name="$customerGroup.Firstname.Key"
instead of being converted to (I presume):
name="customerentry_0f"
So I guess there must be a problem initiating intake I found the
following error in the log:
2003-02-28 21:40:07,455 - RHS of #set statement is null. Context will
not be modified. screens/InsertCustomerIntake.vm [line 33, column 5]
2003-02-28 21:40:07,485 -
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = screens/InsertCustomerIntake.vm [line 1,column 1] :
$customerGroup.Firstname.Key is not a valid reference.
2003-02-28 21:40:07,485 -
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = screens/InsertCustomerIntake.vm [line 44,column 25] :
$customerGroup.Firstname.Message is not a valid reference.
2003-02-28 21:40:07,515 -
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = screens/InsertCustomerIntake.vm [line 73,column 5]
Have looked through various past discussions and a few talk about a
"*.ser" file but I do not appear to have any in my webapp. The following
line of code also appeared in a discussion, in someone's
TurbineResources.properties file but this line of code is not in my
TurbineResources.properties:
services.IntakeService.serialize.path=WEB-INF/intake-xml.ser
Any advice would be greatly appreciated.
Regards,
Stuart Townhill.