hello,
I'm using Ant 1.5.1, turbine 2.2, jdk1.3 (will use 1.4 later but right now makes
intake eat itself), tomcat 4.0.x
Intake is running, I've verified it in the logs and by doing a few things in my vm to
convince myself... I am having trouble mapping my business object using intake...
the relevant parts of my intake.xml are:
<group name="ResourceGroup" key="resourceGroupKey" mapToObject="om.Resource">
<field name="Name" key="nameKey" type="String" mapToProperty="Name">
</field>
</group>
and I know that intake is recognizing what RecourceGroup by displaying
$intake.RecourceGroup.Default and it gives me some stuff like
[EMAIL PROTECTED]
so what is not mapping correctly is (the following line is surrounded by a check to
make sure $resource is not null)
#set($group = $intake.ResourceGroup.mapTo($resource))
where $resource was placed in the context like so:
Resource resource = (Resource)ResourcePeer.doSelect(criteria).get(0);
context.put("resource", resource);
So there is some concept that I have not yet grasped or looked at. For instance, is
there something in my business model that has to be done to make sure that the "Name"
in intake is correctly mapped to "Name" in the Resource object? I have made sure that
the case is the same, etc... Anyways, what I am trying to do to verify correct mapping
is simply display:
<td>$group.Name.Key</td>
which is null every time right now... Any help would be enormously appreciated, I'm
pretty sure there is just something stupid I'm not seeing here.
Thank you in advance,
Luke Majewski