Hi all,
I want to integrate an applet. I think the problem is, that the jar is not found. I read the previous threads about applets... so I did the following: Code in ftl (located in ecommerce/customer): <applet name="jumpLoaderApplet" code="jmaster.jumploader.app.JumpLoaderApplet.class" archive="jumploader_z.jar" width="600" height="400" mayscript> </applet> An I added the jumploader_z.jar to framework/webapp/build/lib - but obviously that's wrong... Can anyone help? Thanks Alexander |
Perhaps an addition information:
this is the error in the log: 2010-01-09 11:28:54,968 (http-0.0.0.0-8443-2) [ CmsEvents.java:107:INFO ] ========pathinfo: /jumploader_z.jar 2010-01-09 11:28:54,968 (http-0.0.0.0-8443-2) [ CmsEvents.java:134:INFO ] Path INFO for Alias: jumploader_z.jar 2010-01-09 11:28:55,187 (http-0.0.0.0-8443-2) [ CmsEvents.java:185:INFO ] ========contentId: jumploader_z.jar 2010-01-09 11:28:56,468 (http-0.0.0.0-8443-2) [ RequestHandler.java:593:INFO ] Ran Event [java:org.ofbiz.content.cms.CmsEvents#cms] from [request], result is [error] 2010-01-09 11:28:56,468 (http-0.0.0.0-8443-2) [ RequestHandler.java:399:ERROR] Request cms caused an error with the following message: Content: null [jumploader_z.jar] is not a publish point for the current website: eCommerce Web Site [WebStore] Alexander
|
In reply to this post by Alexander1893
it has been a while since I worked with ecommerce at that level, I don't
remember the exact Ftl or widget but if you find where the css that showss up in the view source of the ecommerce page is defined and you find where css file is located should get you on the right track. maybe someone else can be more specific. Alexander1893 sent the following on 1/9/2010 2:39 AM: > Perhaps an addition information: > > this is the error in the log: > > 2010-01-09 11:28:54,968 (http-0.0.0.0-8443-2) [ > CmsEvents.java:107:INFO ] ========pathinfo: /jumploader_z.jar > 2010-01-09 11:28:54,968 (http-0.0.0.0-8443-2) [ > CmsEvents.java:134:INFO ] Path INFO for Alias: jumploader_z.jar > 2010-01-09 11:28:55,187 (http-0.0.0.0-8443-2) [ > CmsEvents.java:185:INFO ] ========contentId: jumploader_z.jar > 2010-01-09 11:28:56,468 (http-0.0.0.0-8443-2) [ > RequestHandler.java:593:INFO ] Ran Event > [java:org.ofbiz.content.cms.CmsEvents#cms] from [request], result is [error] > 2010-01-09 11:28:56,468 (http-0.0.0.0-8443-2) [ > RequestHandler.java:399:ERROR] Request cms caused an error with the > following message: Content: null [jumploader_z.jar] is not a publish point > for the current website: eCommerce Web Site [WebStore] > > > Alexander > > > Alexander1893 wrote: >> Hi all, >> >> I want to integrate an applet. I think the problem is, that the jar is not >> found. I read the previous threads about applets... so I did the >> following: >> >> Code in ftl (located in ecommerce/customer): >> >> <applet name="jumpLoaderApplet" >> code="jmaster.jumploader.app.JumpLoaderApplet.class" >> archive="jumploader_z.jar" >> width="600" >> height="400" >> mayscript> >> >> </applet> >> >> An I added the jumploader_z.jar to framework/webapp/build/lib - but >> obviously that's wrong... >> >> Can anyone help? >> >> Thanks >> Alexander >> > |
Hi Alexander,
I think what BJ is saying is that the jar must be directly accessible in your webapp in the same way that images, css and javascript files are. You can either store it in the same place as those files or otherwise open up a new allowedPath in your web.xml file. Regards Scott HotWax Media http://www.hotwaxmedia.com On 10/01/2010, at 6:27 AM, BJ Freeman wrote: > it has been a while since I worked with ecommerce at that level, I > don't > remember the exact Ftl or widget but if you find where the css that > showss up in the view source of the ecommerce page is defined and you > find where css file is located should get you on the right track. > maybe someone else can be more specific. > > > Alexander1893 sent the following on 1/9/2010 2:39 AM: >> Perhaps an addition information: >> >> this is the error in the log: >> >> 2010-01-09 11:28:54,968 (http-0.0.0.0-8443-2) [ >> CmsEvents.java:107:INFO ] ========pathinfo: /jumploader_z.jar >> 2010-01-09 11:28:54,968 (http-0.0.0.0-8443-2) [ >> CmsEvents.java:134:INFO ] Path INFO for Alias: jumploader_z.jar >> 2010-01-09 11:28:55,187 (http-0.0.0.0-8443-2) [ >> CmsEvents.java:185:INFO ] ========contentId: jumploader_z.jar >> 2010-01-09 11:28:56,468 (http-0.0.0.0-8443-2) [ >> RequestHandler.java:593:INFO ] Ran Event >> [java:org.ofbiz.content.cms.CmsEvents#cms] from [request], result >> is [error] >> 2010-01-09 11:28:56,468 (http-0.0.0.0-8443-2) [ >> RequestHandler.java:399:ERROR] Request cms caused an error with the >> following message: Content: null [jumploader_z.jar] is not a >> publish point >> for the current website: eCommerce Web Site [WebStore] >> >> >> Alexander >> >> >> Alexander1893 wrote: >>> Hi all, >>> >>> I want to integrate an applet. I think the problem is, that the >>> jar is not >>> found. I read the previous threads about applets... so I did the >>> following: >>> >>> Code in ftl (located in ecommerce/customer): >>> >>> <applet name="jumpLoaderApplet" >>> code="jmaster.jumploader.app.JumpLoaderApplet.class" >>> archive="jumploader_z.jar" >>> width="600" >>> height="400" >>> mayscript> >>> >>> </applet> >>> >>> An I added the jumploader_z.jar to framework/webapp/build/lib - but >>> obviously that's wrong... >>> >>> Can anyone help? >>> >>> Thanks >>> Alexander >>> >> > smime.p7s (4K) Download Attachment |
Free forum by Nabble | Edit this page |