-
Notifications
You must be signed in to change notification settings - Fork 0
Rails plugin for embedding Java applets
License
iulianu/rails-applet
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Applet
======
Adds a helper method to Rails, to embed a Java applet.
Tested with Rails 2.3 and Rails 3.0.
Example
=======
<%= applet_tag :jars => ['myapplet', 'commons-logging-1.1.1'],
:main_class => 'com.myproduct.MyApplet',
:width => 760,
:height => 490,
:params => { "aParam" => "aValue" },
:missing_text => "Unfortunately you do not have the Java plugin installed. Get it from http://www.java.com "
%>
The applet_tag method assumes the files myapplet.jar and commons-logging-1.1.1.jar are
in #{Rails.root}/public/jars/ .
Copyright (c) 2011 Iulian Dogariu <[email protected]>, released under the MIT license
About
Rails plugin for embedding Java applets
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published