Re: Rendering a component programmatically

2016-05-04 Thread Casey Link
Holy crap! This is exactly what I needed, and it just works. If I could suggest adding the keyword "programmatically" to those docs, as I searched extensively and didn't find it. Thanks for the incredibly fast response. Casey Link Outskirts Labs { https://outskirtslabs.com } Technology for Chan

Re: Rendering a component programmatically

2016-05-04 Thread Thiago H de Paula Figueiredo
On Wed, 04 May 2016 14:54:03 -0300, Casey Link wrote: Hi folks, Hi! This is probably a long shot, but is it possible to render a component (and its template) to DOM and eventually a String of markup? Yes! Use the PartialTemplateRenderer service: http://tapestry.apache.org/current/apidoc

Rendering a component programmatically

2016-05-04 Thread Casey Link
Hi folks, This is probably a long shot, but is it possible to render a component (and its template) to DOM and eventually a String of markup? I'm using the DataTables component from tapestry5-jquery [0] in ajax mode. For the most part it uses standard tapestry elements (BeanModel, GridDataSource,

Code coverage tools

2016-05-04 Thread Barry Books
I'm using JaCoCo to report on code coverage for test cases but my numbers seem too low. From what I can tell pages/components/mixins and services created with binder.bind are not instrumented. This makes some sense because these cases are not used as is but that does not help my numbers any. Are th