Re: OT: Better Java performance on Linux

2007-01-22 Thread Inge Solvoll
Hi Thanks, that's what I thought. Now I'm not really sure what would be best for our environment. We run eclipse, jboss and tomcat on our machines, and need the most efficient environment possible for those 3 things. jboss is restarted 1 or 2 times a day, while tomcat is restarted many times a da

Re: OT: Better Java performance on Linux

2007-01-22 Thread Martin Strand
You should definitely run the server VM. Check java -version, some linux packages are already configured to use the server VM. Otherwise, just pass -server to java when you start it. On Mon, 22 Jan 2007 09:35:25 +0100, Inge Solvoll <[EMAIL PROTECTED]> wrote: Hi Thanks, that's what I tho

Re: Empty string becomes null on submit

2007-01-22 Thread Inge Solvoll
Actually, I didn't expect this behaviour. And I'm pretty sure it worked a couple of months ago. It seems perfectly natural to me that an empty string submitted from the user should actually become an empty string in java. Inge On 11/30/06, Ron Piterman <[EMAIL PROTECTED]> wrote: afaik this is

Re: Acegi and Visit object

2007-01-22 Thread Shing Hing Man
Just in case you have not come across it and might be useful to you, the following is an example of using a Tapestry page as a form login page in Acegi. http://wiki.javascud.org/display/hsa/Acegi+and+Tapestry--A+Step-by-Step+Guide Shing --- Jesper Zedlitz <[EMAIL PROTECTED]> wrote: > -B

Re: Acegi and Visit object

2007-01-22 Thread James Carman
By the way, you don't *have* to implement your UserDetailsService inside a Spring container. You can do so, but you lose the easy ability to have other HiveMind services automatically injected into your implementation instance. Since you're just implementing an interface, I really see no need to

Re: Friendly URL's and service encoders

2007-01-22 Thread Steve Shucker
I'm not sure if it's legal to map the "html" extension to two different encoders. Try using a different extension for the external pages. -Steve Peter Stavrinides wrote: Does anyone have any ideas? Peter Stavrinides wrote: Hi everyone I am having some trouble with friendly URL's. Getting

4.1.2 Exception page

2007-01-22 Thread Damir Bijuklic
Hi, Is overriding exception page supported in 4.1.2? If I override exceptionPageName in tapestry.InfrastructureOverrides it works ok for page requestes, but ajax responses get confused and return whole content of exception page. Damir _

RE: Re: T41: Are there any known problems with BASE tag?

2007-01-22 Thread Anna Vo
Jesse- You're awesome! :) -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Sunday, January 21, 2007 11:02 AM To: Tapestry users Subject: Re: Re: T41: Are there any known problems with BASE tag? I did finally track down the root cause of all this image css path non

Re: Acegi and Visit object

2007-01-22 Thread jake123
James Carman wrote: > > Basically, tapestry-acegi just allows you to glue all of the Acegi > stuff together using HiveMind, rather than Spring (it's all just > "object soup" right?). Actually, the majority of the configuration of > the services goes on outside of tapestry-acegi itself (it's in

Re: Acegi and Visit object

2007-01-22 Thread andyhot
jake123 wrote: Hi James, You have to excuse me but I am on my first time on integrating tapestry and acegi. So I might have some question that is obvious for others... again, simply follow http://wiki.apache.org/tapestry/AcegiSpringJava5 Then create your own implementation of org.acegisecur

creating named form components

2007-01-22 Thread Damir Bijuklic
Hi, I have another question for the tapestry crowd. Can i programaticaly generate names for my components? I generate some parts of my form from a domain model and generated components get assigend names by tapestry (like $TextField_n). I would like to be able to specify their names so i can e

Re: Acegi and Visit object

2007-01-22 Thread Robin Ericsson
On 1/22/07, andyhot <[EMAIL PROTECTED]> wrote: jake123 wrote: > Hi James, > You have to excuse me but I am on my first time on integrating tapestry and > acegi. So I might have some question that is obvious for others... > again, simply follow http://wiki.apache.org/tapestry/AcegiSpringJava5 T

Re: BeanForm message catalog

2007-01-22 Thread Barry Books
You can store the messages in a properties file just like table, but I run all my messages out of a database also and beanform works for me. I set my database up so it looks up a key and if it does not find one it creates a record with a null value. Then I can find all the keys I don't have.

RE: OT: Better Java performance on Linux

2007-01-22 Thread Mark Stang
Inge, For development, I would use the desktop version, it starts and stops quicker. As far as the garbage collection goes, you probably won't see it with all the restarts. However, for production server, I would use the J2EE Server version. And ultimately, you might want to modify the start-

RE: Friendly URL's and service encoders

2007-01-22 Thread Firas Adiler
Peter, I'm not quite sure where the problem is. Obviously you can't use the same extension for different encoders. But you can certainly access the SAME page through a PageLink and an ExternalLink. In your page class, you would need to implement the activateExternalPage method of the IExternalPag

Re: Acegi and Visit object

2007-01-22 Thread Jesper Zedlitz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jesper Zedlitz wrote: > I am still working on a solution for form based login. > Here is my first attempt for a form based login: http://wiki.apache.org/tapestry/AcegiSpringJava5FormBased I am sure you have some ideas how to improve it. It has only be

Re: Acegi and Visit object

2007-01-22 Thread Robin Ericsson
On 1/22/07, Jesper Zedlitz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jesper Zedlitz wrote: > I am still working on a solution for form based login. > Here is my first attempt for a form based login: http://wiki.apache.org/tapestry/AcegiSpringJava5FormBased I am su