aspose file tools*
The moose likes Other Open Source Projects and the fly likes Passing value from JSP to Cewolf Dataproducer Java File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Passing value from JSP to Cewolf Dataproducer Java File" Watch "Passing value from JSP to Cewolf Dataproducer Java File" New topic
Author

Passing value from JSP to Cewolf Dataproducer Java File

Mazhar Ismail
Greenhorn

Joined: Sep 10, 2008
Posts: 11
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

Joined: Sep 24, 2009
Posts: 1
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!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing value from JSP to Cewolf Dataproducer Java File