Re: [T5] injecting services into Domain Objects

2007-12-11 Thread Thiago H de Paula Figueiredo
there. ;) -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Antwort: Re: IoC global question

2007-12-14 Thread Thiago H de Paula Figueiredo
. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Adding extra rows to a BeanEditForm / extra columns to a Grid (T5!)

2007-12-14 Thread Thiago H de Paula Figueiredo
/browse/TAPESTRY-1983, asking for a new parameter in Grid to add new columns without the need to create a BeanModel explicitly as we have to do now. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: IoC global question

2007-12-17 Thread Thiago H de Paula Figueiredo
are suffixed with Controller. Both ZIP files are Eclipse projects and have Maven POMs. Translations: Projeto (project), tarefa (task), pessoa (person). -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: IoC global question

2007-12-17 Thread Thiago H de Paula Figueiredo
serviceClassB) { ServiceClassB object = new ServiceClassBImplementation(); object.setServiceClassB(serviceClassB); return object; } -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: [T5] : tapestry + spring

2007-12-26 Thread Thiago H de Paula Figueiredo
by A LOT more people. Sorry, I do not get it. Tapestry-IoC (and Tapestry the Web framework too) integrate very easily and seamlessly with Spring. Your page classes do not even know where the beans are coming from. What's your problems with the Tapestry5-Spring integration? -- Thiago H. de

Re: [T5] triggering multiple Zone component updates

2008-01-11 Thread Thiago H de Paula Figueiredo
thing I think T5 is not better than T4.1. And T4.1 is a wonderful framework already. :) JIRA? -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: T5 : if component help

2008-01-11 Thread Thiago H de Paula Figueiredo
to the page class makes it more easily testable and debuggable. ;) -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e

Re: How to make drop down box from ArrayList

2008-01-11 Thread Thiago H de Paula Figueiredo
for you. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

JSF 2.0 spec JSR approved

2007-06-05 Thread Thiago H de Paula Figueiredo
http://jcp.org/en/jsr/detail?id=314 That JSR uses Tapestry 5 as something that shows some features wanted for JSF 2: blockquote Tapestry 5 leverages annotations and contains ideas about eliminating the deployment step. It also addresses performance. /quote It's intereseting that one of

Re: How to use the third-party T5 Component in another T5 project

2007-06-08 Thread Thiago H de Paula Figueiredo
On Fri, 08 Jun 2007 07:47:21 -0300, Allen Guo [EMAIL PROTECTED] wrote: Nobody answer me ? :( Hi All, I use T5.0.4. I packaged some common components to common.jar. You know, in T3/4, we may add a configuration like contrib to .application file. But how can I use it in my another project base

T5: exception in T5 internal classes in the latest snapshot

2007-06-14 Thread Thiago H de Paula Figueiredo
Hi! Hava you met this exception? It happens in Tapestry's internal classes and it is an ordinary method parameter check, so I haven't attached the sources of my application, but I can do it if needed. It happens in form submissions and normal page requests, but not all. My applicatin was

Re: Using Hibernate detached objects in Tapestry (thread-safety question)

2007-06-16 Thread Thiago H de Paula Figueiredo
Em Fri, 15 Jun 2007 19:16:30 -0300, Norman Franke [EMAIL PROTECTED] escreveu: The only glitches I noticed is when saving a record (i.e. not rolling back) from a listener and returning another page (i.e. a direct service.) I don't want them to be in the same session, since cached data

Re: Using Hibernate detached objects in Tapestry (thread-safety question)

2007-06-20 Thread Thiago H de Paula Figueiredo
On Wed, 20 Jun 2007 12:17:32 -0300, Michael Sims [EMAIL PROTECTED] wrote: Unless I'm mistaken, merge()'ing the same object into two different Sessions isn't any more safe than using update() or lock(), so you still have to deal with thread safety issues when using it. I was just talking

Re: Should I start with T5

2007-06-22 Thread Thiago H de Paula Figueiredo
Now I've got two opinions ... It's the best to do my choice ;-) To do your choice, I suggest you to take a look at the comments of this blog post by Warner Onstine, author of Tapestry 101: http://jroller.com/page/WarnerOnstine?entry=why_hasn_t_tapestry_been Pay attention specially to the

T5: TextArea strange behavior

2007-07-23 Thread Thiago H de Paula Figueiredo
Hi! Is it just me or the Tapestry 5 TextArea component (5.0.5, non snapshot) sets the bound field to null when the user leaves the text area blank? Thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [T5] Security of files in the classpath

2007-07-26 Thread Thiago H de Paula Figueiredo
On Thu, 26 Jul 2007 18:18:42 -0300, Chris Lewis [EMAIL PROTECTED] wrote: I think hat's a legitimate problem. I know in T4 a checksum was generated by links to assets and then verified by tapestry before yielding the actual asset (by verifying the sum). However the fact that you can use

Re: [T5] Security of files in the classpath

2007-07-26 Thread Thiago H de Paula Figueiredo
On Thu, 26 Jul 2007 16:46:37 -0300, Daniel Jue [EMAIL PROTECTED] wrote: Hi, Just don't put configuration resources there. I'm not sure you had understood what I've said. My hibernate.cfg.xml is in /src/main/resources. So it is copied by Eclipse/NetBeans/Maven/whatever to my webapp's

Re: [T5] Select, palette, multiselect

2007-07-30 Thread Thiago H de Paula Figueiredo
On Mon, 30 Jul 2007 17:13:07 -0300, Martin Grotzke [EMAIL PROTECTED] wrote: On Fri, 2007-07-27 at 17:37 -0300, Thiago H de Paula Figueiredo wrote: And has anyone implemented a Select-like component for multiple option selection? It would be very nice to have both multiselect and palette

Re: JumpStart v1.6 - for Tapestry 4.1.2

2007-08-03 Thread Thiago H de Paula Figueiredo
On Fri, 03 Aug 2007 11:11:23 -0300, Renat Zubairov [EMAIL PROTECTED] wrote: Main drawback is offcourse XML files, but we hope it will be fixed with T5 IOC and/or HM2 Tapestry-IoC requires no XML files and is very easy and powerful. Most people here already discovered the pleasure of

Re: [T5] Security of files in the classpath

2007-08-03 Thread Thiago H de Paula Figueiredo
On Fri, 03 Aug 2007 05:33:55 -0300, Robert Zeigler [EMAIL PROTECTED] wrote: Nope. Zero configuration necessary for the basic functionality. Keep in mind, however, that the default configuration is pretty restrictive, since it is whitelist-based, and the only entries added by default are

Re: [T5] Why is default ValidationTracker in Form marked Persist not Persist(flash)

2007-08-03 Thread Thiago H de Paula Figueiredo
On Fri, 03 Aug 2007 16:07:07 -0300, Howard Lewis Ship [EMAIL PROTECTED] wrote: By making it @Persist (i.e. with default), then the container (i.e., your page) can set a @Meta to control the default persistence of components below it. Thus, if you want the default to be flash, you're in

Re: Tapestry component library - searching for a treeview component

2007-08-06 Thread Thiago H de Paula Figueiredo
On Mon, 06 Aug 2007 10:34:15 -0300, Mateus Lucio dos Santos [EMAIL PROTECTED] wrote: Hi !!! Oi! (Brazilian hi) :) I'm new to tapestry framework and I need to use a tree (treeview) component, I'm searching for examples and documents about this subject but I'm not finding helpful documents.

Re: [T5] documentation and reference for templates

2007-08-06 Thread Thiago H de Paula Figueiredo
On Mon, 06 Aug 2007 13:39:42 -0300, Daniel Jue [EMAIL PROTECTED] wrote: There are some exceptions, such as the parameter component that you can use along with the If component: t:if test=userExists You are currently logged in t:parameter name=else You are not logged in.

Re: [ANN]T5 book: reviewers are needed

2007-08-09 Thread Thiago H de Paula Figueiredo
. But it will be an honor for both me and them to have you as a reviewer. I will contact them now and try to convince to increase the number of reviewers! Can you tell us who the chosen reviewers are? :) -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação

Re: T5 developing with WTP and TOMCAT

2007-08-16 Thread Thiago H de Paula Figueiredo
. Howard explains the problem here: http://tapestryjava.blogspot.com/2007/02/fighting-with-tomcat.html -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: Recursion of components

2007-08-21 Thread Thiago H de Paula Figueiredo
on the fly most of the time: just *rendering* the component again would suffice. Example: AJAX in Tapestry 4.1. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: [T5]: Question about temporary properties

2007-08-24 Thread Thiago H de Paula Figueiredo
these variables after they were used. Tapestry-IoC can notify thread-scoped services the thread has finished its execution. My only doubt is about how the prop:binding would deal with these untyped values. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg

Re: How-to update a selection model based on a prior selection

2007-08-28 Thread Thiago H de Paula Figueiredo
when the request finishes. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: How-to update a selection model based on a prior selection

2007-08-28 Thread Thiago H de Paula Figueiredo
to specify submitForm anymore. http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/annotations/EventListener.html -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: [T5] Usage of Grid component

2007-08-28 Thread Thiago H de Paula Figueiredo
implementation, but I had to have a working code quickly and then I postponed my BeanModel hackings. :) -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: [T5] Usage of Grid component

2007-08-28 Thread Thiago H. de Paula Figueiredo
Em Tue, 28 Aug 2007 19:00:13 -0300, Daniel Jue [EMAIL PROTECTED] escreveu: Hacking the beanmodel is definitely possible. You can actually dump all the columns that bean model picks up, and re-add them to the beanmodel's list in the order you want. You'd probably want something more

Re: T5:Tiles?

2007-08-28 Thread Thiago H. de Paula Figueiredo
Em Tue, 28 Aug 2007 20:52:28 -0300, Angelo Chen [EMAIL PROTECTED] escreveu: Class org.sample.t5.pages.Home does not contain a property named 'myhome' (within property expression 'myhome'). You want t:layout title=My Home Try t:layout title=literal:My Home The literal: prefix guarantees

Re: T5 Error in 5.0.5 palette.js

2007-08-28 Thread Thiago H. de Paula Figueiredo
Em Tue, 28 Aug 2007 20:51:30 -0300, Martin Reurings [EMAIL PROTECTED] escreveu: Probably the best way to get some clarity is by adding a few alerts in some key places and compare the results of those alert between FF and IE. Just because it works in FF doesn't mean it's correct BTW. T5's

T5: PageLink keeping activantion context when t:context is not set.

2007-08-31 Thread Thiago H de Paula Figueiredo
Hi! I don't understand the rationale behind this. If I'm at a page that has an activation context and want to link to the same page, without the context, I need to write t:context=literal:. Could somebody explain this to me? -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e

Re: T5: PageLink keeping activantion context when t:context is not set.

2007-09-01 Thread Thiago H. de Paula Figueiredo
Em Fri, 31 Aug 2007 21:20:00 -0300, Fidel Chavarria [EMAIL PROTECTED] escreveu: If you need a link that points to the same page, create a Pagelink pointing the same page. I need a link to the same page, but without the activation context. I'm using an object edit page to both new objects

Re: [T5] Service Module declaration

2007-09-06 Thread Thiago H de Paula Figueiredo
H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [T5] Service Module declaration

2007-09-06 Thread Thiago H de Paula Figueiredo
in some JAR in your application classpath and Tapestry-IoC will take care of the rest. ;) -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: [T5] Service Module declaration

2007-09-06 Thread Thiago H de Paula Figueiredo
and loading it. My application doesn't have a compile dependency in HiberTapestry but it uses it. Just wonderful. :) -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: [T5] Service Module declaration

2007-09-06 Thread Thiago H de Paula Figueiredo
is always welcome. :) I plan to release a new version, the sources and improved documentation soon. I'm already using it in an internal project at my work. :) -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http

Re: [T5] component packs? libraries?

