I have the following as my hivemodule.xml:
<?xml version="1.0"?>
<module id="net.xeric.phonebook" version="1.0.0">
<contribution
configuration-id="tapestry.state.ApplicationObjects">
<state-object name="visit" scope="session">
<create-instance
class="net.xeric.phonebook.Visit" />
</state-object>
</contribution>
</module>
In Home.java I have:
@InjectState("visit")
public abstract Visit getVisit();
I'm getting an error of:
Error at context:/WEB-INF/Home.page, line 4, column 54: Method 'public
abstract net.xeric.phonebook.Visit net.xeric.phonebook.Home.getVisit()'
(declared in class net.xeric.phonebook.Home) has no implementation in
class net.xeric.phonebook.Home (or enhanced subclass $Home_9).
It sounds like the getVisit isn't being created in the subclass of
Home.java. I'm guessing that maybe it isn't loading my hivemodule.xml.
I've tried putting it in the root webapp directory in WEB-INF and in
WEB-INF/classes and WEB-INF/classes/META-INF.
Is there an easy way to tell if Tapestry is finding hivemodule.xml? Is
there another place I should place the file in order to let Tapestry
find it?
--Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]