在不久的将来,我要更新更大的XPage应用(开发时间三年以上),现在运行Domino Server 8.5.3 FP6
到Domino Server 9
.在我正在使用的这个应用程序中,IBM OneUIv2.1
但我不确定是否应该进一步使用它.不幸的是,我没有经验Bootstrap
,但是在最后一个扩展库版本中,更新的一个重要部分是Bootstrap:
此版本是OpenNTF的第十六个IBM Notes Domino 9.0.1版本的XPage扩展库(ExtLib).此版本包含一个重要的Bootstrap升级到3.3.6.
那对我来说似乎是未来的XPages CSS框架?我对吗?
在此先感谢您分享您的体验!
目前我正在重新设计一个更大的应用程序.在后端我只想使用,java
而不是javascript
因为许多其他原因(清洁代码,关注点分离等)我正在使用Jesse Gallagher 的XPages Scaffolding项目(感谢他的这项工作).
我非常喜欢controller classes
这个项目,但我对这个架构方法有一个问题:
控制器类与xpage(.xsp)具有一对一的连接.在BasicDocumentController
类中,以下方法protected DominoDocument getDoc()
负责获取相应的数据源(DominoDocument)但是 - 这是我的挑战 - 我在一个xpage中有多个数据源.
可能的方法:
a)覆盖getDoc()
方法MyDocumentController
(仅对一个数据源有意义)
b)两个控制器类MyDocumentControllerA
MyDocumentControllerB
?
c)等
处理这一要求的适当方法是什么?
提前感谢任何暗示!
我刚安装的组队,探索插件在我Domino Designer FP7
和一些测试后(也许)我发现了一个错误.
不幸的是$DesignerVersion
,$$ScriptName
如果你在分支之间切换,内部字段就会丢失!
这是我的测试场景:
form1.form
)master
分支进行初始提交develop
form1.form
在develop
分支中做一些更改master
分支在此步骤之后,内部字段(如上所述)丢失:(
每个 Ionic 项目都有一个项目配置文件ionic.config.json,您可以在其中配置应用程序的人类可读名称:
{
// The human-readable name of the app.
"name": "My App",
// The project type of the app. The CLI uses this value to determine which
// commands and command options are available, what to output for help
// documentation, and what to use for web asset builds and the dev server.
"type": "angular",
// The App ID for Ionic Appflow.
"id": "abc123",
// Configuration object for integrations such as Cordova and Capacitor.
"integrations": { …
Run Code Online (Sandbox Code Playgroud) 几天以来,我Internet Explorer 11
在与dojo toolkit 1.9.4
由Domino Server
.
源代码:
if (dojo.exists("btnUpload")) {
console.log("btnUpload exist ... do something...");
} else {
console.log("btnUpload doesn't exist...");
}
Run Code Online (Sandbox Code Playgroud)
使用 IE11 的返回值dojo.exists()
始终为false!
IE11 调试器:
但是在所有其他浏览器(Mozilla Firefox、Google Chrome、Apple Safari)中它都可以工作!
我想将的domino 文档字段转换Data Type: MIME Part
为Data Type: Rich Text
后端的或SSJS
?Java
我尝试过与
doc.computeWithForm(true, true);
doc.save(true, true);
Run Code Online (Sandbox Code Playgroud)
但这段代码没有任何效果。
提示:我可以使用前端的笔记客户端进行此转换(打开并保存文档),没有任何问题。
任何想法?提前致谢!
xpages ×5
lotus-domino ×2
capacitor ×1
css ×1
dojo ×1
git ×1
ionic4 ×1
java ×1
javascript ×1
xpages-ssjs ×1