2007-09-16 Thread Thiago H. de Paula Figueiredo
Em Sun, 16 Sep 2007 21:41:53 -0300, Fernando Padilla [EMAIL PROTECTED] escreveu: I thought I meant Component Libraries.. as in user or third party generated component libraries.. any other ideas? Tapestry 5 is very young yet (it's not even beta!), so developers hadn't had much time to

T5: help needed with tapestry-acegi

2007-09-17 Thread Thiago H de Paula Figueiredo
page, with the same annotation, now with an user with just one GrantedAuthority, Admin. Now Acegi happily gives me access to the page. Does that mean that each user must have exactly one role (aka GrantedAuthority) in order to use the @Secured annotation? Thank you! -- Thiago H. de Paula

Re: T5: help needed with tapestry-acegi

2007-09-17 Thread Thiago H de Paula Figueiredo
On Mon, 17 Sep 2007 16:13:03 -0300, Thiago H de Paula Figueiredo [EMAIL PROTECTED] wrote: I have an user that has a number of roles (GrantedAuthority instances), one of them named Admin. After some hours trying to figure out what mistake I have been doing, I've found it! Using

Re: T5: help needed with tapestry-acegi

2007-09-17 Thread Thiago H de Paula Figueiredo
implementation which getGrantedAuthorities() method returns all the permissions of all the groups some user belongs to. I'm using the GrantedAuthorityImpl class that comes with Acegi. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da

Re: T5: HibernateSessionManagerImpl should close session on thread cleanup?

2007-09-20 Thread Thiago H de Paula Figueiredo
it through Tapestry-IoC. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: T5: HibernateSessionManagerImpl should close session on thread cleanup?

2007-09-20 Thread Thiago H de Paula Figueiredo
On Thu, 20 Sep 2007 10:44:31 -0300, Massimo Lusetti [EMAIL PROTECTED] wrote: On 9/20/07, Thiago H de Paula Figueiredo [EMAIL PROTECTED] wrote: Shameless plug: take a look at http://tapestry-mine.sourceforge.net/hibertapestry/ :) Commit the source in your repo ... or even better fire a bug

Re: T5 component content

2007-09-26 Thread Thiago H. de Paula Figueiredo
Em Wed, 26 Sep 2007 13:23:47 -0300, Chris Lewis [EMAIL PROTECTED] escreveu: Indeed, but its not declarative and it doesn't address style sheets. Like I said, I'm not hell-bent on a declarative solution, but I do not want to: 1) @Inject/@Path my css ... 2) .. and provide a getter ... 3) ..

Tapestry vs JSF: JSF for nonbelievers: JSF component development

2007-09-26 Thread Thiago H. de Paula Figueiredo
I'm not trying to be a fanboy (but I'm a Tapestry fan) nor a troll, but the following article about developmento of JSF components really helped me to figure out what JSF is, specially when compared to Tapestry 5: http://www-128.ibm.com/developerworks/library/j-jsf4/. The author is trying

Re: [T5] Basic Ajax

2007-10-03 Thread Thiago H. de Paula Figueiredo
Em Wed, 03 Oct 2007 15:59:57 -0300, Borut Bolčina [EMAIL PROTECTED] escreveu: Hello, How should a url look like to be T5-ish in this javascript function: What about . . . function validate() { var idField = document.getElementById(userid); var url = validate/111= +

Re: T5: refreshing page when there is an error

2007-10-15 Thread Thiago H de Paula Figueiredo
. On the other hand, I think Howard disagrees. :) -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail: [EMAIL

Re: T5 Desired complex community components

2007-10-17 Thread Thiago H. de Paula Figueiredo
Em Wed, 17 Oct 2007 17:30:20 -0300, Daniel Jue [EMAIL PROTECTED] escreveu: I was wondering what kind of components people are looking for that are not yet available as an open source example. T5 seems to have the simple html components pretty well covered, and we're all waiting anxiously for

Re: [T5] Recommended naming of configurations

2007-10-17 Thread Thiago H. de Paula Figueiredo
Em Sun, 14 Oct 2007 12:40:38 -0300, Howard Lewis Ship [EMAIL PROTECTED] escreveu: This is heading a bit backwards from my initial goals, of naming conventions over annotations, and raises the question of the convention for naming such methods, I think that to rely just on naming

Re: Templates and t:body

2007-10-18 Thread Thiago H de Paula Figueiredo
tag. ;) The specific page uses the layout, not the inverse. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail

Re: T5: how to use a detached hibernate object in a form?

2007-10-22 Thread Thiago H de Paula Figueiredo
. :) _session.saveOrUpdate(usr); return null; } -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail: [EMAIL

Re: Tapestry 5 Roadmap

2007-10-23 Thread Thiago H de Paula Figueiredo
, that an eventual Tapestry 6 would be backwards compatible with Tapestry 5. Read the Howard's comments here: http://jroller.com/WarnerOnstine/entry/why_hasn_t_tapestry_been -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http

Re: [T5] components collection release 0.3.0

2007-10-23 Thread Thiago H. de Paula Figueiredo
Em Tue, 23 Oct 2007 18:55:56 -0200, Daniel Jue [EMAIL PROTECTED] escreveu: This is great Sven! Do you intend to have this library become T5's contrib library? Or would you suggest potential contributors to start their own public library for people to download? One of the beauties of open

Re: Tapestry 5 Roadmap

2007-10-25 Thread Thiago H de Paula Figueiredo
: referring to time in seasons (specially because they're swapped here, under the Equator line) and fiscal years (in Brazil, there's no such thing. The fiscal year is the calendar year, period). -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia

Tapestry5-Acegi incompatibility with Tapestry 5.0.6

2007-10-26 Thread Thiago H de Paula Figueiredo
talks about. Could you release a new version with updated dependencies? :) While you do not do that, I'll checkout the source and try to figure out what happened. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http

Re: Mixing T5 and Guice --- best practices

2007-10-29 Thread Thiago H de Paula Figueiredo
in Guice for some time already, so I can be wrong), Tapestry-IoC does (almost) everything Guice does, but better. One of the reasons is that T-IoC needs no annotations in your beans. :) -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação

Re: Mixing T5 and Guice --- best practices

2007-10-30 Thread Thiago H de Paula Figueiredo
, but it is as general purpose as any other. ;) The only differences is that Tapestry 5-IoC is used natively by Tapestry 5. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: Mixing T5 and Guice --- best practices

2007-10-30 Thread Thiago H de Paula Figueiredo
this question better than me. :) -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Mixing T5 and Guice --- best practices

2007-10-30 Thread Thiago H de Paula Figueiredo
://tapestry.apache.org/tapestry5/tapestry-ioc/. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: T5: Tapestry-Hibernate, do we have to save()?

2007-10-31 Thread Thiago H de Paula Figueiredo
features like automatic creation of ValueEncoders in the near future. The source is Apache 2-licensed and was not released yet, but I'll do it soon. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: Mixing T5 and Guice --- best practices

2007-10-31 Thread Thiago H de Paula Figueiredo
Tapestry-IoC services. I'll file a JIRA about this. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail: [EMAIL

Re: Simple servlet with xml output - to tapestry

2007-10-31 Thread Thiago H de Paula Figueiredo
of situation was hard to implement, but in Tapestry 5 it's a piece of cake. :) -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: Simple servlet with xml output - to tapestry

2007-10-31 Thread Thiago H de Paula Figueiredo
to generate your XML. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: getting remote IP address

2007-11-08 Thread Thiago H de Paula Figueiredo
attributes (at least in Tapestry 5.0.6). -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: T5 Previewable pages

2007-11-12 Thread Thiago H de Paula Figueiredo
, but you can use table t:type=Grid as well. That's what I do. I love previewability. :) -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: T5 : Event system

2007-11-14 Thread Thiago H de Paula Figueiredo
); return null; } AFAIK, the binding of methods to Javascript events is not implemented yet. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: T5 Newbie : populate the value of a form in a bean

2007-11-14 Thread Thiago H de Paula Figueiredo
to refer to it in another component (Label, for example) or in your page class. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: T5 Newbie : populate the value of a form in a bean

2007-11-14 Thread Thiago H de Paula Figueiredo
is submited. Also make sure you have public getters and setters, because otherwise Tapestry cannot access them. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: [T5] Tapestry-IOC Features and Readiness

2007-11-14 Thread Thiago H de Paula Figueiredo
supports it, Tapestry-IoC and Guice don't. There must be a good reason, I just don't know it. :) Thanks in advance. :) -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: T5: Tapestry-Hibernate, do we have to save()?

2007-11-19 Thread Thiago H de Paula Figueiredo
On Mon, 19 Nov 2007 07:17:32 -0200, lasitha [EMAIL PROTECTED] wrote: On Oct 31, 2007, Thiago H de Paula Figueiredo [EMAIL PROTECTED] wrote: Thiago, any chance you'll be releasing the source soon? Hi, Lasitha! (By the way, where are you from?) I'm planning to release the sources until

Re: Feedback wanted on IoC documentation

2007-11-19 Thread Thiago H de Paula Figueiredo
constructors for some key services. I would say that those key services may be insufficiently factored into smaller cooperating services. Seperation of concerns! What about services you can't add constructors, like Hibernate sessions? -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor

[T5] Configuring error pages in web.xml

2007-11-19 Thread Thiago H de Paula Figueiredo
put breakpoints in Error's onActivate(Object[] objects), but they're not hit. Any clues? Do I need to use a static HTML file redirecting to my T5 error page? Thanks in advance. :) -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da

Re: T5: Tapestry-Hibernate, do we have to save()?

