I'm getting this error message and can't understand why.

org.apache.tapestry.ApplicationRuntimeException Unable to invoke method 
start on [EMAIL PROTECTED]: null 

Home.html contains only one tapestry component:

        <p><a href="#" jwcid="@DirectLink" listener="ognl:listeners.start"
><img src="images/go.gif" width="40" height="40" border="0" alt="Start"
/></a></p>

Home.page is likewise simple:

<page-specification class="demo.Home">
    <description>Get Data from File</description>
</page-specification>

Home.java contains almost nothing

public class Home extends BasePage {
        public void start(IRequestCycle cycle) {
                System.out.println("Home 1");
                Visit visit = (Visit)getVisit();
                System.out.println("Home 2");
                //visit.startReview(cycle);
 
        }
}

"Home 1" prints out to the eclipse console but "Home 2" does not, due to 
the exception.

What am I doing wrong?

Thanks,

Joe Polanik

Reply via email to