found my mistake .... the name of my home page is "start" and not "home"
... force of habit

g
kris




Kristian Marinkovic <[EMAIL PROTECTED]> 
18.04.2007 11:14
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>


An
users@tapestry.apache.org
Kopie

Thema
T5: StackMapTable format error: bad class index






hi all,

i get the above error message when i link from my home
page to another page with exactly one component. i have 
no clue what's missing... (i'm using the latest classes from 
SVN)

g,
kris


Home Page:
public class Start {
   @InjectPage("guess")
   private Guess guessPage;

   public Object onAction() {
       return guessPage;
   } 
}


Target Page:
public class Guess {
    @Component(parameters={"page=home"},id="startPage") 
    private PageLink startPage;

    public PageLink getStartPage() {
        return startPage;
    }
}

target template:
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
    <head>
        <title>Guess</title>
    </head>
    <body>
        <div style="position:absolute;left:200px;top:50px;"> 
                        <a href="#" t:id="startPage">Go back ...</a>

Reply via email to