It's just a cool little time entry applet that I want to use. It can be found at http://java.arcadevillage.com/applets/timepica.htm I know applets are rarely used but I was just wondering if anyone had gotten an applet to work with cake. I unfortunately only have cake my dev server.
On Jan 31, 1:29 pm, nate <[EMAIL PROTECTED]> wrote: > Java? People still use that on the client side? Hehehe. > > If you could post a working example somewhere, that might help us > debug it. > > On Jan 31, 1:30 pm, Brian <[EMAIL PROTECTED]> wrote: > > > Thank you but it still does the same thing. It works fine if I run the > > applet from webroot but when I try to run it from a model view I get a > > incompatable magic number warning and the Java counsol error: Cache > > entry not found > > [url:https://mywebsite/jobs/%3Cbr%20/%3E%3Cb%3ENotice%3C/b%3E:%20%20Undefi..., > > version: null] > > > Any idea why it won't run in a model view but from webroot? > > Thanks, > > Brian > > > On Jan 31, 11:24 am, RichardAtHome <[EMAIL PROTECTED]> wrote: > > > > Ahh, my bad. It's late here ;-) > > > > Okie Dokie. The following is untested, but *should* work ;-) > > > > Create the following directory: > > > > app/webroot/applets > > > > Put your applet files in this directory > > > > in your view: > > > > <APPLET CODE="<?php echo $html->url("/applets/ATimePicker.class"); ?>" > > > ARCHIVE="<?php echo > > > $html->url("/applets/ATimePicker.jar"); ?>" WIDTH=100 HEIGHT=260 > > > MAYSCRIPT> > > > <PARAM name="form" VALUE="jobs_time"> > > > <PARAM name="field1" VALUE="start_time"> > > > <PARAM name="format1" VALUE="H:M"> > > > <PARAM name="selint" VALUE="10"> > > > </APPLET> > > > > On Jan 31, 5:06 pm, Brian <[EMAIL PROTECTED]> wrote: > > > > > Yes that is what I'm trying to do. I stated in my first posting "If I > > > > try to inset the applet into one of my model views...". I am trying to > > > > insert the applet into a view and I can't find the applet. > > > > Thanks, > > > > Brian > > > > > On Jan 31, 10:53 am, RichardAtHome <[EMAIL PROTECTED]> wrote: > > > > > > Don't put it in the model, put it in the view (or the layout if you > > > > > want it to appear on every page). > > > > > > On Jan 31, 3:15 pm, Brian <[EMAIL PROTECTED]> wrote: > > > > > > > I have read several of the post on here concerning adding applets to > > > > > > my website. I still can't figure out how to get the applet > > > > > > at:http://java.arcadevillage.com/applets/timepica.htmtoloadwithina > > > > > > model. I can place the applet and the test page it comes with into > > > > > > webroot and it works fine. If I try to inset the applet into one of > > > > > > my > > > > > > model views and reference back to the applet in webroot using > > > > > > $html->webroot it will not load. I even tried moving the applet > > > > > > into the > > > > > > > model directory but no luck with that either. The java counsel > > > > > > errors > > > > > > of course state that the class doesn't exist. > > > > > > > Code Snippet from view: > > > > > > > <?php $url = $html->webroot . 'ATimePicker.class'; ?> > > > > > > <?php $ur2 = $html->webroot . "ATimePicker.jar"; ?> > > > > > > > <APPLET CODE="<?php echo $html->url($url); ?>" ARCHIVE="<?php echo > > > > > > $html->url($url2); ?>" WIDTH=100 HEIGHT=260 MAYSCRIPT> > > > > > > <PARAM name="form" VALUE="jobs_time"> > > > > > > <PARAM name="field1" VALUE="start_time"> > > > > > > <PARAM name="format1" VALUE="H:M"> > > > > > > <PARAM name="selint" VALUE="10"> > > > > > > </APPLET> > > > > > > > Any suggestions or examples on how I can get the applet to load > > > > > > within > > > > > > a model view? Thank you in advance. > > > > > > Brian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
