Here is a sample. If you return null or void from the event in the other page then you stay on the first page. You can return any of the standard things from the event on the other page to get different redirecting behavior.
public class FirstPage { @InjectPage private OtherPage otherPage; public Link getOtherPageEvent() { return otherPage.getEventLink("hello", "one", "two", "three"); } } public class OtherPage { @Inject private ComponentResources resources; @Property private String[] strings; public Link getEventLink(String event, Object... context) { return resources.createEventLink(event, context); } public void onHello(String one, String two, String three) { strings = new String[] {one, two, three}; } public Object onStayHere() { return this; } } On Fri, Jan 21, 2011 at 2:08 AM, Markus Feindler <markus.feind...@gmx.de> wrote: > Hi, > > how to create a Component Event Link for a different page? > > This is not a suitable solution for my problem: > http://www.mail-archive.com/users@tapestry.apache.org/msg36825.html > > Best Regards > Markus > > > -- > GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit > gratis Handy-Flat! http://portal.gmx.net/de/go/dsl > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org