visit objects swapped between requests on high load

2006-12-30 Thread Henri Dupre
On this high christmas server load, the most rare problems seem to face at a higher rate... The worst one is that with our tapestry app (4.0), on rare occasions on concurrent requests (really concurrent, on the apache logs they show with 1s difference) from different users, the ASOs get swapped

RE: friendly url problem when setting context path to the web root directory

2006-12-30 Thread Firas Adiler
First a reservation: I'm not an expert! But I'm willing to help. Your configurations seem to be incomplete: 1) Did you specify a context for your webapp? Please see http://tomcat.apache.org/tomcat-5.0-doc/config/printer/context.html 2) How does your hivemind configuration for

Re: PropertySelection populated from database

2006-12-30 Thread RonPiterman
yes, this is the case if you use list index as value in your model. This should only be done if you know the list will not change across requests. If it does, use a databse primary key, and reload the entry from the database on the translate method in the model. Cheers and happy new year, Ron

Re: Re: JSR-168/268 support and Tapestry 5.0

2006-12-30 Thread Kristian Marinkovic
hi konstantin,IMHO portlets are going to get more and more important. if you lookat the new portlets 2.0 spec you will see AJAX defined to reload portletcontent, an event mechanism to notify one or more portlets, a new interportlet communication protocol, central session handling aso. With this

Re: PropertySelection populated from database

2006-12-30 Thread James Carman
There is a standard ISO code for countries. I'd use that. On 12/30/06, RonPiterman [EMAIL PROTECTED] wrote: yes, this is the case if you use list index as value in your model. This should only be done if you know the list will not change across requests. If it does, use a databse primary key,

Re: PropertySelection populated from database

2006-12-30 Thread galpi06
Oh right ... I get it. Thanks a lot. I'll use the ISO codes. Happy new year guys, galpi There is a standard ISO code for countries. I'd use that. On 12/30/06, RonPiterman [EMAIL PROTECTED] wrote: yes, this is the case if you use list index as value in your model. This should only be

browser handling of amp;

2006-12-30 Thread Dennis Sinelnikov
Hey guys, I hope this is an easy fix that someone already stumbled upon already... I keep getting amp; appeared in the browser address bar, instead of html code: input type=button value=Do Something onClick=serviceLink() script jwcid=@Any type=text/javascript function serviceLink() {

Re: browser handling of amp;

2006-12-30 Thread Jesse Kuhnert
window.location='span jwcid=@Insert value=ognl:serviceURL raw=true /'; On 12/30/06, Dennis Sinelnikov [EMAIL PROTECTED] wrote: Hey guys, I hope this is an easy fix that someone already stumbled upon already... I keep getting amp; appeared in the browser address bar, instead of html code:

Re: tapestry-spring and tapestry-flash for 4.1?

2006-12-30 Thread Howard Lewis Ship
I wish Maven had a versionwhatever-is-handy/version. I'll find some time this week to push out a 1.0.0 version of the flash and spring. They haven't changed in a long while. However, I think they should still default to Tapestry 4.0.1, since 4.1 is not stable yet (and I haven't tested them

Re: browser handling of amp;

2006-12-30 Thread Dennis Sinelnikov
doh! Jesse, you rock! Jesse Kuhnert wrote: window.location='span jwcid=@Insert value=ognl:serviceURL raw=true /'; On 12/30/06, Dennis Sinelnikov [EMAIL PROTECTED] wrote: Hey guys, I hope this is an easy fix that someone already stumbled upon already... I keep getting amp; appeared in the

Re: tapestry-spring and tapestry-flash for 4.1?

2006-12-30 Thread mraible
Is it possible to upload a new bundle for the latest 4.0.x with an org.apache.tapestry groupId? Also, you can do a redirect from tapestry/tapestry to org.apache.tapestry/tapestry? Here's an example from ehcache: http://repo1.maven.org/maven2/ehcache/ehcache/1.2.3/ehcache-1.2.3.pom Matt

RE: visit objects swapped between requests on high load

2006-12-30 Thread Jeff Lubetkin
We struggled with a similar bug during load testing of our last release. It turned out to be a non-static anonymous inner class of a page class being put into session. This inner class was calling the getter for an injected state object on the outer page class. Non-static inner classes hold

HoneycombLib/Hibernate problem

2006-12-30 Thread munich
I am trying to use HoneycombLib with MySQL and adapted the hivemodule.xml file. It seems like it still uses the hivemodule.xml file from inside the HoneycombHibernate-0.3.3.jar file? Any ideas how I can get it to work with MySQL or Postgres? org.apache.hivemind.ApplicationRuntimeException

ANN: Enjoying Web Development with Tapestry updated for T4.1 (with AJAX)

2006-12-30 Thread Kent Tong
Hi, I've updated my book for T4.1 with a new chapter on AJAX. The first four chapters are freely available. More info at http://www.agileskills2.org/EWDT Thanks! -- Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)