Single Page Application - xpages

I am having a problem with Domino Designer and, to be honest, am not sure if the question belongs here or not...
When I create a new XPage, then drag the Single Page Application from the Mobile panel to the XPage I am not getting the Wizard?
I am using Designer 9.0.1, have installed the current OpenNTF ExtLib (901v00_03.20140120-0650) from OpenNTF and made sure that the correct version is referenced on both the Server (using the tell http osgi ss com.ibm.xsp.extlib command) and in Designer (About / Designer / Plug-in Details).
Does anybody have an idea what I am doing incorrectly?
Thanking you in advance
Ursus

The Extension Library release comes with a couple of updateSite zips inside of it:
updateSiteOpenNTF.zip
updateSiteOpenNTF-designer.zip
updateSiteOpenTNTFExtended.zip
updateSiteOpenNTFSamples.zip
Be sure you are using the updateSiteOpenNTF-designer.zip, and not the standard updateSiteOpenNTF.zip. The designer zip, as the name suggests, contains the extlib content specifically for Designer, such as the Single App Wizard, as well as the rest of the extlib plugins that come in the first zip file listed above.

Related

Openntf Domino API Plugins missing from one Notes Template

I have one Notes Template ntf in which the Openntf Domino API plugins do not appear in 'Plug-in Dependencies' library, eg. org.openntf.domino.xsp etc. They are installed on both the server and the local machine, as we use XPiNC. They appear in any a new application created from the template and they appear in other templates and other nsfs. The plugin xml references them but they are still not in there.
<import optional="true" plugin="org.openntf.domino.xsp"/>
The Notes template is on a server. How do I get them in there or solve the problem, I have tried various import methods to no avail, this area is not a strong point for me.
Thanks for any help.
You cannot use an NTF with XPinc. The status bar will show a message about it not running. You can have an NSF with a TEMPLATE NAME that will refresh other database that inherit from that template. If you need the NTF for database creation purposes, develop in an NSF that has a TEMPLATE NAME from which the NTF inherits. (EG: MyAppDev). THe NTF then has a TEMPLATE NAME from whihc other databases inherit (EG: MyApp)
If you're getting an error that you cannot import a class in Domino Designer, there are two places to look.
The library needs "ticking" on the Xsp Properties. This tells the application that it needs that particular plugin at runtime. If it's missing on the server, you'll get an error.
The library needs installing for every Domino Designer that's going to be used to work on the application. Upgrading Notes to a new version will invariably disable previously installed plugins, so you need to go to File > Application > Application Management.... Custom plugins are in the second category, and if they have a red circle crossed through, it's disabled and needs re-enabling.

How do i configurate bootstrap for xpages?

I want to ask you about the configuration to the bootstrap4 xpages,i installed it in the domino server then in the domino designer,when i go to the Aapplication>Properties>XPages>xspProperties>Page generation i select the libraray bootstrap and extlib but when i return to the tab general to choose the theme bootstrap i didn't have this choice! i will illustrate you the problem withe these print screen:
This is easiest if the server and Domino Designer are version 9.0.1. Then you can just use the latest Extension Library, which includes everything from Bootstrap4XPages except Select2 component (I believe this was because of licensing issues). Installing the "-designer" package from that will hook into an extension point added subsequently which allows extension libraries to contribute options to that list of themes available.
If using an earlier version of Domino, you need to manually type the relevant theme name into that combobox (it allows you to either select from the available options or type in another option).
Thanks Paul,I installed ExtLib now i have the bootstrap in the list default theme but not in the library id, I will illustrate you the problem with these print screens:

Looking for a sample db using select2

I have been trying to get select2 to work on an existing xPages application with no luck. I keep getting errors saying select2() is not a function. I must have something messed up with my files/folders for the required code.
I am not sure what files I need to incorporate into the Web-Inf folder. I am using Domino 9.0.1 FP3
Does anyone have a sample db I could get to pick apart and see what I am missing?
I've updated the Select2 demo on Bootstrap4XPages.com. That site is powered using the Bootstrap version in the ExtLib and no longer relies on the Bootstrap4XPages plugin. Select2 was added to the demo database in the WebContent folder and is loaded through a theme.
I've created the following examples:
Enabling Select2 on a ComboBox control, including a handler for the 'onchange' event that refreshes another section of the page.
Enabling Select2 on a ListBox control with multi-select.
A Select2 field that is attached to a (hidden) input and uses Ajax to get JSON search results from a second XPage.
Good luck picking it apart :-) The source is on GitHub

Changes to XPages application not shown

Server: Domino 8.5.3 / Window 2003 5.2
We have a strange Problem. Since a few days, we cannot apply changes to our XPage application. Even, if we make some few text changes and open the application, the changes are not displayed. We looked into the generated XPage-Java-classes, here we can see, that the changes were applied to these classes.
Also, we tried to create a new Test-XPage, but if we open this xpage, the error "404 item not found" is displayed.
We also tried this http://www-01.ibm.com/support/docview.wss?uid=swg21327454 but it doesn't help....
We have already restarted the http task and the server.
It looks very much like your XPages don't compile anymore. You can check that by opening the Navigator view in the Domino Designer and check webContent/web-inf/classes. Every XPage translates into a Java class and it seems that has stopped. You can try the Project menu option "clean" and you want to right click on the nsf and check the project properties if a builder has been disabled or is missing.
Next stop: reinstall Designer. Since the compilation happens in Designer, that's where you need to look

SharePoint -integrating CKEditor

I am needing to replace the default HTML editor that comes with WSS 3.0 by CKEditor to edit web parts.
I read about adding a new content type but I am working on a limited shared host.
Thank you very much for your help.
FYI -it seems you need access to the 12 hive folder to integrate CKEditor with WSS 3.0. Because we are running our site on shared hosting, we do not have access to this folder. So we decided to switch to SharePoint Foundation 2010 (WSS 4.0), which comes with a complete HTML editor (e.g. image uploading, CSS styles, etc.) Thank you.
I know this question is 4 months old, but for anyone looking for an answer, here it is: CKEditor for SharePoint
Easy to install and upgrade, compatible with SharePoint 2007 and SharePoint 2010. CKFinder is included.
Fully functional 30 days trial version is available.

Resources