Hello,

I have a $link.setAction call that looks like this:

<a href="$link.setAction("myClass").addPathInfo("eventSubmit_doAdd", "add")"> +Add</a>

It is working in the sense that my doAdd function is succesfully being called from 
"myClass."  The problem I am having is with parameter passing.  There are two ways I 
can do this, the way I do it uses javascript to set a hidden field to whatever I need 
and then I use the data.getParameters() call on the backend to grab the value.  

this is what my doAdd function looks like:

public void doAdd(RunData data, Context context) throws Exception

Well, when I do the data.getParameters() call, all I get is 0 for my hidden integer 
that I set.  I verify that the javascript is doing the work with an alert.

Does any one have any suggestions?  I have read so many posts on this and none of the 
solutions seems to work.  It seems to me like (RunData data, Context context) are not 
being correctly passed to my doAdd function.

Thank you in advance for any help,

Luke Majewski

Reply via email to