Re: T5: Palette

2008-02-08 Thread Gabriel Landais
Daniel Pinheiro a écrit : How can i use palette with data from DataBase? Can someone help me? I had some troubles with JPA too. If you use one request to retrieve all elements and another one for selected elements, it will not be same instances in both case. So for each Palette, I have spe

Re: [Tapestry Wiki] Update of "Tapestry5GridComponent" by GabrielLandais

2008-02-25 Thread Gabriel Landais
Davor Hrg a écrit : nice entry.. in T5.0.11 I've failed to make this work: How to add an extra column You want to add an extra column called "details" to each line that does not have a field in the POJO: ${person.lastname} I know it can be done by modifying BeanModel, but this

.class coercion

2008-02-25 Thread Gabriel Landais
Hello, I've a bean with a Class property. I want to display the simple name, without success. First it understands well that (T5.0.10) : public static void contributeDefaultDataTypeAnalyzer(MappedConfiguration, String> configuration) { configuration.add(Class.class, "text"); }

Contribute localized messages

2008-03-03 Thread Gabriel Landais
Hi, we already use a i18n parser in our libraries (released as GPL aka lutinutil). Is there a way to contribute messages properties? Haven't fund how to yet :( Thanks Gabriel - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: Newbie Tapestry

2008-03-07 Thread Gabriel Landais
Rob Smeets a écrit : Hi, [...] Rob Don't feed the troll Gabriel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: Palette

2008-03-13 Thread Gabriel Landais
Weisu a écrit : Hi Gabriel, Could you help me on ValueEncoder? The data is return from database as a List. My palette component is like this: My class is like this: @Persist private List districts; public List getDistricts() {return districts;} public void setDistricts(List districts) {this.

Redirect on login

2008-03-14 Thread Gabriel Landais
Hi, when a user try to connect to my app, it checks if user is logged. I'm trying to redirect him to page is was trying to access, but I don't know how to do it in Tapestry way. With plain old sendRedirect of servlet response it works, but not as clean as it should. All pages inherits of this p

Re: Redirect on login

2008-03-17 Thread Gabriel Landais
Cordenier Christophe a écrit : In fact, this is a better solution if you have an activation context. So to achieve this, we still may use the "ComponentResources" class and its "createPageLink" method Christophe. Thanks all, it works great now : @ApplicationState private SimExplorerSt

Re: ApplicationState annotation problem since 5.0.11

2008-03-18 Thread Gabriel Landais
Alec Leamas a écrit : Hi! What are you really trying to do here? For me, this looks like a typo. Have you contributed an ApplicationStateObject? Then you need to refer to this. I'm pretty sure Tapestry doen't have a String ApplicationState object in place... I would expect something like @A

Re: Tapestry at my company

2008-03-18 Thread Gabriel Landais
Lance Java a écrit : For trolls such as yourself... I'd suggest you adopt struts 1 to ensure maximum pain. Plain servlets and JSPs would be even better! -- Gabriel <[EMAIL PROTECTED]> http://www.codelutin.com tel : 02 40 50 29 28 / fax : 09 59 92 29 28

Re: T5 and Eclipse 3.3.2 and Tomcat 5.5

2008-03-25 Thread Gabriel Landais
Bruce Petro a écrit : Does anyone have suggestions for running/debugging Tapestry using Tomcat 5.5 and working in Eclipse? IE: a) Should you create the eclipse project as a dynamic web project or just a java project or some sort of J2EE project? b) Does a maven-built project ma

Re: 答复: is there tapestry 5 component f or htmlarea?

2008-04-07 Thread Gabriel Landais
滕训华 a écrit : > You can find from http://code.google.com/p/tapestry5-components/ ,but I can > not find the document this,so I don't know how to use it > Other there : -- Gabriel <[EM

Re: Authentication Tapestry 5

2007-11-21 Thread Gabriel Landais
Peter Stavrinides a écrit : Hi all My question is more of a best practice related question, I want to use a filter to extract my authentication code from the rest of the application logic, [...] Thanks in advance, Peter Hi, First, I'm a real Tapestry newbie, and I believe that Tapestry has

[T5] Announce - TreeGrid component

2008-01-04 Thread Gabriel Landais
Hi, I've just released an early version of a tree grid component. It is available via SVN on Google Code (). The code is based upon sstree, and as an early release, code is ugly and without comment yet... Gabriel ---

Re: What's heartbeat ?

2008-01-07 Thread Gabriel Landais
Michael Courcy a écrit : If you look at this exemple : TreeGridComponent http://tapestry5-treegrid.googlecode.com/svn/trunk/tapestry5-treegrid/src/main/java/org/codelutin/tapestry/components/TreeGrid.java a hearbeat.begin is called in beginRender and heartbeat.end is called in afterRender but

Re: What's heartbeat ?

2008-01-07 Thread Gabriel Landais
Steph a écrit : Your code Gabriel work as well without heartbeats ... ;-) Stephane Yes it is ;) Until you use defer, it should be useless. And as I think that I'll not need it, I remove it heartbeat reference. Gabriel - To