Re: How to customize the grid to show three s in two rows?

2016-06-24 Thread Norman Franke
It’s not meant to, but can. I add a new column for the special row via t:add=“special” or whatever. Then define that column in the grid: Some Content Here I usually use CSS to hide that column, since you’ll end up with an empty column on the end. You can make

Re: Tapestry 4.1 Migration to Tapestry 5

2016-06-24 Thread Barry Books
You will no longer need any XML configuration for Tap5 (it's all just convention) so there is really nothing to do there. Just make sure your web.xml is correct and your pages are in the correct place. I might be able to dig up some code but there is really not very much. The service to get T4 ses

Re: obtaining markup in a page class to send in email

2016-06-24 Thread Thiago H de Paula Figueiredo
On Fri, 24 Jun 2016 09:58:45 -0300, Barry Books wrote: As far as XSLT goes I'm not sure what you mean. I do a lot of XML/XSLT and I just have a service that can do transforms. If you want to do XSLT on the Tapestry render pipeline I've thought about that but the Tapestry DOM can do mostly

RE: Tapestry 4.1 Migration to Tapestry 5

2016-06-24 Thread Mukesh Chandra
Thanks Barry Do we have any sample code for this purpose. It would help me great? With Tapestry 4.1 we have a default.library XML file that has the library specification like as follows: http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd";> Where do I store this mapping for

Re: obtaining markup in a page class to send in email

2016-06-24 Thread Barry Books
While 5.4 has the ability to render templates outside a request i think the best way to send email is to create a page that renders the HTML you want to send as email and call it like a web service. This makes development easy because it's just like building any other Tapestry page. Here is a servi

Re: Tapestry 4.1 Migration to Tapestry 5

2016-06-24 Thread Barry Books
I migrated a pretty large application from 4 to 5. It's been a while and I perhaps I don't remember all the pain but I don't recall it being that difficult. First of all Tapestry 5 is much nicer to use than 4 but shares many of the same ideas. The basic structure is the same you have pages with tem

Re: Tapestry 4.1 Migration to Tapestry 5

2016-06-24 Thread Thiago H de Paula Figueiredo
On Fri, 24 Jun 2016 00:18:04 -0300, Mukesh Chandra wrote: So they can share the session? Yes. They're in the same webapp, same context. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br