Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

can this be done?

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been asked to write some javscript code that changes PARAM values in a displayed applet (graphing tool). I'm new to this but can't see how this cn be done on the fly. Any Ideas?
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi john
from ur post i understand following,
- u have a html page where there are some html items for input
- u have the applet that does something using those html items input
- u need to pass params to the applet
now, i dont understand following,
- y u want to change applet's param values by javascript? because even if u are able to do it then how applet will know about it? Instead i guess u directly need to change the applet's parameter "somehow" (i'll talk about this somehow thing) so that applet can refresh itself or something.
- u r sure that u r not confusing JSP with JavaScript?
if i elaborate more on "somehow" word in above text then, u'll essentially call applet 's public method which u'll have to write in the applet and make a call to that method via javascript. now, that most probably won't work in Netscape as if u use Embed tag for swing applet in Netscape then it doesnt recognizes it as an applet and so v r not able to call methods that way (in IE with Object tag u can call public methods on the applet using ID given to the Object tag)...
Can you smell this for me? I think this tiny ad smells like blueberry pie!
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic