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.htmto load within a > 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 -~----------~----~----~----~------~----~------~--~---
