Is there any way to display an extension pages dialog box when my page loads?
相关问题
- Unresponsive buttons after certain time
- Xpages “filter by category name” with two fields v
- Logout control not working
- How to stream file from xPages?
- How to avoid the 64k limit when retrieving data fr
相关文章
- call partialRefreshGet from SSJS using view.PostSc
- Bootstrap4XPages plugin: how to catch a change eve
- How to add html stored in a richtext item to an HT
- Remove Dojo from XPages globally
- Complex Xpage takes long for partial refreshs
- Getting Application Layout to work with Bootstrap4
- Parsing JSON from HttpClient request using JSON.or
- How do you work around the issue of long load time
Bruce,
You could use jQuery to 'push' the button on page load.
Try putting this clientside js code in your onClientLoad event
You will have to load jQuery to use this if you don't already have it loaded. You might also be able to do the same thing with dojo.
EDIT: You might have to modify the selector (the tag and class in the parens line 2) above if not using bootstrap. I would give it a unique class so as not to 'push' any other buttons at the same time.
Add a
<xp:scriptBlock />
with the following client-side code as itsvalue
:XSP.addOnLoad(function(){XSP.openDialog("#{id:dlgMessage}");});
...just be sure to place the component outside any refresh targets, or it will launch the dialog again after every partial refresh event with a target that includes it.
Try adding a dojo.addOnLoad() (in a xp:scriptblock) that displays the dialog using CSJS: XSP.openDialog()