Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF and dynamic applet param passing

 
Hasan Subasi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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..
 
Darryl Nortje
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Thanks,
it works well..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic