Method de.aeits.tapestryweb.pages.Index.onActionFromStart() references component id 'Start' which does not exist.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Method de.aeits.tapestryweb.pages.Index.onActionFromStart() references component id 'Start' which does not exist.

Andreas Ernst
Hi,

i just start with Tapestry:

http://tapestry.apache.org/implementing-the-hi-lo-guessing-game.html


package de.aeits.tapestryweb.pages;

import java.util.Date;
import org.apache.tapestry5.annotations.*;
import org.apache.tapestry5.ioc.annotations.*;
import org.apache.tapestry5.corelib.components.*;
import org.apache.tapestry5.SymbolConstants;
import org.apache.tapestry5.alerts.AlertManager;

/**
  * Start page of application TapestryWeb.
  */
public class Index {

   [...]

   void onActionFromStart() {
   }
}

After adding the method onActionFromStart() i got this error:

An unexpected application exception has occurred.

Method de.aeits.tapestryweb.pages.Index.onActionFromStart() references
component id 'Start' which does not exist.

--
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003
[hidden email] | www.ae-online.de
www.tachyon-online.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Method de.aeits.tapestryweb.pages.Index.onActionFromStart() references component id 'Start' which does not exist.

Eugen
Hi,
post Your Index.tml file,
do You have something like
<p>
  <t:actionlink t:id="start">start guessing</t:actionlink>
</p>
in Your page?

2013/10/8 Andreas Ernst <[hidden email]>:

> Hi,
>
> i just start with Tapestry:
>
> http://tapestry.apache.org/implementing-the-hi-lo-guessing-game.html
>
>
> package de.aeits.tapestryweb.pages;
>
> import java.util.Date;
> import org.apache.tapestry5.annotations.*;
> import org.apache.tapestry5.ioc.annotations.*;
> import org.apache.tapestry5.corelib.components.*;
> import org.apache.tapestry5.SymbolConstants;
> import org.apache.tapestry5.alerts.AlertManager;
>
> /**
>  * Start page of application TapestryWeb.
>  */
> public class Index {
>
>   [...]
>
>   void onActionFromStart() {
>   }
> }
>
> After adding the method onActionFromStart() i got this error:
>
> An unexpected application exception has occurred.
>
> Method de.aeits.tapestryweb.pages.Index.onActionFromStart() references
> component id 'Start' which does not exist.
>
> --
> ae | Andreas Ernst | IT Spektrum
> Postfach 5, 65612 Beselich
> Schupbacher Str. 32, 65614 Beselich, Germany
> Tel: +49-6484-91002 Fax: +49-6484-91003
> [hidden email] | www.ae-online.de
> www.tachyon-online.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Method de.aeits.tapestryweb.pages.Index.onActionFromStart() references component id 'Start' which does not exist.

Andreas Ernst
Am 08.10.13 15:19, schrieb Eugen:
> Hi,
> post Your Index.tml file,
> do You have something like
> <p>
>    <t:actionlink t:id="start">start guessing</t:actionlink>
> </p>
> in Your page?

Thanks, i just saw, that this might be missing.

--
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003
[hidden email] | www.ae-online.de
www.tachyon-online.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]