Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

WindowWrapper

Window#close

JS-API

jsf.getWindowId(

...

)

...

  • rootId, type:String, optional

returns the current window id of the current window/dialog.
The parameter rootId, specifies the rootId which has a reference to the windowId to be determined.
(needed for inframe subdialogs which might have different window ids)

If no viewRootId is given or the viewRootId is null the central viewRootId is used
(this goes hand in hand with the jsf.js ViewRoot extensions filed for jsf 2.2)

If the windowId mechanism is off, then this method will return null, if the mechanism is on
then this method will always return the windowId depending on the rootId or viewRootwindowId must be present in the url otherwise a null is returned.

Changes in the behavior on the ajax side

...