2007-11-19 Thread Thiago H de Paula Figueiredo
On Mon, 19 Nov 2007 14:19:28 -0200, lasitha [EMAIL PROTECTED] wrote: On Nov 19, 2007 5:42 PM, Thiago H de Paula Figueiredo [EMAIL PROTECTED] wrote: Hi, Lasitha! (By the way, where are you from?) Oh, the beautiful town of kandy, sri lanka :) I'm from the not so beautiful city of Belo

Re: T5: Tapestry-Hibernate, do we have to save()?

2007-11-19 Thread Thiago H de Paula Figueiredo
? -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: T5: Tapestry-Hibernate, do we have to save()?

2007-11-19 Thread Thiago H de Paula Figueiredo
(commit or rollback, depending on whether the invoked method raised an exception of not). -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: T5: Tapestry-Hibernate, do we have to save()?

2007-11-20 Thread Thiago H de Paula Figueiredo
. Thanks for keeping up this thread - once i can look at your source i will bother you less :) I'm just polishing it and adding more unit tests before I show my little creation for the world to see. :) Or you're not bothering me at all. :) -- Thiago H. de Paula Figueiredo Desenvolvedor

Re: AW: T5: Tapestry-Hibernate, do we have to save()?

2007-11-20 Thread Thiago H de Paula Figueiredo
last: HiberTapestry has *no* relationship with the view layer. HiberTapestry works by intercepting Tapestry-IoC-provided services methods. ;) -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br

Re: T5 persisting select component selection after form submission

2007-11-21 Thread Thiago H de Paula Figueiredo
a large probability of it being the source of the problem. ;) -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e

Re: T5: Tapestry-Hibernate, do we have to save()?

2007-11-21 Thread Thiago H de Paula Figueiredo
at http://www.hibernate.org/hib_docs/v3/api/org/hibernate/Session.html#merge(java.lang.Object) and http://www.hibernate.org/hib_docs/v3/reference/en/html/objectstate.html#objectstate-detached. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg

[T5.0.6] Bug with requests to non-existent URLs with extensions

2007-11-23 Thread Thiago H de Paula Figueiredo
? Should I file a JIRA? -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Ajax, Partial Rendering and Tapestry 5

2007-11-23 Thread Thiago H de Paula Figueiredo
.html#a12179365 I tried that code and it works flawlessly. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail

Re: Form AJAX submission with Zone component appears to break if form validation is added.

2008-06-04 Thread Thiago H de Paula Figueiredo
On Wed, 04 Jun 2008 01:00:43 -0300, Jun Tsai [EMAIL PROTECTED] wrote: I have the same problem. Any T5 event handler method that is fired by AJAX must return a Block or Zone containing the new zone content, so you have to return your Zone in your validation method when validation fails. ;)

Re: T5: onPrepare - how to diffrentiate the render phase from the process phase ?

2008-06-04 Thread Thiago H de Paula Figueiredo
On Wed, 04 Jun 2008 10:04:21 -0300, Stephane Decleire [EMAIL PROTECTED] wrote: How can we check in onPrepare if the function is called during the process of the form or during the render phase ? Use two different methods: one handling Form.PREPARE_FOR_RENDER and another handling

Re: T5: onPrepare - how to diffrentiate the render phase from the process phase ?

2008-06-04 Thread Thiago H de Paula Figueiredo
On Wed, 04 Jun 2008 10:42:02 -0300, Stephane Decleire [EMAIL PROTECTED] wrote: Thanks Thiago, didn't know those two events exist. You're welcome! The best place to look when you don't know how to do something with some component is to look at the Tapestry 5 component reference:

Re: CSSTapestry

2008-06-04 Thread Thiago H de Paula Figueiredo
On Wed, 04 Jun 2008 21:26:57 -0300, 滕训华 [EMAIL PROTECTED] wrote: but the font in this page is still large. Why? With Firebug, right-click your text and then Inspect Element. In the CSS tab, it will show exactly what CSS rules are being applied and in which order. Thiago

Re: T5 ajax zone changing

2008-06-05 Thread Thiago H de Paula Figueiredo
On Thu, 05 Jun 2008 11:18:53 -0300, Janko Muzykant [EMAIL PROTECTED] wrote: Hi Markus, thanks for links, but this unfortunately does not solve the problem. i will try to highlight my case. commiting the form currenlty we have no possibility to select destination zone other when that one

Re: Tapestry 5- the Sagrada Familia church building?

