Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing value from JSP to Cewolf Dataproducer Java File

 
Mazhar Ismail
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

Thanks,
MAzhar
 
samriddhi chauhan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 %>'/>
</cewolf:producer>

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!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic