I guess there is a bug in the PageRenderLinkSource component then or I'm missing something because it does not seem to work. My configuration is as followed, perhaps I'm missing something simple.
My local environment uses Jetty In my DevelopmentModule I have the following config. public static void contributeApplicationDefaults(MappedConfiguration<String, Object> configuration) { // The factory default is true but during the early stages of an application // overriding to false is a good idea. In addition, this is often overridden // on the command line as -Dtapestry.production-mode=false configuration.add(SymbolConstants.PRODUCTION_MODE, "false"); configuration.add(SymbolConstants.HOSTNAME, "localhost"); configuration.add(SymbolConstants.HOSTPORT, "8080"); configuration.add(SymbolConstants.HOSTPORT_SECURE, "8443"); } AppModule.class @Startup public static void initApplication(ScheduleJobs scheduleJobs) { scheduleJobs.startJobs(); } ScheduleJobsImpl.class @Inject private PageRenderLinkSource linkSource; public void startJobs() { periodicExecutor.addJob(new IntervalSchedule(3000), "Link Test", new Runnable() { @Override public void run() { System.out.println("Start Link Test"); try { Link link = linkSource.createPageRenderLink(Index.class); System.out.println(link.toAbsoluteURI()); } catch (Exception ex) { System.out.println("ex " + ex.getMessage()); } } }); } Exception ex Unable to delegate method invocation to property 'request' of <Proxy for RequestGlobals(org.apache.tapestry5.services.RequestGlobals)>, because the property is null. On Wed, Jan 21, 2015 at 6:53 AM, Thiago H de Paula Figueiredo <thiag...@gmail.com> wrote: > On Tue, 20 Jan 2015 21:13:08 -0200, George Christman > <gchrist...@cardaddy.com> wrote: > >> Thanks Thiago, but I think I'm even more confused now lol It looks >> like I confused HOSTPORT_SECURE with SECURE_ENABLED. Anyhow should I >> not be using PageRenderLinkSouce? > > > You should use it. > >> You said to take a look at >> ComponentEventLinkEncoder, > > > Because that's what PageRenderLinkSource uses, so you can better understand > what's happening. ;) > > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > -- George Christman CEO www.CarDaddy.com P.O. Box 735 Johnstown, New York --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org