XPages Navigation - Updating Panels with Link onclick Events -


I am trying to deploy "Configurable and Extensible XPages Navigation Buildings"

.

.

My design is very basic and traditional: two panels in the left panel as a custom control link with navigation. Left panel in right panel In order to display XPages as a result of the onclick event of the link "Page Include "Control".

Problem: The correct panel can not be found to update.

Tried, in vain: Passing session SSJS, partial update, with partial update Scope parameter with PostScript.

My code: My "almost" working version - Really need to manually refresh / reload to appear in the actual "The page included" control of the desired panel.

Link On Click Do: sessionScope.showPage = "xspByYear.xsp"; Partial update of the right panel.

"Include page" on the right panel - PageName and OnLlite Loud (with Home by default):

  var tmp = sessionScope.showPage; If (tmp == faucet) {"xspHome.xsp"; } Else {tmp; }  

Note: "$" was added to all properties / page names, which was not allowed to be changed to "#": "... run time binding can not be done."

You can pass the "Include Page" control in a panel. Set the panel an ID and refresh the panel in the onclick event of the link (partial update).

& lt; Xp: panel id = "panel correction" & gt; & Lt; Xp: Page name = "/ MyXPage.xsp" id = "include1" & gt; & Lt; / Xp: Add & gt; & Lt; / XP: Panel & gt;

Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -