Programmatical page/component rendering

2012-01-20 Thread Guillaume Bodet
Hi all, I need to send mails from my application, and I would like to use Tapestry's templating to create the body of the mail. Is there any way to programmatically get the rendering of a page or component (in an output stream, for instance) ? Regards Guillaume

Re: Programmatical page/component rendering

2012-01-20 Thread Lenny Primak
http://tapestry.1045711.n5.nabble.com/Generating-HTML-email-content-with-Tapestry-td5075717.html On Jan 20, 2012, at 3:27 AM, Guillaume Bodet wrote: Hi all, I need to send mails from my application, and I would like to use Tapestry's templating to create the body of the mail. Is there any

Customizing the label for a T5 checklist's checkbox

2012-01-20 Thread Julien Martin
Hello, I need to customize the label for a checklist's checkbox. As of now, I have a JPA entity behind each of the checkbox and it appears that the entity's toString method is used to display the label. However, the entity is only a three way join table that only contains three integer fields.

Re: Programmatical page/component rendering

2012-01-20 Thread Markus Grell
Great idea! Which approach do you recommend if I want to sent out a mail that does not need to look like a web page but just contains plain text? I somehow feel uncomfortable to put a complete mail text into a message catalog file. Markus

Re: Programmatical page/component rendering

2012-01-20 Thread Lance Java
Since you are generating plain text, not HTML, I would probably not use tapestry templating to generate the text. Depending on how simple your email is, you may find that using the message catalog and a find-and-replace is easy enough. Otherwise, I would use freemarker, a tempting engine with

Re: Programmatical page/component rendering

2012-01-20 Thread Thiago H. de Paula Figueiredo
On Fri, 20 Jan 2012 08:47:00 -0200, Lance Java lance.j...@googlemail.com wrote: Otherwise, I would use freemarker, a tempting engine with localisation support. Another option is velocity but I find freemarker to be much better than velocity. Having experience with both, I can tell you to

Re: Customizing the label for a T5 checklist's checkbox

2012-01-20 Thread Thiago H. de Paula Figueiredo
On Fri, 20 Jan 2012 07:58:03 -0200, Julien Martin bal...@gmail.com wrote: Hello, Hi! I therefore either need for the label to be blank or to be able to customize it. This is defined by the model parameter, which is of type SelectModel. Just provide a SelectModel with OptionModels

Field predix and suffix's for required fields and currency

2012-01-20 Thread captain_rhino
I can see how the localisation of field labels are done in Tapestry... something like... input t:type=textfield t:id=confirmemail t:value=claimant.contactDetails.confirmemail label=message:email-confirmation-label/ with a properties file like email-confirmation-label=Confirmation Email but

Re: Field predix and suffix's for required fields and currency

2012-01-20 Thread Thiago H. de Paula Figueiredo
On Fri, 20 Jan 2012 10:51:28 -0200, captain_rhino graeme.kitc...@axa-travel-insurance.com wrote: I need suffix's for required fields i.e. the field name followed by a * and currency fields would need a localised currency prefix i.e. $ or £ etc. Use CSS generated content (the ::after

AjaxFormLoop RemoveRowLink add mixin

2012-01-20 Thread George Christman
Hello, I'm using the AjaxFormLoop component and I'd like to add a custom mixin to the removerowlink. When I use ClientElement to get the clientId it fails with the following exception. Component Purchase_Request:removerowlink_1 (type org.apache.tapestry5.corelib.components.RemoveRowLink) is not

Tapestry Roadshow : Gainesville, FL

2012-01-20 Thread Howard Lewis Ship
Any Tapestry users (still) in Gainesville, FL? I'm visiting relatives in the area next month, but I'm always willing to do a quick demo or meet up with Tapestry users where ever I go. Drop me a line if you are in the area and interested. -- Howard M. Lewis Ship Creator of Apache Tapestry The

Re: Zone and Eventlink refresh problem

2012-01-20 Thread Thiago H. de Paula Figueiredo
On Fri, 20 Jan 2012 19:17:29 -0200, bhorvat horvat.z.bo...@gmail.com wrote: Hi all, Hi! I have one zone and inside of it I have a zone and a eventlink that triggers the changes in the inner zone. Once the outer zone refreshes everything inside the eventlink and inner zone stop

Re: Zone and Eventlink refresh problem

2012-01-20 Thread bhorvat
Hope this is bit better. Thanks t:zone t:id=zoneAsset t:update=show t:zone t:id=zoneMediaPreview t:update=show t:delegate to=mediaLayout / t:block t:id=blockMediaImage

Re: [T5.3 beta 2] Using Tapestry-Spring-Security with 5.3?

2012-01-20 Thread David Rees
On Wed, Jan 11, 2012 at 4:44 AM, antalk ant...@intercommit.nl wrote: I'm in the process of upgrading our webapps to Tap 5.3.x and we use this library for our authentication process. I'm happy to announce that i've updated the 3.0.0 trunk of tapestry-spring-security to work with Tapestry 5.3.x.

Re: Problem running BeanEditForm example

2012-01-20 Thread Bob Harner
A lot of people make the same mistake, so if you find a spot in the documentation where you think this point needs to be better emphasized, please just say so and somebody will quickly fix it. On Thu, Jan 19, 2012 at 8:42 PM, Jonathan Youngman jyoung...@eviews-engr.com wrote: !!That did it. Many