Skip to main content link. Accesskey S

XPages Wiki

Submit Search

YouAtNotes XPages Wiki


Page12345

Recent Page Edits

Developing for an iPhone or iPad

Julian Buss | July 8, 2009 8:30:16 AM | Tags:browser

==Tell the iPhone to use a fixed screen size== Found by Mark Hughes. <pre> <meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> </pre> == iPhone example == By Mark Hughes, see ...

Welcome

Julian Buss | April 6, 2009 11:38:08 AM | Tags:

==Welcome to the YouAtNotes XPages Wiki== [[http://www.youatnotes.de|YouAtNotes] ] uses this Wiki to document numerous tips and tricks about XPages development. We use this Wiki in our development, but we decided to publish our findings so everyone can participate. The target audience are ...

Work with URLs

Julian Buss | April 10, 2009 6:06:10 PM | Tags:

Here is a list of useful URLs for XPages and Domino web development. ==XPages URLs== $$OpenDominoDocument.xsp?id=<UNID> Opens the document with the given UNID. Tries to find a suitable XPage for opening by using these rules: - Check if the document's form has the "open in XPage property" - Check ...

Work with URLs

Julian Buss | April 10, 2009 6:06:10 PM | Tags:

Here is a list of useful URLs for XPages and Domino web development. ==XPages URLs== $$OpenDominoDocument.xsp?id=<UNID> Opens the document with the given UNID. Tries to find a suitable XPage for opening by using these rules: - Check if the document's form has the "open in XPage property" - Check ...

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 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 Dojo

Julian Buss | April 6, 2009 12:57:53 PM | Tags:dojo, UI, code

==Include Dojo libraries== To use certain dojo functionalities like the dijit.dialog you have to inlcude them in your XPage, see [[http://www-10.lotus.com/ldd/ddwiki.nsf/dx/Client_Side_JavaScript_Libraries_in_XPages.htm]]. In short: add a new resource "dojo module" to your XPage and enter the name ...

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 ...

Work with documents and fields on the XPage

Julian Buss | April 6, 2009 1:12:07 PM | Tags:code, javascript

==Get and set a field on the XPage== ===Server JS=== {code:} getComponent("elementName").getValue(); getComponent("elementName").setValue("something"); {code} Note: you cannot access or set fields with visible=false. If you want to work with a field, but don't want to display it, give the field a ...

Browser compatibility

Julian Buss | May 18, 2009 8:48:44 PM | Tags:browser, client, UI

==Internet Explorer 8== IE 8 is supported since Domino 8.5.1. You can force IE8 to act like IE7 by using this code in beforeRenderResponse event: {code:} // first option uses compatibility mode, second option too but stronger // X-UA-Compatible: IE=7 // X-UA-Compatible: IE=EmulateIE7 if ...

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!