torsdag 8 september 2011

Where does SSJS Print() in the client end up

I answered a question in the XPage forum yesterday but I thought that this might be something worth writing a line about
because this is one of the things that I was wonderign about when starting with XPages.

To view the print statement you should look in the menu
Help -> Support -> view trace
Or you could create a new icon and in the property box for target
add the following -RPARAMS - console

The last param is also great when debugging Notes clients that doesn't startup.

But beware if you close the console window the client crashes!!

lördag 3 september 2011

Watch what you put in you scoped varables

Your XPage app may run out of memory if you put js functions/classes or domino objects in scoped variables because these objects is not Serializable. So because you can it is not always ok to do that ;-)