This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF and dynamic applet param passing
 
Similar Threads
getting java home or jvm version??
how to pass values from jsp to applet
Passing values to param value dynamically in jsp
send session from applet to servlet
A plugin is needed to display this content