This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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..
 
Have you checked out Aspose?
 
subject: JSF and dynamic applet param passing
 
It's not a secret anymore!