• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Passing value from JSP to Cewolf Dataproducer Java File

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic