Set method arguments with solutionModel

I ran into this issue when using the solutionModel to create buttons/labels with onAction methods:

I created a form by using the solutionModel.
On this form I also put a few labels (defined from records in a table) with an onAction that contain a global method.
The global method need some arguments.

What I like to do is set arguments to the global method, but I can’t find a proper way to do that.
Uglyest way I can think of to do this is to get the global method code and replace the argument tags, but I’m sure there could be a much more nicer way to do this!

This would be a nice feature, if I may say so:

var jLabelMethod = solutionModel.getGlobalMethod('myGlobalMethod');
var jLabel = vMenuForm.newLabel(vLabelTxt,vXPos,vYPos,vWidth,vHeight,jLabelMethod,[event,[argument 1],[argument 2]]);

Anybody any tips?

I also had the same situation.
My solution was create a form method with solution model for each onAction of each label… and yes this wasn´t very nice hehe.
When you create the label you define the JSMethod, you aren´t calling the method so you aren´t setting the value of the arguments.
Maybe using the name property of the label to store some data and then getting it from the event argument could help you…

Feature request is submitted by case 290126.