 |
|
 |
Subject: What is the facet "execution" order? |
 |
 |
 |
Product Area: Domino Server |
 |
Technical Area: Functionality |
 |
Platform: ALL |
 |
Release: 8.5.1 |
 |
Reproducible: Not applicable |
 |
 |
 |
 |
- I have an XPage that uses a facet in a template custom control. That template contains the banner, application title bar, bread crumbs, and footer. The facet is the content.
- That content may or may not employ one or more facets. For the particular issue I'm having, the content employs one facet called "Navigator", with panes and custom controls for the actual content.
- That "Navigator" facet is a custom control that, amongst other things, builds an ad-hoc list of links based on data and configuration documents. Because these links are built here, it also sets a session variable here to provide a "friendly" name for the last link clicked, which is supposed to appear as the first entry in the bread crumbs (on the template control). It's a sessionScope variable to allow any page in the system, which all display the bread crumb, to consistently display this first link as dynamic text, instead of a generic "Home" label.
- Unfortunately it doesn't work that way. I'm thinking it's a timing issue - because the template control has the bread crumb control in it, and the JS that sets the sessionScope value is "two levels down" (content facet is level one, navigator facet is level two), the bread crumb is using the sessionScope value *before* the navigator sets it.
- I'd just like verification that is what's happening. For instance, if it "executes" (renders, traverses, whatever) the facets first, in order to know how much window real estate they consume, then the navigator should always "run" before the bread crumbs, and what I describe can't be happening.
- If what I describe is happening, is there some way to tell the bread crumb control to repaint itself? If so I could simply "invalidate" the bread crumb after updating the value and all should be well.
Thanks for your time...
 
Feedback number DGIE7WYQNN created by ~Holly Zekhipisonnivu on 10/19/2009

Status: Open
Comments:

What is the facet "execution" order... (~James Brewever... 19.Oct.09)
. . Use an event (~Elizabeth Cisb... 20.Oct.09)
. . . . Of course! (~James Brewever... 20.Oct.09)
. . . . Sadly beforeRenderResponse does not... (~James Brewever... 20.Oct.09) |
|  |
|