Passing value from JSP to Cewolf Dataproducer Java File
posted 7 years ago
I am using cewolf for generating charts. I have a requirement where I have to pass a value from JSP (from html form text field) to the DataProducer java file. I have googled for a example but couldn't find any.
Can anyone tell me how to do it.
posted 6 years ago
I have the same question. i wanted to pass some form value that the user selects to allow it
to be used in the produceDataset class. I used
<cewolf:producer id="chartViews" >
<cewolf:param name="aa" value='<%=(String)the value %>'/>
and in the 'produceDataset(Map params)' function I tried to get it as:
String aa = (String) params.get("aa");
But it just prints the value as null.
How can I pass values to this function. someone please help!!