Re: t5: Snow Leopard upgrade?

2009-09-11 Thread Sebastian Hennebrueder
Hello, Leopard has Java 64 bit as well. If I open programs - service programs (name might be different, I translated the name) - Java, I can see Java 6 - 64 bit, 6 - 32 bit, 5 - 64 bit, 5 - 32 bit, 1.4 - 32 bit -- Best Regards / Viele Grüße Sebastian Hennebrueder - Software Developer

Re: Tapestry Training in Frankfurt, Germany: Nov 23-25

2009-09-11 Thread Sebastian Hennebrueder
Hello, just a note. The price of 1300 EUR is excluding VAT. VAT is 19 % in Germany. -- Best Regards / Viele Grüße Sebastian Hennebrueder - Software Developer and Trainer for Hibernate / Java Persistence http://www.laliluna.de Howard Lewis Ship schrieb: Sebastian Hennebrüder and I

Re: Website concept

2009-09-11 Thread ice
Agree to all of that. Fantastic analysis Sebastian. The whole documentation should revolve around Tapestry 5.x, and make it clear, an easy snapshot of what the framework looks like. Then more detailed information on demand. Michael Gerzabek wrote: Sebastian, great job! The main point is

Website task 1: convincing text for index page

2009-09-11 Thread Sebastian Hennebrueder
Hello, I spoke to Howard and we agreed on using a git repository temporarily to update the website. I have modified the skin and started to work on the menus. I would like to ask for help on working on a number of tasks, because I am not native English and I am missing features (like sales

Website task 2: describing the features

2009-09-11 Thread Sebastian Hennebrueder
Hello, there is a features pages in the about section of the new website. We need a new description on main features there. The text can be more technical then the text on the front page but it should be still understandable for an average new user or a new user with less technical interest

Website task 3: Chosen tutorial or articles

2009-09-11 Thread Sebastian Hennebrueder
Hello, there is a Chosen tutorial or articles page in the getting started area. We need to choose a number of uptodate tutorials and articles. 3-7 not more. This section targets the technical interested new user. I am looking forward to any kind of contributions and respond with the (solved)

Website task 4: Maven configuration

2009-09-11 Thread Sebastian Hennebrueder
Hello, there is a Maven configuration page in the Download section. It should describe, how to prepare Maven to use Tapestry in a project. It might take care of the modules, show a minimal configuration and things you need for Spring or Hibernate integration. This section targets the

Re: Dynamically creating submit buttons, how to call submit methods?

2009-09-11 Thread Stephan Windmüller
Thiago H. de Paula Figueiredo wrote: t:loop t:source=objetcs t:value=current t:formState=iteration t:submit t:id=toggleState t:context=current/ /t:loop This will not work, the id has to be unique. You could annotate your event handler method with @OnEvent(EventConstants.SELECTED) and

Website task 5: Third party libraries and components

2009-09-11 Thread Sebastian Hennebrueder
Hello, there is a Third party library page in the Extensions and modules section It should list third party libraries and components. I am not sure if the section (scroll down) on http://tapestry.apache.org/index.html is still up to date. Could someone check the list and complete it with

Re: Website task 1: convincing text for index page

2009-09-11 Thread Andreas Andreou
I'm wondering, why not use github.com ? It would be much easier: - for ppl to fork into their own repo - for you to gather all available edits/changes - for different contributors to collaborate with each other (and not directly with you, i.e. for specific translations, or subtasks) On Fri, Sep

Re: Dynamically creating submit buttons, how to call submit methods?

2009-09-11 Thread Stephan Windmüller
Stephan Windmüller wrote: I tried it and at first all seemed work. But then I recognized that each time the system behaves like I pressed the _last_ button. The context is always the same, regardless of which button I press. Hm, the above behaviour might be related to this thread:

Re: Website task 1: convincing text for index page

2009-09-11 Thread Sebastian Hennebrueder
Andreas Andreou schrieb: I'm wondering, why not use github.com ? Because setting up a temporary repository consist of two commands for me ssh lali initgit tapestry-website.git I don't have a githup account and the repository has a temporarily nature as well It would be much easier: -

Re: Website task 1: convincing text for index page

2009-09-11 Thread Andreas Andreou
I'm confident it'll pay back the wasted minutes, esp. as ppl start to contribute Additionally, it doesn't have to be something temporal... it can go on and include the new quickstart tutorial (as discussed in previous threads) and its translations. On Fri, Sep 11, 2009 at 3:05 PM, Sebastian

Re: Website task 1: convincing text for index page

2009-09-11 Thread Sebastian Hennebrueder
Hello Andreas, I believe you but let's wait for input of other people. If they agree, someone can set up a repository their. As it is no consequence to change the repository you are pulling from, we can migrate their at any time. Andreas Andreou schrieb: I'm confident it'll pay back the

Website task 6: Stylesheet and Colors

2009-09-11 Thread Sebastian Hennebrueder
Hello, currently the colors of the menu and the colors of the logo are not aligned and the content boxes inside of a page are not yet updated. The accordion is done with JQuery UI. I chose south-street as theme and you can select another theme or modify it directly on the JQuery UI web site

Re: t5: Snow Leopard upgrade?

2009-09-11 Thread Massimo Lusetti
On Fri, Sep 11, 2009 at 6:01 AM, Howard Lewis Ship hls...@gmail.com wrote: Hard to say; there's been some issues with Javassist and Java 6 not meshing together very well. I'm under java 6 from some time now and didn't have any issues till now... -- Massimo http://meridio.blogspot.com

Re: T5: AccessController Dispatcher asm.exists() not working?

2009-09-11 Thread Massimo Lusetti
On Thu, Sep 10, 2009 at 7:06 PM, neo anderson javadeveloper...@yahoo.co.uk wrote: Is this the same way as explained in http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher2? Or what's difference between this srategy? The chenillekit access module comes from the experience that made

Website preview

2009-09-11 Thread Sebastian Hennebrueder
Hello, I setup a preview website. You can find it here. http://tapestry.laliluna.de/ -- Best Regards / Viele Grüße Sebastian Hennebrueder - Software Developer and Trainer for Hibernate / Java Persistence http://www.laliluna.de

Re: Website preview

2009-09-11 Thread Alfonso Quiroga
I like it :-) On Fri, Sep 11, 2009 at 12:10 PM, Sebastian Hennebrueder use...@laliluna.de wrote: Hello, I setup a preview website. You can find it here. http://tapestry.laliluna.de/ -- Best Regards / Viele Grüße Sebastian Hennebrueder - Software Developer and Trainer for Hibernate

[T5.0.18] Out of Memory Error / Potential Leak (doesn't reduce after forced GC)

2009-09-11 Thread Dave Greggory
I have T5.0.18 running in Tomcat 5.5 with Java 1.5 32-bit -Xms2048m -Xmx2048m -XX:PermSize=128m -XX:MaxPermSize=128m. Configured as: tapestry.page-pool.active-window = 5 m tapestry.page-pool.hard-limit = 10 Ran a JMeter Load Test with 10 concurrent users Ramp-up time of

Re: [T5.0.18] Out of Memory Error / Potential Leak (doesn't reduce after forced GC)

2009-09-11 Thread Thiago H. de Paula Figueiredo
Em Fri, 11 Sep 2009 12:47:23 -0300, Dave Greggory davegregg...@yahoo.com escreveu: I have T5.0.18 running in Tomcat 5.5 with Java 1.5 32-bit -Xms2048m -Xmx2048m -XX:PermSize=128m -XX:MaxPermSize=128m. Have you tried 5.1.0.5? -- Thiago H. de Paula Figueiredo Independent Java consultant,

Re: [T5.0.18] Out of Memory Error / Potential Leak (doesn't reduce after forced GC)

2009-09-11 Thread Kalle Korhonen
I applaud the efforts, but I think you really really have to upgrade to 5.1.0.5 before you can get this on anybody's radar. There's a good possibility the same wouldn't happen in it. If you are running with -server (think it may be automatically chosen if you haven't specified with that heap max)

Re: [T5.0.18] Out of Memory Error / Potential Leak (doesn't reduce after forced GC)

2009-09-11 Thread Howard Lewis Ship
Tapestry 5.1.0.5 is more efficient, but that's mostly in terms of reducing the number of temporary objects created during a single request. 392,000 instances of ComponentPageElementImpl? How many pages in your application? Say there's 15 distinct pages. 392,000 / (15 district * 10 hard limit) =

Re: [T5.0.18] Out of Memory Error / Potential Leak (doesn't reduce after forced GC)

2009-09-11 Thread Dave Greggory
Yes, we're using a the Uber-component pattern as you put it. As that is the only way, we can build a dynamically defined Page. Right now, we have about 8 pages, containing possibly 12 Layout components, and 29 functional components, some of which a Form Components. And those contain 4

Re: [T5.0.18] Out of Memory Error / Potential Leak (doesn't reduce after forced GC)

2009-09-11 Thread Dave Greggory
Upgrading to 5.1 is going to require a lot of effort since we have hacked LinkFactory, RequestSecurityManager, etc to get functionality that did not exist. But we'll certainly do it if it will solve the problem. It's just that we don't know whether we can allocate the resources to do it unless

Re: Website preview

2009-09-11 Thread Madtyn
Nice design. Keep on with the good work. 2009/9/11 Alfonso Quiroga alfonsose...@gmail.com: I like it :-) On Fri, Sep 11, 2009 at 12:10 PM, Sebastian Hennebrueder use...@laliluna.de wrote: Hello, I setup a preview website. You can find it here. http://tapestry.laliluna.de/ -- Best

Re: [T5.0.18] Out of Memory Error / Potential Leak (doesn't reduce after forced GC)

2009-09-11 Thread Dave Greggory
NYC. - Original Message From: Howard Lewis Ship hls...@gmail.com To: Tapestry users users@tapestry.apache.org Sent: Friday, September 11, 2009 3:11:57 PM Subject: Re: [T5.0.18] Out of Memory Error / Potential Leak (doesn't reduce after forced GC) Although upgrading is a good idea

Re: [T5.0.18] Out of Memory Error / Potential Leak (doesn't reduce after forced GC)

2009-09-11 Thread Howard Lewis Ship
Although upgrading is a good idea for many reasons, I don't think it will solve your problem. You need a little re-architecting of your approach to get the component instance count back under control. Where are you located? On Fri, Sep 11, 2009 at 12:03 PM, Dave Greggory

Exception handling after violation of unique constraint

2009-09-11 Thread Bruno Santos
Thanks for your answer, i learned a bit more of tapestry. Now i have one more problem, not exactly related but in the same area. I have void onValidateForm() { if (entity.getId().longValue() == 0l) { league.setId(null); }

Re: Website preview - update

2009-09-11 Thread Sebastian Hennebrueder
Hello, I tried to limit the number of menu entries to 7. The magic number of items you can overlook. I removed the 'Getting a first impression' area and moved the content into the 'About Tapestry' area. We can still make a block on the front page to help user. The user guide requires a

Re: Exception handling after violation of unique constraint

2009-09-11 Thread Sven Homburg
what is your reason, that you want to persist the enity in the validation event? i think its more clear to persist it in the onSuccess event method with regards Sven Homburg Founder of the Chenille Kit Project http://www.chenillekit.org 2009/9/11 Bruno Santos bitbet...@gmail.com Thanks for

Re: Exception handling after violation of unique constraint

2009-09-11 Thread Bruno Santos
Hello, Well, the reason should be that with persist in validate() i validate that the entity that's inserted doesn't conflict with any database constraint like in this case and the onsucess isn't fired wich in the case a constraint is violated it doesn't seem to make sense. Anyway, even if i use

Re: Exception handling after violation of unique constraint

2009-09-11 Thread Thiago H. de Paula Figueiredo
Em Fri, 11 Sep 2009 18:30:34 -0300, Bruno Santos bitbet...@gmail.com escreveu: Hello, Hi! Well, the reason should be that with persist in validate() i validate that the entity that's inserted doesn't conflict with any database constraint like in this case and the onsucess isn't fired wich

Fwd: Exception handling after violation of unique constraint

2009-09-11 Thread Bruno Santos
Hit wrong button i guess, sent message only to Sven. Sorry -- Forwarded message -- From: Bruno Santos Date: Fri, Sep 11, 2009 at 11:19 PM Subject: Re: Exception handling after violation of unique constraint First i like to thank you (both) for your patience and help. Well, not

Re: Problem with ZoneUpdater in a component

2009-09-11 Thread Geoff Callender
That's right. ZoneUpdater works fine in a page, but not in a component. Here is ZoneUpdater in a page, working fine even when the field becomes empty or spaces:: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/ajaxonevent Here is ZoneUpdater in a

Re: Website preview - update 2 - WARNING to core committer

2009-09-11 Thread Sebastian Hennebrueder
Hello, I have integrated some documentation files from the tapestry-project/src/site into the new documentation. As a consequence, we need to take care that those files are not updated or changes are merged into the new docs. I used revision r811842 to copy the tutorial, faq,

Re: Exception handling after violation of unique constraint

2009-09-11 Thread Kalle Korhonen
I'm using the plain hibernate Session (shadow) and the pattern works great for me. But I think your problem is actually in (don't flush the Session after an exception occurs). You are doing something odd since you need to nullify the id. For a new object, the id should normally be null. Tapestry

Re: Exception handling after violation of unique constraint

2009-09-11 Thread Kalle Korhonen
On Fri, Sep 11, 2009 at 3:05 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: Em Fri, 11 Sep 2009 18:30:34 -0300, Bruno Santos bitbet...@gmail.com IMHO, you have to write code to do that (query the database if needed) Well that doesn't do anything else except merely lowers the

Re: Exception handling after violation of unique constraint

2009-09-11 Thread Thiago H. de Paula Figueiredo
Em Fri, 11 Sep 2009 23:11:59 -0300, Kalle Korhonen kalle.o.korho...@gmail.com escreveu: Interesting - I happen to think it's a great pattern to follow. You try to save and then roll back if it didn't work out - that's what the transaction management is for and Tapestry gives you a very nice

Re: Exception handling after violation of unique constraint

2009-09-11 Thread Kalle Korhonen
On Fri, Sep 11, 2009 at 7:26 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: Em Fri, 11 Sep 2009 23:11:59 -0300, Kalle Korhonen kalle.o.korho...@gmail.com escreveu: I think onValidate() is for validation, the data store should only be changed (or attepted to be changed) when