OnBeginWebRequest question

  
Hello,

I have 2 espaces (BaseTheme and Consumer)
1. Both have the system-action OnBeginWebRequest
2. Basetheme has the layout_normal with a preparation.
3. Consumer has got 2 pages (listpage and detailpage) with a preparation.
all "actions" have a simple audit to log if it's being executed.

according to service-studio help:
Use the OnBeginWebRequest action to handle the System event that occurs on each web request: this action is executed before the execution of a Preparation action or Screen actions of Web Screens. This action is only executed when the request is initiated by an end-user

so why does the logging only show:
27-03-2013 14:34:49 Consumer
(BeginWebRequestIssue)
Layout_Normal preparation BaseTheme
27-03-2013 14:34:49 Consumer
(BeginWebRequestIssue)
ListPage preparation Consumer
27-03-2013 14:34:49 Consumer
(BeginWebRequestIssue)
OnBeginWebRequest Consumer Consumer
27-03-2013 14:34:48 Consumer
(BeginWebRequestIssue)
Layout_Normal preparation BaseTheme
27-03-2013 14:34:48 Consumer
(BeginWebRequestIssue)
DetailPage preparation Consumer
27-03-2013 14:34:48 Consumer
(BeginWebRequestIssue)
OnBeginWebRequest Consumer Consumer
27-03-2013 14:34:36 Consumer
(BeginWebRequestIssue)
Layout_Normal preparation BaseTheme
27-03-2013 14:34:36 Consumer
(BeginWebRequestIssue)
ListPage preparation Consumer
27-03-2013 14:34:36 Consumer
(BeginWebRequestIssue)
OnBeginWebRequest Consumer Consumer
27-03-2013 14:34:21 (System) Espace 'Consumer' (version 1) ready to finalize deploy (user: 'jlandgraf') ServiceCenter
27-03-2013 14:34:19 (System) Espace 'Consumer' (version 1) compiled (user: 'jlandgraf') ServiceCenter
27-03-2013 14:33:57 (System) Espace 'Consumer' (version 1) uploaded (user: 'jlandgraf') ServiceCenter
27-03-2013 14:32:12 (System) Espace 'BaseTheme' (version 1) ready to finalize deploy (user: 'jlandgraf') ServiceCenter
27-03-2013 14:32:05 (System) Espace 'BaseTheme' (version 1) compiled (user: 'jlandgraf') ServiceCenter
27-03-2013 14:31:39 (System) Espace 'BaseTheme' (version 1) uploaded (user: 'jlandgraf') ServiceCenter

I do not understand why the basetheme-onbeginwebrequest is not firing even through the preparation of the layout-normal is firing.
It does get fired when you, for example, click on the logo...
If it's by design, the help should be fixed and explained why it's not beging fired.
otherwise, what am I missing?? :)

I am using platform-server 7.0.5.2 java (weblogic) stack
(attached is the basic example, you need to ipp if you want to test it, sorry, bit lazy in that department)
Hi,

The OnBeginWebRequest that executes is only the one in the eSpace that owns the WebScreen.
The behavior looks ok on your logs.

Regards,
João Rosado
so, if I understand you correctly, if you have a consumer and producer espace which both have the system action OnBeginWebRequest, only the consumer-espace one is being called?


I expected the OnBeginWebRequest "Producer" also being executed... (since the layout_normal preparation  is being executed as well)

The documentarion could be a little more explicit, but it os still correct. The mentioning of the preparation is just to give a timeline on when it is executed.
Only the top consumer espace action is called.

Regards,
João Rosado
Ok thanks.

Interesting fact.