Re: [ANNOUNCE] Recent launch: Wyss Institute

2009-10-13 Thread Daniel Mejía
Nice tapestry example... I´m doing a reserach to select a web framework, with this kind of examples I have more opportunity to convince my boss to use tapestry instead of JSF. Saludos, Daniel. El 13/10/2009, a las 08:10 p.m., d...@ifactory.com escribió: Hey all, We recently launched th

Re: [ANNOUNCE] Recent launch: Wyss Institute

2009-10-13 Thread Howard Lewis Ship
Very nice. Gonna open source any of that Flash mojo? :-) On Tue, Oct 13, 2009 at 6:10 PM, wrote: > Hey all, > > We recently launched the new site for the Wyss Institute for Biologically > Inspired Engineering at Harvard University. You can check it out here: > http://wyss.harvard.edu > > Dan A

[ANNOUNCE] Recent launch: Wyss Institute

2009-10-13 Thread dan
Hey all, We recently launched the new site for the Wyss Institute for Biologically Inspired Engineering at Harvard University. You can check it out here: http://wyss.harvard.edu Dan Adams Principal Software Engineer Interactive Factory p: 617.235.5857

Re: Boolean Property Expression

2009-10-13 Thread Howard Lewis Ship
It wouldn't be the first time that T5 "pencilled outside the lines" of the JavaBeans specification ... the other being allowing case insensitive access to properties. On Tue, Oct 13, 2009 at 3:01 PM, Benny Law wrote: > Would it be reasonable to request that "is" be recognized as a valid getter >

Re: Boolean Property Expression

2009-10-13 Thread Benny Law
Would it be reasonable to request that "is" be recognized as a valid getter prefix for java.lang.Boolean properties in Tapestry? (Hibernate allows it.) Howard? Benny On Tue, Oct 13, 2009 at 1:01 PM, Benny Law wrote: > Thanks for your speedy response, Lance. I wish java.lang.Boolean were > inclu

Re: [ANNOUNCE] ChenilleKit 1.2.0 RELEASE

2009-10-13 Thread Olle Hallin
Hint: Use mavensearch.net for finding exactly what to paste into pom.xml It indexes not only central, but also a bunch of other useful repositories. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se 2009/10/13 Borut Bolčina > Roy, > > you do not have to specif

Re: [T4] Two users see the same data - problem with ASO objects

2009-10-13 Thread Olle Hallin
Well, google for "singletons considered harmful" and reserve a couple of hours for reading... Here's one that explains it pretty well: http://tech.puredanger.com/2007/07/03/pattern-hate-singleton Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se 2009/10/13 Argo

Re: [ANNOUNCE] ChenilleKit 1.2.0 RELEASE

2009-10-13 Thread Borut Bolčina
Roy, you do not have to specify the as the chenillekit is in the main maven repository (included by default). Cheers, Borut 2009/10/13 Roy Douglas > > thanks, how about the repo? is it > > >chenillekit >http://repo1.maven.org/maven2/org/chenillekit/ > > > > > > > Kal

Re: Hibernate Validator 4 released, any plans for adding support in T5?

2009-10-13 Thread Igor Drobiazko
On Tue, Oct 13, 2009 at 9:50 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Tue, 13 Oct 2009 16:46:56 -0300, Igor Drobiazko < > igor.drobia...@gmail.com> escreveu: > > The integration of the JSR 303 is difficult without to break the >> compatibility of the API beacuse the Tap

Re: [ANNOUNCE] ChenilleKit 1.2.0 RELEASE

2009-10-13 Thread Roy Douglas
thanks, how about the repo? is it chenillekit http://repo1.maven.org/maven2/org/chenillekit/ Kalle Korhonen-2 wrote: > > Depending on what you need, e.g: > > org.chenillekit > chenillekit-tapestry >

Auto expanding field

