Taking out-sourcing projects

2010-10-16 Thread donf yang
Hi there, We are very experienced J2EE developers, taking out-sourcing projects, pm me for resumes. Thanks -- Regards, Donf Yang -- To be surprised,to wonder,is to begin to understand.

Re: Thanks for making my life hell!

2010-10-16 Thread ael
Yes you are right mohamed... I dont like to read documentation. I prefer to reverse engineer the source code because it is fun, In my part... Thats why tapestry is hard for me when you don't read docs :) hehehehe... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Than

Re: Should Tapestry phone home?

2010-10-16 Thread ael
I Agree a new site for Tapestry Products ^_^ +1. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Should-Tapestry-phone-home-tp3207776p3215946.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: how to create a loop of parameters?

2010-10-16 Thread ael
JQuery + Prototype is still the BEST buddies... If it is hard on tapestry use third parties ^_^... -- View this message in context: http://tapestry.1045711.n5.nabble.com/how-to-create-a-loop-of-parameters-tp3212860p3215942.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: login with stored procedure

2010-10-16 Thread ael
In Postgres you can create a function that will return a boolean data type. Then let tapestry decide ^_^. -- View this message in context: http://tapestry.1045711.n5.nabble.com/login-with-stored-procedure-tp3215112p3215941.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Developing a Shopping Cart Component (T5.0.1.5)

2010-10-16 Thread ael
Yes i think SSO is the best for this But in my session class should i use list? How can i add some data in the cart? session Class List cart = new List(); Getter cart.get() Setter cart.set() -- View this message in context: http://tapestry.1045711.n5.nabble.com/Developing-a-Shopping-Cart

Re: [T5] Complexity for simple things, where is the documentation?

2010-10-16 Thread Taha Hafeez
May be this helps! // // Mixin // package tapestrydemo.mixins; import org.apache.tapestry5.ComponentResources; import org.apache.tapestry5.BindingConstants; import org.apache.tapestry5.services.javascript.JavaScriptSupport; import org.apache.tapestry5.ClientElement; import org.apache.tapestry5.an

Re: [T5] Complexity for simple things, where is the documentation?

2010-10-16 Thread Thiago H. de Paula Figueiredo
On Sat, 16 Oct 2010 18:30:15 -0300, iberck wrote: In this example, what happend if I want to learn mixins for create my own, where is the official documentation? http://tapestry.apache.org/tapestry5.2-dev/guide/mixins.html. I just went to the T5.2 front page and searched for "mixin". Mus

Re: [T5] Complexity for simple things, where is the documentation?

2010-10-16 Thread iberck
Thank you very much for your time and your responses In this example, what happend if I want to learn mixins for create my own, where is the official documentation? Must I necessarily download and understand the source code of Autocompletemixin for learn? I think not all users are used to downl

Re: login with stored procedure

2010-10-16 Thread Chris Poulsen
Hi, On 16-10-2010 15:50, Andrey Gladilin wrote: Hi guys, Is there a way to make authentication in Tapestry using store procedure. Yes, Tapestry does not care much about how you implement your security. I have several stored procedures in Postgres, like login(session_id, username, passwor

Re: login with stored procedure

2010-10-16 Thread Kalle Korhonen
Hibernate has a fine support for executing stored procedures (see e.g. http://blog.randompage.org/2008/03/stored-procedures-made-easy-with.html). Probably similar for Spring Security but at least with Tynamo's tapestry-security module (http://tynamo.org/tapestry-security+guide), you'd just need to

Re: [T5] Complexity for simple things, where is the documentation?

2010-10-16 Thread Vangel V. Ajanovski
If you ONLY want to refresh your whole page every 1 second you can do it in many ways. Without Tapestry. One is with a pretty simple javascript, like for example in this guide: http://www.quackit.com/javascript/javascript_refresh_page.cfm Usually you would not use xx megabytes of special software

Re: No 404 error is raised

2010-10-16 Thread Josh Canfield
> Actually 5.2 has an HttpError class you can return from the activate > event, thus: Cool, I missed that. On Sat, Oct 16, 2010 at 10:55 AM, Howard Lewis Ship wrote: > Actually 5.2 has an HttpError class you can return from the activate > event, thus: > >  Object onActivate(EventContext context)

Re: Override Default Co

2010-10-16 Thread Howard Lewis Ship
On an Ajax request, if you don't return a value, Tapestry sends down an empty JSON object as the response, and the client side is free to ignore that. On Sat, Oct 16, 2010 at 2:07 AM, Alessio Gambi wrote: > Hi Thiago, > > thanks! > > I managed to advice the ComponentEventResultProcessor and that

Re: No 404 error is raised

2010-10-16 Thread Howard Lewis Ship
Actually 5.2 has an HttpError class you can return from the activate event, thus: Object onActivate(EventContext context) { _context = context; if (_context.getCount() == 0) return null; return new HttpError(404, "Resource not found."); } On Sat, Oct 16, 2010 at 9:45 AM, Jo

Re: No 404 error is raised

2010-10-16 Thread Josh Canfield
> Can somebody please explain how I can work around this for the novice here? It depends on what you wan to do. If you are looking to prevent tapestry from handling specific urls then you can contribute to the ignored paths filter as described here: http://tapestry.apache.org/tapestry5/guide/conf

Re: login with stored procedure

2010-10-16 Thread Thiago H. de Paula Figueiredo
On Sat, 16 Oct 2010 10:50:50 -0300, Andrey Gladilin wrote: Hi guys, Hi! Is there a way to make authentication in Tapestry using store procedure. I have several stored procedures in Postgres, like login(session_id, username, password, locale) logout(session_id) get_roles(session_id)

login with stored procedure

2010-10-16 Thread Andrey Gladilin
Hi guys, Is there a way to make authentication in Tapestry using store procedure. I have several stored procedures in Postgres, like login(session_id, username, password, locale) logout(session_id) get_roles(session_id) I was trying to use Spring Security, but did not find a way to use stor

Re: [T5] Complexity for simple things, where is the documentation?

2010-10-16 Thread Inge Solvoll
You won't find any simpler solutions to this in other frameworks either. If you want to create a page that refreshes itself with the serve time periodically, you can't avoid at least some knowledge about how AJAX works in general. You may avoid javascript by using Google Web Toolkit, but that has i

Re: No 404 error is raised

2010-10-16 Thread stephanos
> I think the best approach is to leverage the ignored paths mechanism. > That is early in the response processing pipeline, and will have a > good chance to ignore what should be ignored. Can somebody please explain how I can work around this for the novice here? :) Help very appreciated! --

Re: Override Default Co

2010-10-16 Thread Alessio Gambi
Hi Thiago, thanks! I managed to advice the ComponentEventResultProcessor and that was fine for covering all the cases but one: the void return type. In my case, I would like to handle Ajax requests that triggers event method handlers, which in turn have a void return type, and avoid to r

[T5] Complexity for simple things, where is the documentation?

2010-10-16 Thread iberck
I'm little confused with Tapestry In another past post I asked how can I refresh my page with the server time: http://tapestry.1045711.n5.nabble.com/T5-Refresh-1-second-Ajax-method-td3210194.html#a3210194 I only need refresh my page with the server time and I need to learn mixins, ajax, zones, p

Re: Wrapping a grid

2010-10-16 Thread MohammadS
I just needed to do something similar. Basically needed to normalize the paginated (via database) output of a grid with slightly different queries going into the db pagination call. I know you asked this question a long long long time ago, but thought it'll be here for the next guys looking for