Re: http redirection to https port 443

2016-06-02 Thread Kalle Korhonen
No need to override BaseURLSource. You can just configure SymbolConstants.HOSTPORT_SECURE to 443. The default is 0, which means use request.serverPort. I'd say you are missing something from Jetty configuration, since you are getting that port from the request, but add a breakpoint to BaseURLSource

Re: http redirection to https port 443

2016-06-02 Thread Thiago H de Paula Figueiredo
On Thu, 02 Jun 2016 11:12:11 -0300, Qbyte Consulting wrote: Hi, Hello! Try overriding or decorating the BaseURLSource service. I've been trying to configure Jetty 9.2 to redirect http requests to https port 443. No luck so far. The app has confured web.xml to secure it. I seem to r

http redirection to https port 443

2016-06-02 Thread Qbyte Consulting
Hi, I've been trying to configure Jetty 9.2 to redirect http requests to https port 443. No luck so far. The app has confured web.xml to secure it. I seem to recall that Tapestry (using 3.6) might have some kind of module configuration for identifying ports to use? As it stands http requests ge

Re: Partial markup via block

2016-06-02 Thread Thiago H de Paula Figueiredo
On Thu, 02 Jun 2016 04:59:10 -0300, Jaroslav Ciml wrote: Hi, Hi! I'm using Tapestry 5.3. If you want to render a block or component or anything that can be coerced to a RenderCommand, Tapestry 5.4 has the PartialTemplateRenderer service: http://tapestry.apache.org/current/apidocs/org

Partial markup via block

2016-06-02 Thread Jaroslav Ciml
Hi, I'm using Tapestry 5.3. In a Tapestry component, I'm trying to implement an event handler that creates responses to AJAX requests. I know that I can call MarkupWriterFactory#newPartialMarkupWriter to get an instance of MarkupWriter and then generate the response using this MarkupWriter in