RE: T5: Problems with Tapestry5-Acegi

2008-03-26 Thread Jacob Bergoo
Hi again, thanks to your advice I have manage to come a few steps closer to a working solution. But now I get this exception: [WARN] ServletHandler Error for /j_acegi_security_check java.lang.NoClassDefFoundError: org/springframework/web/bind/RequestUtils at org.acegisecurity.ui.rememberm

Re: ApplicationStateManager exception

2008-03-26 Thread petros
Yes, that fixed the problem but just to help debug this issue at a later stage, adding the public void testMe(String test); creates the same problem also. It behaves as if I can't change the implementation of User. Please observe that User extends the acegi UserDetails interface. I am not sure i

Re: ApplicationStateManager exception

2008-03-26 Thread Howard Lewis Ship
Not sure why the presense of the overrideMe() method would change things. When Tapestry instantiates a bean (such as a User, here) it always finds the constructor with the *most* parameters. Here it is trying to instantiate a User instance by injecting a User instance (into your copy-constructor)

Re: T5: IOC only app and annotation

2008-03-26 Thread Howard Lewis Ship
Nope, field level injection is only applicable to Tapestry component classes. For IoC services, injection is via the classes' constructor. On Wed, Mar 26, 2008 at 4:20 PM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi, > > Can we use annotation with IOC only app? instead of: > > Hello hello =

T5: IOC only app and annotation

2008-03-26 Thread Angelo Chen
Hi, Can we use annotation with IOC only app? instead of: Hello hello = registry.getService(Hello.class); we can do: @Inject Hello hello; ? -- View this message in context: http://www.nabble.com/T5%3A-IOC-only-app-and-annotation-tp16318689p16318689.html Sent from the Tapestry - User mailing

Re: [T4] PageRedirectException in pageValidate after AjaxDirectLink

2008-03-26 Thread Steve Shucker
I already had a servlet filter doing some custom authentication and handling redirects to a separate login service for expired sessions, so I added a little extra code in there. First off, you can identify ajax requests by the presence of an HttpServletRequest header called "dojo-ajax-request"

ApplicationStateManager exception

2008-03-26 Thread petros
I have a LayoutCmpnt.java with the following annotation and everything works fine @ApplicationState private User currentPrincipal; When I add the method overrideMe(User user) to the User POJO I am getting the following exception. Removing the overrideMe(User user) fixes the problem. Any ide

Re: [T5] Upload progress, grid sorting

2008-03-26 Thread Harald Geritzer
Finally i implemented my own sortmodel in my gridpage class which is rather a clone of the grid's DefaultGridSortModel. I think, the event where the initial sort should be set is the pageLoaded event...but at that point of time, the grids sortmodel isnt initialized yet and a NPE is thrown. Pr

Re: T5 (5.0.11) - ready for production deployment

