Skip to main content link. Accesskey S

XPages Wiki

Submit Search

YouAtNotes XPages Wiki


Page12345

Recent Pages

Work with strings

Julian Buss | May 7, 2010 9:55:15 AM | Tags:

==Simple encryption/decryption== [[http://dontpanic82.blogspot.com/2010/05/xpages-simple-string-encrypterdecrypter.html|Found by Tommy Valand] {code:} function StringEncrypter( encryptionScheme:String, encryptionKey:String ){ try{ encryptionScheme = encryptionScheme || ...

How to export to Excel or other formats

Julian Buss | April 14, 2010 3:41:25 PM | Tags:

==Basic export== You can write data directly to the browser and tell him to download the data instead of displaying it. Here an example with an CSV-file: {code:} var exCon = facesContext.getExternalContext(); var writer = facesContext.getResponseWriter(); var response = exCon.getResponse(); ...

Work with RichText

Julian Buss | February 16, 2010 11:24:39 AM | Tags:

==Using a content filter== In the "all properties" section of a richtext control there two filters: "htmlFilter" and "htmlFilterIn". "htmlFilter" runs when DISPLAYING richtext content. "htmlFilterIn" runs when SAVING richtext content. The following filters are available: - "identity": leave it as ...

How to use object oriented server side javascript

Julian Buss | January 6, 2010 1:53:35 PM | Tags:javascript

This is a short howto for people who know how to code object oriented in other languages. ==Create a class== {code:} function myClass(param1, param2) { var private_member1 = param1; var private_member2 = param2; this.method1 = function () { // do something this.method2 = function(param1, ...

Work with multimedia

Julian Buss | December 6, 2009 11:45:55 AM | Tags:

==integrate a mp3 player== If you like to integrate a mp3 player on your site, you can use the the Yahoo Mediaplayer . Usage is pretty simple, only include this in your XPage source code: {code:} <script> var YMPParams = autoplay:true, volume:0.5, </script> <script type="text/javascript" ...

Work with XPages in the Notes Client

Julian Buss | October 30, 2009 12:06:53 PM | Tags:

== where does the output of JavaScript print statements go== If you print out something from JavaScript, it is visible via help -> Support -> View Trace. As an alternative, you can start the client with "notes.exe -RPARAMS -console", then the print statements go to the console. ==How to see the ...

New in 8.5.1

Julian Buss | October 21, 2009 7:57:20 AM | Tags:

(work in progress) New controls Hidden input, see [[http:www.qtzar.comblogsqtzar.nsfd6plinksDSLH-7WZQKEDecs Blog]]

Work with events

Julian Buss | October 12, 2009 10:06:49 AM | Tags:code

In short, the events of a XPage with two custom controls (controlA and controlB) are executed in the following order: ==events executed once== Xpage -> beforePageLoad controlA -> beforePageLoad controlA -> afterPageLoad controlB -> beforePageLoad controlB -> afterPageLoad Xpage -> afterPageLoad ...

Work with events and partial or full refresh

Julian Buss | September 11, 2009 8:27:22 AM | Tags:code, javascript

==Run a partial update from client javascript== You can use the following function to trigger a partial update from client javascript {code:} XSP.partialRefreshPost(id); {code} "id" is the runtime ID of the control, that means you have to get it with "#{id:nameOfControl}". If you don't need to be ...

Work with datasources

Julian Buss | August 19, 2009 9:48:06 AM | Tags:code, javascript, variables

==Where to define a datasource== You can define a datasource on different levels: * in the XPage properties * in the properties of a custom component * in the properties of a panel Use the folowing rule of thumb: If you need a datasource in your whole XPage and even in custom components which are ...

Page12345
Use  searchlotus.com  for news in the Web related to Lotus Notes and Domino,
and to search those sites.
Check  youatnotes.com  for great Lotus Notes, Domino and XPages software.
Did this wiki help you?
Did this saved you time? Express your gratitude by making a donation:
PayPal - The safer, easier way to pay online!