Re: Little confused

2008-05-17 Thread Ned Jackson Lovely
Set your private variable to null in your onSuccess function. On 5/17/08, Manuel Corrales <[EMAIL PROTECTED]> wrote: > Thanks for your answer, but i still have the same issue. Maybe i am not > explaining the problem ok. I have a page with a link, when i press the link > the application goes to the

Re: T5 onActivate

2008-06-10 Thread Ned Jackson Lovely
On Sun, Jun 8, 2008 at 5:00 AM, maxthesecond <[EMAIL PROTECTED]> wrote: > As for loggin the request-filter option is very attractive, all that crap in > just one place. I've been wondering about the request filter... To determine which page is being accessed, I've been parsing the path myself, usi

Re: [T5] How to add a extra column for delete/update action using Grid component.

2007-08-21 Thread Ned Jackson Lovely
On Tue, Aug 21, 2007 at 10:21:32PM +0800, Allen Guo wrote: > Usually we display user list using grid component. It's like this > pagerPosition="both"> > > > As shown above, the source property value is 'users' is just the user > list may fetch from database. > The result will display all propert

Re: [T5] Usage of Grid component

2007-08-31 Thread Ned Jackson Lovely
On Thu, Aug 30, 2007 at 08:06:54AM +0200, Christoph Jaeger wrote: > A comma separated list of properties would be great. Then you can hide > and sort columns as you like (didn't think about sorting yet). http://blog.njl.us/blojsom/blog/default/2007/09/01/Configurable-Grid -- njl ---

Re: T5: Editing a db persisted object with BeanEditForm

2007-09-01 Thread Ned Jackson Lovely
On Fri, Aug 31, 2007 at 06:24:58PM +0300, Imants Firsts wrote: > How do I correctly set up a BeanEditForm for editing a > hibernate entity? I don't think I'm even close to writing idiomatic Tapestry 5 (if such a thing even exists), but here is the pattern I've been using: EditMyBean.java ---

Re: [T5]

2007-10-01 Thread Ned Jackson Lovely
On Mon, Oct 01, 2007 at 05:00:30PM +0200, Borut BolĨina wrote: > is there a T5 way of sending and receiving cookies? @Inject private RequestGlobals _requestGlobals; You can then call _requestGlobals.getHTTPServletRequest() and _requestGlobals.getHTTPServletResponse() to get access to the Servlet

Re: [T5]

2007-10-01 Thread Ned Jackson Lovely
On Mon, Oct 01, 2007 at 10:56:56AM -0500, Robert Zeigler wrote: > Or... > > @Inject > private Cookies _cookies; > > You can then do: > > readCookieValue("mycookie"); > and there a variety of "writeCookieValue" methods offering control > over the age, domain, path, etc. Excellent! Thank you. I

T5: contributeValueEncoderSource

2008-08-09 Thread Ned Jackson Lovely
I'm using tapestry-hibernate, and I'm enjoying all the magic that it provides, but I'm having one issue. I'd like to provide my own ValueEncoderSources for my mapped entities. I need to do some security checks and other housekeeping as I load them. Unfortunately, when I attempt to do something li

Re: T5 tapestry-spring: have to interface all HibernateDaoSupport methods

2007-06-25 Thread Ned Jackson Lovely
On Mon, Jun 25, 2007 at 06:02:16PM -0500, Bill Holloway wrote: > I have the following DAO pattern: > > public class FooDaoImpl > extends HibernateDaoSupport > implements FooDao > { > // some custom Foo dao methods. > } > > However, tapestry-ioc spring bean injection injects via inte