2008-06-17 Thread Thiago H. de Paula Figueiredo
Em Tue, 17 Jun 2008 10:40:26 -0300, Menno Kok [EMAIL PROTECTED] escreveu: It is true that Tapestry 5 final never will release? No. It look like always there is some new thing. New good things. :) Yesterday it was building inside aspectJ, i see from the post. It was a great

Re: Issue with T5.0.13 default page loading

2008-06-18 Thread Thiago H. de Paula Figueiredo
Em Wed, 18 Jun 2008 07:16:01 -0300, raveendra [EMAIL PROTECTED] escreveu: We have started our project development with T5.0.11.Due to some issues we are experimenting with T5.0.13 latest release we have replaced the jars.Previously when i type the url

Re: grid component with buttons T5.0.13

2008-06-19 Thread Thiago H. de Paula Figueiredo
Em Thu, 19 Jun 2008 05:58:41 -0300, raveendra [EMAIL PROTECTED] escreveu: t:grid source=callSummaryList row=callSummaryBean add=edit t:parameter name=editcell t:submit t:id=edit value=edit/ /t:parameter /t:grid AFAIK, you

Re: [T5] A Question about server side validation

2008-06-19 Thread Thiago H. de Paula Figueiredo
Em Thu, 19 Jun 2008 10:43:49 -0300, Marcelo Lotif [EMAIL PROTECTED] escreveu: I was using a tricky field by field validation on the server side(not cross-validation) inside the BeanEditForm and i realize that to use onValidateFromXXX you have to declare explicitly the id of the field wrapping

Re: How to change url of active page to external link from Tapestry 5

2008-06-20 Thread Thiago H. de Paula Figueiredo
Em Fri, 20 Jun 2008 09:45:44 -0300, IT.Adviser [EMAIL PROTECTED] escreveu: I had submit event handler. I need to return external link (external to site). Example: i work under site mysite.com, and need to change url (load page into browser) from somethingelse.com. Return an URL object:

Re: T5 onActivate

2008-06-22 Thread Thiago H. de Paula Figueiredo
Em Sun, 22 Jun 2008 04:09:30 -0300, Geoff Callender [EMAIL PROTECTED] escreveu: Furthermore, since T5.0.13, the parent class's onActivate() is no longer called if it's been overridden in the child class (see https://issues.apache.org/jira/browse/TAPESTRY-2311 ). Now you must ensure the

Re: [T5] How to use enums in .tml files

2008-06-24 Thread Thiago H. de Paula Figueiredo
Em Tue, 24 Jun 2008 09:54:18 -0300, 9902468 [EMAIL PROTECTED] escreveu: t:actionlink t:id=somelink context=Enum.SOME_CONSTANTDo not push./t:actionlink Or you can write a simple getter method in you page class: public Enum getContext() { return Enum.SOME_CONSTANT; } t:actionlink

Re: Required parameters: also not null?

2008-06-24 Thread Thiago H. de Paula Figueiredo
Em Tue, 24 Jun 2008 14:32:15 -0300, Matt Kerr [EMAIL PROTECTED] escreveu: why not specify whether params allow null - rather than break things ? default to the old behavior. it's not uncommon to have a null param - dunno why it would be different in a component. Agreed 100%. Required =

Re: [T5] How to use enums in .tml files

2008-06-24 Thread Thiago H. de Paula Figueiredo
Em Tue, 24 Jun 2008 14:06:05 -0300, Lance Java [EMAIL PROTECTED] escreveu: I'm a newbie but I notice tapestry has a StringToEnumCoercion. What hapens if you do this? t:actionlink t:id=somelink context=SOME_CONSTANT.../t:actionlink Your above template snippet would be interpreted by

Re: [t5] form method=get, old school query parameters

2008-06-25 Thread Thiago H. de Paula Figueiredo
Em Wed, 25 Jun 2008 10:23:27 -0300, Lutz Hühnken [EMAIL PROTECTED] escreveu: what is the way to create a form with method=GET in Tapestry 5? I would like to create a simple form that produces a GET request with query parameters, such as www.example.com/books?author=kingcategory=crime. What

Re: empty block in grid - how?

2008-06-25 Thread Thiago H. de Paula Figueiredo
Em Wed, 25 Jun 2008 12:06:03 -0300, Udo Abel [EMAIL PROTECTED] escreveu: Hi, I wanted to define a message as a replacement of the default empty-message in the Grid component, but I could not find any hint on how to define such a block. Casting the parameter to message or literal does

  1   2   3   4   5   6   7   8   9   10   >