使用应用程序布局时,有没有办法让徽标可以点击?单击顶部的徽标时,大多数网站都会返回主页,我的用户也会要求这样做.无法弄清楚如何...我很确定它与submittedValue有关,但你如何设置它为徽标?或者它可能是完全不同的东西,不确定.
我发现这个:在应用程序布局中点击事件横幅,但我不确定是否要在所有页面上添加一些客户端JavaScript.肯定有更好的办法.
我需要来自我的会话范围托管bean中的应用程序范围托管bean的值.不知道如何完成这项工作.在这里看到一个poste:https://guedebyte.wordpress.com/2012/05/19/accessing-beans-from-java-code-in-xpages-learned-by-reading-the-sourcecode-of-the-extensionlibrary / 但是我得到了一堆错误......我也发现了这个:JSF 2.0从另一个Bean访问应用程序范围bean 所以IM思考也许我需要重新定义我的应用程序bean ??? 完全无能......
我怎么能做到这一点?
这是应用程序范围bean的代码:
public class AppConfig implements Serializable {
private static final long serialVersionUID = 2768250939591274442L;
public AppConfig() {
initDefaults();
initFromConfigDoc();
}
// Control the number of entries displayed in the widgets
private int nbWidgetFavorites = 0;
private int nbWidgetMostPopular = 0;
private int nbWidgetToolbox = 0;
// Control the number of entries to display in the What's new view
private int nbWhatsNew = 0;
private String showDetailsWhatsNew = "no";
//controls …Run Code Online (Sandbox Code Playgroud) 我需要在xpage应用程序中嵌入PDF文件.我们使用的是IE11 x64,这是无法更改的.最后,我还需要嵌入MS Office文件(Word,Excel,Power Point).
我已经查看了很多页面并且无法为此获得有效的解决方案...如果我在IE10模式下强制IE11,我有一些代码可行,但是Dojo开始表现得很奇怪(无法关闭对话框,... ).
我现在在计算字段中的代码如下所示:
var id:string = pageDocument.getDocument().getUniversalID();
var attNames = @AttachmentNames();
var url = getAttachmentURL(id,attNames);
'<object data="' + url + '#view=Fit&pagemode=none&statusbar=0&messages=0"' +
'type="application/pdf" width="100%" height="100%" > ' +
'<p>It appears your Web browser is not configured to display PDF files. ' +
'No worries, just <a href="' + url + '">click here to download the file.</a></p>'+
'</object>'
Run Code Online (Sandbox Code Playgroud)
我需要一个免费的解决方案
IBM,如果我们想与SharePoint竞争,这应该变得容易,没有???