Hello,

Is there a way to distinguish action (or component events) requests from the
page render requests? I know that the request URL contains enough
information to figure it out... indeed, Tapestry has to do exactly that to
know which service must handle that. In fact, I found the method that does
this from the request path, but I didn't find if this information is stored
in some service (I only found a method that would parse the URL every time
it is called).

As request.isXHR(), is there something like xxxxxx.isActionRequest() or
xxxxxx.isPageRequest()? I need this to know when to use persist flash and
when not use it: I have a component that shows client messages (similar to
"alerts") but these messages to show, if they are generated in an action
request, they must be stored in a persist flash property (to recover them in
the next page request) but, if they are generated in an action request (or
also in XHR requests) they must be stored in a property without persist
flash... how can I know this?

Thanks.
-- 
View this message in context: 
http://n2.nabble.com/Distinguish-action-requests-from-page-render-requests-tp4586507p4586507.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to