Category Archives: Domino 8.5.x

XPages Event parameters solution found

>It’s very interesting that event parameters retrieval is totally undocumented and there is no articles / blogentries about it on the web. You should know that I have been searching and trying to get the solution thru the community but with no luck.

But Now I have found the solution
When triggering a onClick event the this object will contain a XspEventHandler and
this object has a method called getParameters() this method will return a Java ArrayList.
The arraylist will contain the parameters with name and value.
So to print all parameters you can walk thru them like this
var value=this.getParameters();
var tmp=””;


tmp+=value.get(x).getName()+” – “+value.get(x).getValue();
tmp will then contain a string will all the names and data of the event parameters for you to display.

Check out my article in the application development wiki

>Finding the end of the code segment in a java agent


My Tags :)Image by halidCan! (: via Flickr

If you edit some java code in the new eclipse based Domino designer you can find the end of your code by placing the cursor behind the start { then the end } will get a box around it

But if you doubleclick at the start { you get this instead much easier to find the end or what do you think?
I think this is a great way to find the end.
Reblog this post [with Zemanta]