The post HCL Ambassador of 2022 first appeared on Per Henrik Lausten.
]]>Happy new year! Here's to a great 2022!
The post HCL Ambassador of 2022 first appeared on Per Henrik Lausten.
]]>The post I’m a 2020 HCL Ambassador! first appeared on Per Henrik Lausten.
]]>HCL Ambassador 2020
Awarded: Jan 1, 2020
The post I’m a 2020 HCL Ambassador! first appeared on Per Henrik Lausten.
]]>The post Domino 11.0 does not support java.pol first appeared on Per Henrik Lausten.
]]>But on HCL Domino 11.0 it is no longer supported to use a java.pol file since the java.security file in Domino 11.0 on longer includes a reference to a java.pol file. This (unfortunate) change is related to the move from the IBM JRE to the AdoptOpenJDK JRE.
In a future release of HCL Domino this could be re-introduced if HCL adds support for it in the java.security file. I have created an idea on re-adding support for it.
Thanks to Daniele Vistalli for pointing out that you can use the option to add a modified java.policy file to the home directory of the user running the Domino instance since the java.security file still includes this option:
policy.url.2=file:${user.home}/.java.policy
On my Windows Server the Domino service runs under the local system account and the home directory of the local system account is C:\Windows\System32\config\systemprofile. So by adding a modified .java.policy file to this directory, it does indeed work (notice that the file must be called .java.policy according to policy.url.2 in java.security).
Update January 2022:
As of Domino 12.0.1 support for java.pol is back. The java.security file now contains a reference to a java.pol in the same directory as the java.security/java.policy files:
policy.url.1=file:${java.home}/lib/security/java.policy
policy.url.2=file:${java.home}/lib/security/java.pol
policy.url.3=file:${user.home}/.java.policy
The post Domino 11.0 does not support java.pol first appeared on Per Henrik Lausten.
]]>The post HCL Notes 11 and HCL Domino 11 have been released first appeared on Per Henrik Lausten.
]]>You can download the release on HCLs FlexNet.
You can find the documentation online:
The post HCL Notes 11 and HCL Domino 11 have been released first appeared on Per Henrik Lausten.
]]>The post HCL Notes & Domino 11 Beta first appeared on Per Henrik Lausten.
]]>Sign up and add your feedback in the Domino V11 beta forum.
The following is available in the beta:
The post HCL Notes & Domino 11 Beta first appeared on Per Henrik Lausten.
]]>The post IBM Domino and IBM Notes/Domino Designer 9.0.1 FP10 has been released: major update to the platform! first appeared on Per Henrik Lausten.
]]>The most important updates for developers include:
More details of changes are available at developerWorks. Details of all fixes will be available later in the usual Fix List database.
The post IBM Domino and IBM Notes/Domino Designer 9.0.1 FP10 has been released: major update to the platform! first appeared on Per Henrik Lausten.
]]>The post I’m a five-time IBM Champion! first appeared on Per Henrik Lausten.
]]>Congratulations to the 123 IBM Champions!
The post I’m a five-time IBM Champion! first appeared on Per Henrik Lausten.
]]>The post I’m a 2016 IBM Champion! first appeared on Per Henrik Lausten.
]]>I have not been involved with public speaking this year but still try to help the XPages developer community on Stack Overflow as much as I can.
It came as a pleasant surprise that I was elected as IBM Champion for 2016. I'm once again honored to be part of this amazing group of people!
The post I’m a 2016 IBM Champion! first appeared on Per Henrik Lausten.
]]>The post I’m a 2015 IBM Champion first appeared on Per Henrik Lausten.
]]>
The post I’m a 2015 IBM Champion first appeared on Per Henrik Lausten.
]]>The post I am going to the 52nd DanNotes conference first appeared on Per Henrik Lausten.
]]>The conference starts off with a keynote by Kramer Reeves. After the keynote the developers can then look forward to Christian Güedemann, Nathan T. Freeman, John Dalsgaard and others. The administrators can look forward to Mikkel Heisterberg, Ben Menesi and others.
See you there?
The post I am going to the 52nd DanNotes conference first appeared on Per Henrik Lausten.
]]>The post XPages: Optimized partial refreshes for event handlers first appeared on Per Henrik Lausten.
]]>But his version does not include support for running server-side actions because the the form fields included in the POST doesn't include the server-side event handler.
So I have created an optimized version of his optimized version that supports this 🙂
My versions adds a 'submitid' parameter that should point to the id of the event handler that you want to execute on the server.
XSP.partialRefreshPost( '#{id:somePart}', { clearForm: true, submitid: '#{id:submitEventHandler}' } );
Here's an example of using the optimized partial refresh for an eventhandler:
<xp:button id="button1"> <xp:eventHandler event="onclick" submit="false" id="submitEventHandler" refreshMode="partial" refreshId="somePart"> <xp:this.action><![CDATA[#{javascript:someServerSideAction();}]]></xp:this.action> <xp:this.script><![CDATA[ XSP.partialRefreshPost( '#{id:somePart}', { clearForm: true, submitid: '#{id:submitEventHandler}' } ); ]]></xp:this.script> </xp:eventHandler> </xp:button>
Here's the complete code snippet (available as an OpenNTF XSnippets too):
<xp:scriptBlock id="scriptBlockPROptimized"> <xp:this.value><![CDATA[ XSP.addOnLoad(function(){ // hijack the existing partial refresh method if( !XSP.__partialRefresh ){ XSP.__partialRefresh = XSP._partialRefresh; } // add the new one to the XSP object XSP._partialRefresh = function x_prfh(method, form, refreshId, options){ // clear the form? if( options.clearForm ){ // create a new HTML form... var newForm = document.createElement( "form" ); newForm.setAttribute( "method", form.method ); newForm.setAttribute( "action", form.action ); // ... and loop all existing fields for( var i = 0; i<form.length; i++ ){ var field = form[i]; var fieldName = field.name; var includeField = false; try{ // check for addition fields if( options.additionalFields ){ includeField = dojo.indexOf(options.additionalFields, fieldName)!=(-1)?true:false; } // only add XPages relevant fields and addtional fields if( fieldName == form.id || fieldName.substr(0,2) == '$$' || includeField ){ var newField = null; if( field.options ){ // special handling for fields with options for( var j=0; j<field.length; j++ ){ if( field.options[j].selected ){ newField = document.createElement( "input" ); newField.setAttribute( "type", "hidden" ); newField.setAttribute( "name", fieldName ); newField.setAttribute( "value", field.options[j].value ); newForm.appendChild( newField ); } } }else{ // default field handling: just clone the DOM element // check for $$xspsubmitid option if( options.submitid && fieldName == "$$xspsubmitid"){ newField = document.createElement( "input" ); newField.setAttribute( "type", "hidden" ); newField.setAttribute( "name", "$$xspsubmitid" ); newField.setAttribute( "value", options.submitid ); newForm.appendChild( newField ); } else { newField = field.cloneNode( true ); newForm.appendChild( newField ); } } } }catch(e){ console.log(e); } } // call the original refresh method with the new form return XSP.__partialRefresh(method, newForm, refreshId, options); } XSP.__partialRefresh(method, form, refreshId, options); }; }); ]]></xp:this.value> </xp:scriptBlock>
Keep in mind that to optimize a partial refresh you need to focus on more than just the size of the POST request. You should also look at partial execution mode (execMode="partial") in order to reduce the amount of work that the server has to do.
The post XPages: Optimized partial refreshes for event handlers first appeared on Per Henrik Lausten.
]]>The post Authenticating your IBM Domino and IBM XWork Server web apps against Active Directory (LDAP) first appeared on Per Henrik Lausten.
]]>It's now time to test your your LDAP configuration. Start by creating a new application with access control set to Readers for Default and No Access for Anonymous. Try to access the application from a browser and you will be prompted for credentials. Now logon using a valid username and password. You will be able to access the application if your Directory Assistance setup is working. Congratulations - you can now deploy your web application and have users authenticate using Microsoft Active Directory - without having any user details stored on the IBM Domino/IBM XWork server!
If authentication fails, you should start with issuing the "show xdir" command on the server console. You should see two entries in the list - the first one pointing to the Domino directory (names.nsf) and the second one pointing to your LDAP configuration.
You can also use the webauth_verbose_trace=1 option to enable debug messages on the server console by issuing "set conf webauth_verbose_trace=1" on the server console.
The post Authenticating your IBM Domino and IBM XWork Server web apps against Active Directory (LDAP) first appeared on Per Henrik Lausten.
]]>The post XPages and Domino 9.0.1 FP2: upgrades to CKEditor and Dojo first appeared on Per Henrik Lausten.
]]>SPR# TMGN9KJTEB - Adds Internet Explorer 11 support for xPages
I asked Brian Gleeson from the IBM Dublin team what exactly this means, and he responded that it covers an upgrade of CKEditor from 3.6.x to 4.3.2 and an upgrade of Dojo from 1.8.3 to 1.9.2.
One issue I have seen so far with CKEditor 4.3.2 is that the "Insert image" button called 'Image' in a custom toolbar is different from the standard "Insert image" button used if you use the default toolbar. Instead, you need to use 'IbmImage' as the name of the image button.
The latest CKEditor adds a spell check option - either through the default toolbar or by adding 'IbmSpellChecker' to your custom toolbar. It's great that the CKEditor in XPages finally adds that facility. Here it is in action:
With the new CKEditor the 'toolbarType' Dojo attribute no longer works. Instead use 'toolbar' as Dojo attribute with Slim, Medium, Large and Full as possible values.
The post XPages and Domino 9.0.1 FP2: upgrades to CKEditor and Dojo first appeared on Per Henrik Lausten.
]]>The post Presentation: an introduction to Bootstrap4XPages first appeared on Per Henrik Lausten.
]]>The post Presentation: an introduction to Bootstrap4XPages first appeared on Per Henrik Lausten.
]]>The post Submit your session abstracts for the DanNotes 52nd conference first appeared on Per Henrik Lausten.
]]>The 52nd DanNotes conference takes place on November 19-20, 2014. I am part of the organizers team and we are hard at work planning the conference and have opened for session abstract submissions. If you are interested in speaking at the conference, please register and submit your session abstract.
We are looking for business related sessions, technical sessions, case stories and more - and we are looking for speakers from all over the world.
One important point: DanNotes will take care of your travel and accommodation expenses! So what are you waiting for?
The post Submit your session abstracts for the DanNotes 52nd conference first appeared on Per Henrik Lausten.
]]>The post Presentation: an introduction to IBM BlueMix first appeared on Per Henrik Lausten.
]]>The post Presentation: an introduction to IBM BlueMix first appeared on Per Henrik Lausten.
]]>The post XPages boilerplate: useful code snippets and modules for your next XPages project first appeared on Per Henrik Lausten.
]]>Useful code snippets and modules:
You can also take a look at the XPages Scaffolding project by Jesse Gallagher. At least look at the README.md file in which Jesse describes what's included.
Of course, you should not forget all the useful libraries and tools available in OpenNTF Essentials (both in the Essentials Runtime and in Essentials Toolbox) such as the OpenNTF Domino API, XPages Debug Toolbar and XPages Log File Reader. Also of great value is Auto Logins which provides "remember me" functionality for your app.
The post XPages boilerplate: useful code snippets and modules for your next XPages project first appeared on Per Henrik Lausten.
]]>The post I am going to IBM Connect 2014 first appeared on Per Henrik Lausten.
]]>The IBM Connect 2014 conference takes place next month. I am going once again and look forward to the atmosphere, the sessions, and most importantly the people.
I arrive Friday evening January 24th and leave again Friday January 31st. I will be staying at the Dolphin hotel.
See you there?
The post I am going to IBM Connect 2014 first appeared on Per Henrik Lausten.
]]>The post Hour of Code: Anybody can learn first appeared on Per Henrik Lausten.
]]>I am going to introduce my oldest son's school class to programming (he is 8 years old). I will use some of the available resources from code.org such as LightBot,
Who are you going to introduce to the world of programming this week?
The post Hour of Code: Anybody can learn first appeared on Per Henrik Lausten.
]]>The post I have been re-elected as IBM Champion first appeared on Per Henrik Lausten.
]]>The post I have been re-elected as IBM Champion first appeared on Per Henrik Lausten.
]]>