Velocity passing the parameter to Action file

Riddhi Bhatt September 29, 2013

Hi,
I am using the following javascript code to fetch the value of the radio button:-


I want to capture the value of OrpAccessString in Action. How to do it?

5 answers

Suggest an answer

Log in or Sign up to answer
0 votes
Riddhi Bhatt September 29, 2013

Also Uday, as far as the problem is concerned, I do not think that they are related.. :(

0 votes
Riddhi Bhatt September 29, 2013

I am using velocity.

0 votes
Riddhi Bhatt September 29, 2013

I am having the function:-

public void perform(ServletEnvironment env)

0 votes
UdayK
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 29, 2013

The below post also helps you to understand about the parameters

https://answers.atlassian.com/questions/214512/problem-getting-a-macro-parameter

0 votes
UdayK
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 29, 2013

are you using the below execute method.

public String execute(Map<String, String> arg0, .....)

then you can get the parameter from 'rg0' argument.

TAGS
AUG Leaders

Atlassian Community Events