2008-03-26 Thread Robert Zeigler
Caveat: I'm not using any of the ajax features (yet) But I have a "critical" app in production right now on 5.0.11, and it's running very nicely. Even the occasional NPE I was seeing before (see https://issues.apache.org/jira/browse/TAPESTRY-2037) appears to be completely "worked around" in th

Re: T5 (5.0.11) - ready for production deployment

2008-03-26 Thread Ben Acker
I have a 5.0.10 application running as a simple CRUD app @ my employment and it's running fine. -Ben On Mar 26, 2008, at 1:14 PM, Jan Vissers wrote: Hi, I have an opportunity to use T5 (5.0.11) in an assignment. My question is; is it safe for me to do so? The application is quite simple i

T5 (5.0.11) - ready for production deployment

2008-03-26 Thread Jan Vissers
Hi, I have an opportunity to use T5 (5.0.11) in an assignment. My question is; is it safe for me to do so? The application is quite simple in that not many UI components/forms have to be created. There will be a requirement to have google suggest like functionality, along with a small other Ajax c

Re: How is T5 tutorial?

2008-03-26 Thread Alex Shneyderman
Guys, This exchange turns to be disturbing. If you find someone a troll there is always an option to ignore him/her. IMHO, the message below is much more damaging than the trolling. Just a suggestion: maybe you guys can find it in your hearts to ignore trolls from now on. I also think it will be

[T5] Ajax validation

2008-03-26 Thread Zheng, Xiahong
If this topic has been discussed, please point me to the right place. It seems that, by default, tapestry 5 only does client side validation when you tab out of the input field. Server side validation happens on the form submit only. How can I enable server side validation on a field by field basis

RE: How is T5 tutorial?

2008-03-26 Thread Jonathan Barker
So, Rob Smeets Searching the archives, you have never requested nor offered technical assistance on the Tapestry mailing list. You have reported no success story that would show you have a real stake in Tapestry. Your writing style is strikingly similar to that of Trolls of days gone by.

[T5] Cdata?

2008-03-26 Thread Fernando Padilla
So.. Is anyone using tapestry's CData support at present? (i think no one, since Cdata is not used in HTML) Does anyone like it the way it currently is implemented? (i don't, but is anyone using them?) Howard, are there any plans for changing the way CData is dealt with? enhanced? (you can

Re: [T5] Upload progress, grid sorting

2008-03-26 Thread Andreas Pursian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Altering the code snippet from the wiki like this @Component ~private Grid taskGrid; @SetupRender ~public void setupGrid() { ~taskGrid.getSortModel().updateSort("columnName"); ~} work for me but produces the nasty side effect, t

Re: Contributing a HttpServletRequestFilter into the HttpServletRequestHandler service's configuration

2008-03-26 Thread Howard Lewis Ship
In your module, add a contribution method: public void contributeHttpServletRequestHandler(OrderedConfiguration configuration) { configuration.add("MyFilter", new MyFilter(...)); } There are other options to the add() method to control the order of your filter relative to the other filters in

Contributing a HttpServletRequestFilter into the HttpServletRequestHandler service's configuration

2008-03-26 Thread THIEBAUD Patrice
The Request Processing documentation says that the HttpServletRequestHandler pipeline can be extended by contributing a HttpServletRequestFilter into the HttpServletRequestHandler service's configuration. I guess that one has to provide an ordered list of HttpServletRequestFilter somehow, but I di

Re: How is T5 tutorial?

2008-03-26 Thread Adam Zimowski
But YOU STARTED it. Repeat, and memorize this you pathetic TROLL!!! YOU STARTED IT ! YOU STARTED IT !! YOU STARTED IT !! YOU STARTED IT !! YOU STARTED IT !! YOU STARTED IT !! YOU STARTED IT !! YOU STARTED IT !! YOU STARTED IT !! YOU STARTED IT !! YOU STARTED IT !! YOU STARTED IT !! YOU STARTED IT !

Re: How is T5 tutorial?

2008-03-26 Thread Rob Smeets
And is calling someone a Troll not an insult? You guys have been doing the insults. I haven't insulted anyone but I'm only pointing out the facts. Best wishes, Rob Smeets On Wed, Mar 26, 2008 at 2:52 PM, Davor Hrg <[EMAIL PROTECTED]> wrote: > you keep claiming your opinion should matter but, >

Re: LayoutCmpnt and Form submition

2008-03-26 Thread Howard Lewis Ship
Sure, it's just that the prepare, validateForm, failure, success and submit events will appear to originate inside the AddUpdateLayout component when handled inside the XYZAddUpdate page. On Sun, Mar 23, 2008 at 9:36 PM, petros <[EMAIL PROTECTED]> wrote: > > I have a LayoutCmpnt called AddUpdateL

[T4] PageRedirectException in pageValidate after AjaxDirectLink

2008-03-26 Thread Kelly Merrell
I'm having a problem with my authentication redirect when using Ajax to update page components. I use PageRedirectException on each page to redirect to a login page if the user is not logged in when the page validates. This works as expected when hitting the page normally, but if I am using an

Re: How is T5 tutorial?

2008-03-26 Thread Davor Hrg
you keep claiming your opinion should matter but, you are not a gwt or wicket user and you never asked a constructive or real question. You use every message to bash tapestry or it's community. If you can manage to ask a technical question about how to do something you will get an answer. Again if

Re: How is T5 tutorial?

2008-03-26 Thread Rob Smeets
I hope the men whose names you mentioned being me are reading and could respond. I'm Rob Smeets and take full responsibility of all what I write. So hold me responsible. Are you afraid of me or something? You'll be more productive facing what I write point by point and respond. Instead of calling m

Re: T5: SelectModel - a real world example

2008-03-26 Thread Marcelo Lotif
Adam, There's a LOT of different suggestions for expanding the Select component on the wiki, and your's is pretty good and different from the others. I think you should consider add it to wiki, so other developers will have more choices to pick until a better solution is not included in the core.

Re: Uploading templates/properties via FTP

2008-03-26 Thread Tobias Marx
4.1 Original-Nachricht > Datum: Wed, 26 Mar 2008 11:16:08 +0100 > Von: "Davor Hrg" <[EMAIL PROTECTED]> > An: "Tapestry users" > Betreff: Re: Uploading templates/properties via FTP > which version of tapestry ? > > On Wed, Mar 26, 2008 at 11:01 AM, Tobias Marx <[EMAIL PROTECTED]

Re: Uploading templates/properties via FTP

2008-03-26 Thread Davor Hrg
which version of tapestry ? On Wed, Mar 26, 2008 at 11:01 AM, Tobias Marx <[EMAIL PROTECTED]> wrote: > Hi there! > > I would like to separate Java code from property files and template for > the deployment process. > > In fact, I do not want to "deploy" templates and property files as such > and

Uploading templates/properties via FTP

2008-03-26 Thread Tobias Marx
Hi there! I would like to separate Java code from property files and template for the deployment process. In fact, I do not want to "deploy" templates and property files as such and instead provide FTP access for our customers so that they can change those files themselves. It is always such

Re: [T5] Upload progress, grid sorting

2008-03-26 Thread Harald Geritzer
See thanks, but the wiki seems to be outdated. since the sorting changed with 5.0.11 by introducing sortmodels updateSort does not exist anymore. i even tried to setting the sortmodels sortc

Re: [T5] Upload progress, grid sorting

2008-03-26 Thread Jesper Zedlitz
Harald Geritzer wrote: > how can i set the initial sortorder for a grid in tapestry 5.0.11? > See Jesper -- Jesper Zedlitz Dept. for Computer Science, CAU of Kiel Room 1108

Re: t5: IOC only app and maven package

2008-03-26 Thread Renat Zubairov
You can try to use this: http://mojo.codehaus.org/minijar-maven-plugin/ueberjar-mojo.html On 26/03/2008, Angelo Chen <[EMAIL PROTECTED]> wrote: > > > Hi, > > I revisted the wiki's sample about using IOC in a simple java application, > > http://wiki.apache.org/tapestry/Tapestry5HowToIocOnly > >

Re: T5 and Eclipse 3.3.2 and Tomcat 5.5

2008-03-26 Thread Renat Zubairov
Hi You can also try very simple setup. Just download a WAR file with T5 inside (you can build one using maven or just pick it one of these from here: http://code.google.com/p/tapestry4nonbelievers/downloads/list They have T5.0.10 inside but we can rebuild them with 0.11. Basically then you just

t5: IOC only app and maven package

2008-03-26 Thread Angelo Chen
Hi, I revisted the wiki's sample about using IOC in a simple java application, http://wiki.apache.org/tapestry/Tapestry5HowToIocOnly it works when compiled with Intellij IDEA, but when maven package, and run it as follow: java -cp mini-app.jar tapestry.mini.Main I got this error: Exception