2009-10-13 Thread Fermin Da Costa Gomez
Hi, Whilst working on a google-like search i decided i wanted 'my old expanding inputfield' back. It is pretty insignificant but you hardly ever come across them, despite the fact that they can be quite usefull imho .. ;-) Just thought i would drop it on the list. It can probably be improved upon

Re: [T4] Two users see the same data - problem with ASO objects

2009-10-13 Thread Argo Vilberg
anti-pattern? why it makes testing much harder? I use singleton for my own connection pooling and cache and cluster system. All works very fine! 2009/10/13 Olle Hallin > Singletons is an anti-pattern that the Java community abandoned years ago! > The main reason is that it makes testing much h

Re: Hibernate Validator 4 released, any plans for adding support in T5?

2009-10-13 Thread Thiago H. de Paula Figueiredo
Em Tue, 13 Oct 2009 16:46:56 -0300, Igor Drobiazko escreveu: The integration of the JSR 303 is difficult without to break the compatibility of the API beacuse the Tapestry validation mechanism is only aware of a value being validated. One thing that is easy to do is to provide Validator

Re: [ANNOUNCEMENT] New Tapestry 5 book

2009-10-13 Thread Igor Drobiazko
Not yet but I'll ask the publisher again. On Tue, Oct 13, 2009 at 9:02 PM, Borut Bolčina wrote: > Hi, > > any news on when the book will be available in English? > > Cheers, > Borut > > 2009/9/16 Igor Drobiazko > > > Hello folks, > > > > I am pleased to announce a new Tapestry 5 book. The book i

Re: Hibernate Validator 4 released, any plans for adding support in T5?

2009-10-13 Thread Igor Drobiazko
The integration of the JSR 303 is one of the things on my roadmap for 5.2 release (as well as integration of JPA). I had already a look into this but had no time to finalize the work. The integration of the JSR 303 is difficult without to break the compatibility of the API beacuse the Tapestry vali

Re: Hibernate Validator 4 released, any plans for adding support in T5?

2009-10-13 Thread Thiago H. de Paula Figueiredo
Em Tue, 13 Oct 2009 16:38:05 -0300, Olle Hallin escreveu: Hi, Hi! Now when Hibernate Validator 4 and soon also the JSR-303 spec itself is released, it wouldbe great to learn if someone is planning to add support for it in Tapestry 5. I've written a Hibernate Validator 3 integration pack

Hibernate Validator 4 released, any plans for adding support in T5?

2009-10-13 Thread Olle Hallin
Hi, Now when Hibernate Validator 4 and soon also the JSR-303 spec itself is released, it wouldbe great to learn if someone is planning to add support for it in Tapestry 5. Are there any such plans? Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: [ANNOUNCE] ChenilleKit 1.2.0 RELEASE

2009-10-13 Thread Kalle Korhonen
Depending on what you need, e.g: org.chenillekit chenillekit-tapestry 1.2.0 The released artifacts are in repo1... Kalle On Tue, Oct 13, 2009 at 12:08 PM, Roy Douglas wrote: > > Hi, > > so

Re: [T4] Two users see the same data - problem with ASO objects

2009-10-13 Thread Olle Hallin
Singletons is an anti-pattern that the Java community abandoned years ago! The main reason is that it makes testing much harder. Besides, your example is wrong. The constructor must be private, or else the singleton is broken. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se w

Re: [ANNOUNCE] ChenilleKit 1.2.0 RELEASE

2009-10-13 Thread Roy Douglas
Hi, sorry, I really don't know what to put it in my pom.xml, I tried to search through google and here, would you please tell me what is the url of the repo and group id and artifact id I should use? Thanks Roy Massimo Lusetti wrote: > > Hi everyone, > I'm happy to announce the 1.2.0 rele

Re: [T4] Two users see the same data - problem with ASO objects

2009-10-13 Thread Argo Vilberg
very simple solution is creata Singleton java class. public class MallBean{ public final static MallBean INSTANCE = new MallBean(); public MallBean() { } } And access MallBean.INSTANCE.getSomething. And if you first time calling this, class is created and only ONE thi

Re: [ANNOUNCEMENT] New Tapestry 5 book

2009-10-13 Thread Borut Bolčina
Hi, any news on when the book will be available in English? Cheers, Borut 2009/9/16 Igor Drobiazko > Hello folks, > > I am pleased to announce a new Tapestry 5 book. The book is written in > German and is available as eBook on publisher's website: > > > http://www.addison-wesley.de/main/main.a

Re: T5 retrieve page / classes

2009-10-13 Thread Thiago H. de Paula Figueiredo
Em Tue, 13 Oct 2009 15:27:37 -0300, Martin Reurings escreveu: Unfortunately, I wouldn't know how to get that configuration except for the contributeComponentClassResolver(final Configuration configuration) method in a Module :( The ComponentClassResolver service has List getPageNames() a

Re: Blog post about T5 being bad for interface developers.

2009-10-13 Thread Thiago H. de Paula Figueiredo
Em Tue, 13 Oct 2009 14:31:14 -0300, Martin Reurings escreveu: He didn't come up with anything that hasn't been mentioned before. Most of his points can be explained both ways, being either good or bad from whichever 'school' you follow. I seriously think this particular developer has the

Re: T5 retrieve page / classes

2009-10-13 Thread Martin Reurings
Hi Jens, Essentially I think the question would be, can you get a handle to the Configuration, since this Configuration contains all the package-names for the configured modules for a T5 application. Simply search all the ...pages packages from that list and you have the classes which are (or

Re: T5 retrieve page / classes

2009-10-13 Thread Jens Breitenstein
Thanks Thiago! That's the quickest answer I ever got and seems exactly what I am looking for. Well, I do not want to overstretch your patience :-) but now I can configure some prop which contains my packages to loop over these entries and locate the classes. This is definitely a solution, but

Re: T5 retrieve page / classes

2009-10-13 Thread Thiago H. de Paula Figueiredo
Em Tue, 13 Oct 2009 14:29:34 -0300, Jens Breitenstein escreveu: Hi all! Hello! I know that all pages live below the "pages" directory but this information is not enough to get the page-classes by the Classloader. Due to the fact tapestry needs to know the available pages anyway, can I

Re: [T4] Two users see the same data - problem with ASO objects

2009-10-13 Thread Olle Hallin
Another thing to look for are object references inside the ASO. Perhaps they point to the same mutable object? Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se 2009/10/13 Martin Strand > Hmm, it sounds unlikely that different sessions would get mixed up like

Re: Blog post about T5 being bad for interface developers.

2009-10-13 Thread Martin Reurings
He didn't come up with anything that hasn't been mentioned before. Most of his points can be explained both ways, being either good or bad from whichever 'school' you follow. I seriously think this particular developer has the same issue that I had 3 years ago, component based frameworks limit

T5 retrieve page / classes

2009-10-13 Thread Jens Breitenstein
Hi all! I know that all pages live below the "pages" directory but this information is not enough to get the page-classes by the Classloader. Due to the fact tapestry needs to know the available pages anyway, can I access some internal voodoo magic :-) to get a List or iterator to my pages?

Re: Boolean Property Expression

2009-10-13 Thread Benny Law
Thanks for your speedy response, Lance. I wish java.lang.Boolean were included. The reason I use that instead of primitive boolean is that I also use the User object for query by example in Hibernate, so I need to be able to set the property to null for the property to be ignored. I would appreciat

Re: Boolean Property Expression

2009-10-13 Thread Lance Java
The java beans spec only states that "is" can be used for boolean, it does not mention java.lang.Boolean. https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/viewproductdetail-start?productref=7224-javabeans-1.01-fr-spec-oth-js...@cds-cds_developer 2009/10/13 Benny

Boolean Property Expression

