• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSF and dynamic applet param passing

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I want to pass a param to my applet code dynamicly, but i couldn't.
Here is the code which i have tried.
.............
<f:verbatim>
<jsp:plugin type="applet"
code="VApplet"
codebase="http://172.16.50.142"
width="750"
height="750"
jreversion="1.5"
name="V"
archive="v.jar" mayscript="true"
>
<jsp:params>
<jsp:param name="go" value="#{pageBean.go}"/>
</jsp:params>

</jsp:plugin>

</f:verbatim>
..........
But "go" param value gets the value what it written in the code (#{pageBean.go}), not the "go" value in bean class.
Please help..
 
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Hasan,

I have successfully managed to pass parameters into my applet. I used the <object> tag with basic <param> tags, like this.


That worked for me. I was even able to pass in a variable amount of parameters by including a jstl for loop



Hope this helps.

cheers
Darryl
 
Hasan Subasi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks,
it works well..
 
Arthur, where are your pants? Check under this tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic