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="";
for(x=0;x<value.size();x++){
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
Hm...I tried to retrive the parameters in a computedField, but then I got:
SvaraRaderaScript interpreter error, line=1, col=16: Unknown member 'getParameters' in Java class 'com.ibm.xsp.component.xp.XspOutputText'
is this a client or server code?
is event parameter used instead of scope, or why should this be used?
there is also a SSJS global event called param, eg. param.get("name") but that does not seem to work in this context.
It's available there computer field don't have any events, the only place I have tried to use this is with links.
SvaraRaderaAnd in that case you could also use just the name of the event paramenter.