随笔分类 -  xpages

摘要:我都是用这种方法往iframe里面添加内容的。document.frames["iframe1"].document.write("");请问怎么才能清空iframe1里面的内容?不要用以下两种方法:document.frames["iframe1"].document.close();docu... 阅读全文
posted @ 2015-12-02 22:36 hannover 阅读(3922) 评论(0) 推荐(0) 编辑
摘要:一. QueryString : QueryString's name : QueryString's index : 结果 : 阅读全文
posted @ 2015-12-02 22:11 hannover 阅读(4049) 评论(0) 推荐(0) 编辑
摘要:In XPages, CGI variables are also available, but you need to write some code to get them via theJSF context.First you need to callfacesContext.getExte... 阅读全文
posted @ 2015-12-02 16:08 hannover 阅读(449) 评论(0) 推荐(0) 编辑
摘要:我们来完成一个类似通讯录的功能,我们可以添加人员,查看和修改,删除人员,我们假设我们的通讯录中只记录人员的名字和年龄字段。先看看完成后的效果吧点击New可以到新增人员页面,如下图:编辑按钮后进入编辑页面,并将人员信息带过来,删除按钮可以将文档删除。我们的项目中一种包含三个Xpage页面,CaryMain,CaryCreate和CaryUpdate。1. CaryMain页面为主页面,提供新建按钮和显示信息。1.1.该页面的New按钮的OnClick的事件代码如下:1.2.DataTable属性设置如下: Name的计算域值为:rowdoc.getItemValueString(“name”) 阅读全文
posted @ 2011-05-31 22:12 hannover 阅读(502) 评论(0) 推荐(0) 编辑
摘要:Domino 8.5 版引入了新的设计元素:xPage。我承认这是个很强大的东西,但在我们还没有用到它,本着节约资源的原则,所以通过以下参数可以将其禁用:INOTESDISABLEXPAGECMD=1当然也可以在配置文档中添加此参数。 阅读全文
posted @ 2011-05-29 08:27 hannover 阅读(324) 评论(0) 推荐(0) 编辑
摘要:By now you have probably noticed that fileSendr V1.1.0 is now available on OpenNTF. This is the version that allows you to authorize external people to send files into you. It's a really handy XPages based utility for any organization that needs to send large files to and from customers.To allow 阅读全文
posted @ 2011-04-04 23:34 hannover 阅读(367) 评论(0) 推荐(0) 编辑
摘要:Subject: xpage and file upload (unable to upload more than 7 megs)Feedback Type: ProblemProduct Area: Domino ServerTechnical Area: Application DevelopmentPlatform: WindowsRelease: 8.5.1Reproducible: Always Hi.In short Using Xpage, I am unable to upload anything larger than 7 megs. Even in the Notes 阅读全文
posted @ 2011-03-04 22:12 hannover 阅读(320) 评论(0) 推荐(0) 编辑
摘要:This is two XPages tips rolled into one prompted by my colleagues Maire Kehoe and Niklas Heidloff.So the question was how do I upload files larger than 1mb via XPages and how do I increase the timeout limit to allow for slow network speeds when I'm uploading these big files?So the first part, ho 阅读全文
posted @ 2011-03-04 22:10 hannover 阅读(313) 评论(0) 推荐(0) 编辑
摘要:AbstractNo abstract provided.ShowTable of ContentsHideTable of Contents 1 Introduction2 Adding the upload control to your XPage or custom control3 Using the file download control to find MIME types4 Notifying the user when an invalid file is submitted 5 Conclusion6 Resources7 About the authorSummary 阅读全文
posted @ 2011-03-04 22:05 hannover 阅读(677) 评论(0) 推荐(0) 编辑
摘要:I updated my sample Multi Attachment custom control to now accept configuration parameters so it is easier to reuse the control in different applications. The updated application can be downloaded from OpenNTF.org by clicking here. I decided to make the control easy to drag and drop onto any XPage a 阅读全文
posted @ 2011-03-04 22:03 hannover 阅读(379) 评论(0) 推荐(0) 编辑
摘要:Below is an example of how to build a multi file upload Custom Control that uses a central attachment repository db for all the attachments. The application has very little code and utilizes the Repeat control and Panel control to generate an unlimited amount of uploads per XPage. (Actually, I am su 阅读全文
posted @ 2011-03-04 21:44 hannover 阅读(762) 评论(0) 推荐(0) 编辑
摘要:Below is an example of how to build a multi file upload Custom Control that uses a central attachment repository db for all the attachments. The application has very little code and utilizes the Repeat control and Panel control to generate an unlimited amount of uploads per XPage. (Actually, I am su 阅读全文
posted @ 2011-03-04 21:40 hannover 阅读(6462) 评论(0) 推荐(0) 编辑
摘要:Many people have been asking for my help with a problem with the 8.5 Discussion template's File Download control. The reason is that I have an example of a Custom Control for storing file attachments in a central database which uses the File Download control and has the same issue. The issue wit 阅读全文
posted @ 2011-03-04 21:36 hannover 阅读(268) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示