Re: Trouble with new ASO Scope

2005-12-31 Thread Eli Doran
Happy New Year I found it. DirectService calls triggerComponent then renderResponse (of course). So, my listeners doing a redirect after their work are totally avoiding hitting the ApplicationStateManager.flush() call in ResponseRendererImpl.renderResponse() and by the time AbstractEngine wou

Re: application hanging

2005-12-31 Thread Todd Orr
Have you tried submitting the page to a results page just to see if the behavior continues? On 12/29/05, Mazhar, Osman (Home Office) <[EMAIL PROTECTED]> wrote: > > I am having a weird problem with my application. I have a search page > where > the search criteria and the search result show up on t

Re: Trouble with new ASO Scope

2005-12-31 Thread Eli Doran
I assume you mean the flush() on ApplicationStateManager which occurs right after cycle.cleanup() in AbstractEngine. That's where I started messing around. Eventually I made it to ResponseRendererImpl.renderResponse(..) where it creates the IMarkupWriter that it closes before exiting. Since the

Re: Trouble with new ASO Scope

2005-12-31 Thread Howard Lewis Ship
I believe I intended the flush() method to be the one that actually writes the cookies out. The intent being to assemble a map of cookie keys and values and write those cookies out inside flush(). However, the timing is completely wrong! The flush() is called even aftter the request cycle is clea

Re: URL of the current page

2005-12-31 Thread Howard Lewis Ship
What you want to do is very similar to a the redirect-after-post form submission pattern. The string used with @InjectObject is broken into two parts; the prefix and the value. The prefix identifies how the value is parsed and interpreted. The "service:" prefix is built-in to HiveMind, and refer

Re: URL of the current page

2005-12-31 Thread Dmitry Gusev
I think it must be something like that: @InjectObject("service:Page") public abstract PageService getPageService(); @InjectObject("infrastructure:linkFactory") public abstract LinkFactory getLinkFactory(); Take a look at tapestry docs about property injection... you can inject vi

Re: URL of the current page

2005-12-31 Thread Jean-Eric Cuendet
Take a look at the PageService.getLink() method implementation... Thanks, that could help. Could you please explain how to Inject this Object into my page? Something like: @InjectObject("service:") public abstract PageService getPageService(); What should be what_to_put ? And need I to

Re: Happy New Year! Spindle for T3 gets an end of year tweak.

2005-12-31 Thread Massimo Lusetti
That's good news to hear... Live long and prosper -- Massimo http://meridio.blogspot.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: URL of the current page

2005-12-31 Thread Dmitry Gusev
Take a look at the PageService.getLink() method implementation... You can implement such method in you page class like this: public abstract PageService getPageService(); public abstract LinkFactory getLinkFactory(); private ILink getCurrentPageLink() { Map parameters = new

Re: URL of the current page

2005-12-31 Thread Jean-Eric Cuendet
Thanks, but that's not what I need... I need a way to get the URL of the current page in Tapestry. And also how to handle arbitrary parameters passed to that page using http://server/page.html?&*param*=*Value* I need to get param. Thanks. -jec Thom Hehl a écrit : Apache has another project in

Re: How to inject visit object into pojo

2005-12-31 Thread John Smith
Dmitry, I can't find any information on ApplicationStateObjectProvider. Can you send me an example? Original Message Follows From: Dmitry Gusev <[EMAIL PROTECTED]> Reply-To: "Tapestry users" To: Tapestry users Subject: Re: How to inject visit object into pojo Date: Sat, 31 Dec 2005 11:

Re: How to inject visit object into pojo

2005-12-31 Thread Dmitry Gusev
You may create ApplicationStateObjectProvider to set the Visit object as a property of a pojo via hivemind. 2005/12/30, John Smith <[EMAIL PROTECTED]>: > > I apologize for just mooching help off this list, but I haven't been able > to > figure this out other places. > > For my database layer, I wa

Tapestry Job stats in the UK

2005-12-31 Thread Geoff Longman
First time I've seen any stats for Tapestry stuff. cool http://www.itjobswatch.co.uk/skills_and_rates/tapestry.do Geoff -- The Spindle guy. http://spindle.sf.net Get help with Spindle: http://lists.sourceforge.net/mailman/listinfo/spindle-user Announcement Feed: http://www.jr

Happy New Year! Spindle for T3 gets an end of year tweak.

2005-12-31 Thread Geoff Longman
More info here: http://www.jroller.com/page/glongman?entry=spindle_3_2_7_released Geoff -- The Spindle guy. http://spindle.sf.net Get help with Spindle: http://lists.sourceforge.net/mailman/listinfo/spindle-user Announcement Feed: http://www.jroller.com/rss/glongman?catname=/Anno