Two Laptop Bag*
The moose likes JSF and the fly likes JSF and dynamic applet param passing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF and dynamic applet param passing" Watch "JSF and dynamic applet param passing" New topic
Author

JSF and dynamic applet param passing

Hasan Subasi
Greenhorn

Joined: May 07, 2008
Posts: 2
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

Joined: Jun 11, 2002
Posts: 140
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

Joined: May 07, 2008
Posts: 2
Thanks,
it works well..
 
 
subject: JSF and dynamic applet param passing
 
Similar Threads
how to pass values from jsp to applet
A plugin is needed to display this content
Passing values to param value dynamically in jsp
getting java home or jvm version??
send session from applet to servlet