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
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
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
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
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
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
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
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]
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
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
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:
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
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
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
14 matches
Mail list logo