2009-10-13 Thread Benny Law
Hi all, I just came across something that seems odd to me: I have a User object which has a Boolean property with isMobileUser() and setMobileUser(Boolean) as getter and setter. When I used ${user.mobileUser} in my template (user is a page property), Tapestry complained about the expression being

Re: [T4] Two users see the same data - problem with ASO objects

2009-10-13 Thread Martin Strand
Hmm, it sounds unlikely that different sessions would get mixed up like that. Perhaps the problem is with some other variable that happens to be visible to several users? I haven't done Tap4 in a while, but maybe you could look for: - any field in a page class, they should probably all be abstra

Re: Tapestry 5.1 upgrade

2009-10-13 Thread Thiago H. de Paula Figueiredo
Em Tue, 13 Oct 2009 10:56:54 -0300, Argo Vilberg escreveu: upgrade from 5.0.14 -> 5.1.0.5. I have repaired over 10 errors, and now i got this!! sendRedirect does not work. requestGlobals.getHTTPServletResponse().sendRedirect(urll); If you want to redirect to other URL inside a Tapestry page

Tapestry 5.1 upgrade

2009-10-13 Thread Argo Vilberg
upgrade from 5.0.14 -> 5.1.0.5. I have repaired over 10 errors, and now i got this!! sendRedirect does not work. requestGlobals.getHTTPServletResponse().sendRedirect(urll); *type* Exception report *message* *description* *The server encountered an internal error () that prevented it from fu

Re: Tapestry5.1 upgrade

2009-10-13 Thread Szemere Szemere
It may not be related but when I upgraded from Tapestry 5.0.18 to 5.1.0.5 at the beginning of this week, I found that while createPageLink would accept a null context, createPageRenderLinkWithContext would not. Szemere

[T4] Two users see the same data - problem with ASO objects

2009-10-13 Thread TomMax
Hi all, I'm working in a developers team with Tapestry applications (version 4.0.2) for more than 2 years. Our Tapestry applications works on various Application Servers (JBoss, SAP Netweaver), and usually we were able in our team to resolve all problems, recently however, we spotted a problem wi

Re: Blog post about T5 being bad for interface developers.

2009-10-13 Thread Thiago H. de Paula Figueiredo
Em Tue, 13 Oct 2009 04:13:53 -0300, Inge Solvoll escreveu: Quite interesting post, don't know if you've seen this. Howard answers in the comments. http://friendlybit.com/html/tapestry-5-and-how-not-to-treat-html/ That guy raises some good points, but that post is mostly comprised of uninf

Re: Upgrade to 5.1.0.5 submitbutton problem

2009-10-13 Thread Argo Vilberg
This was jQuery $ problem. jQuery.noConflict() helped. and also, after that my jQuery based javascript does not work. var $j = jQuery; $ variable must replace with $j. 2009/10/13 Argo Vilberg > I also tried very simple example Submitbutton and onSuccess(). > This also does't work. > > Whe

Blog post about T5 being bad for interface developers.

2009-10-13 Thread Inge Solvoll
Quite interesting post, don't know if you've seen this. Howard answers in the comments. http://friendlybit.com/html/tapestry-5-and-how-not-to-treat-html/

Re: Upgrade to 5.1.0.5 submitbutton problem

2009-10-13 Thread Argo Vilberg
I also tried very simple example Submitbutton and onSuccess(). This also does't work. Where i can download 5.2 tapestry release? Sildi nimi void onSuccess() { try { LoendidBean.INSTANCE.insertLabel(getUser().getRoleId(), sildiNimi, getUser().getIdcode()); } catch(Exception ex) { Loen

Re: Upgrade to 5.1.0.5 submitbutton problem

2009-10-13 Thread Argo Vilberg
void onSelectedFromParingariregistrist() { System.out.println("onSelectedFromParingariregistrist"); cancel = true; delete = false; otsi = false; } KontaktisikLisa onSuccess() { try { System.out.println("otsi="+otsi); System.out.println("cancel="+cancel); System.out.println("delete="+delete