apache, tomcat, ssl and tapestry's secure anotation question

2014-05-05 Thread Zhou Yongcheng
deployed tapestry application on standalone tomcat server with ssl support, tapestry's security anotation solution is very wonderful. now i feel confused if it is necessary when i use apache as proxy server to deal with SSL. the following is my understanding. 1) tapestry's security anotation is d

QName::=(NCName':')?NCName error when tml is parsed

2014-05-05 Thread Jens Breitenstein
Hi T5 Users! I am struggling with an strange error in T5.3.7 and hopefully one of you can give me a hint how to track it down.. I wrote a "Icon" component to show bootstrap glyphicons: public class Icon { @Parameter(required = true, defaultPrefix = BindingConstants.LITERAL) @Property

RE: @CommitAfter for GenericDao

2014-05-05 Thread Tony Nelson
The problem we ran into was explicitly what I documented in my original e-mail. In our Spring based implementation all of our @Transactional annotations we in our "logic" layer, and it worked well. I started out using @CommitAfter exactly the same way, until I ran into methods like: public v

Re: @CommitAfter for GenericDao

2014-05-05 Thread John
At the risk of sounding like a fanatic... I would avoid using @CommitAfter or anything similar to do with persistence in page classes, it contravenes the OO "seperation of concerns" principle. (For the same reasons @CommitAfter should also not be in interface definitions as suggested in the Tap

5.4 Stateless AaxFormLoop

2014-05-05 Thread George Christman
Hi All, I'm trying to create a stateless ajaxformloop using 5.4 and hibernate, however I appear to be running into a few problems. Code sample below @Entity @Indexed @Table(name = "employee_profile", uniqueConstraints = @UniqueConstraint(columnNames = {"empId", "userProfileId"})) public c

RE: Value Encoder Problem

2014-05-05 Thread Thilo Tanner
Hi Marcos, Instead of using List uploadedFiles as your model, you need to provide a SelectModel instance for your uploaded files. Extend AbstractSelectModel and return OptionModel instances with your preferred label. I hope this helps. Best, Thilo Fro