http://jakarta.apache.org/tapestry/UsersGuide/state.html#state.aso

See the big red warning towards the bottom of the page.

On 11/1/05, Mark Shead <[EMAIL PROTECTED]> wrote:
> 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]
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to