on 07-28-2008 7:51 AM
HI Experts:
I am trying to generate one web page through office front page.
there I selected one query template and related display template(grid). Here I am trying to generated web page, but i am getting one error like "Igrid" class file is not find in archive Illum8.zip file.
Could you please explain me where I did mistake in this scenario.
One more scenario is, I generated same one dynamic generated page using the above same query template and same display template, here I am getting display but when i save this page in certain location. from there I am not getting the same dispaly but the error is same as above (error like "Igrid" class file is not find in archive Illum8.zip file.
).
Regards,
Chandra.
Gopal,
Check, if you should publish the webpage?
Good luck,
Ajay.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to be thorough, are you putting the pages on a web server?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Note that the Code property in applet tag is case sensitive.
Make sure code="iGrid" instead of code="Igrid"
Hope this helps
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can go through the following thread:
https://forums.sdn.sap.com/click.jspa?searchID=14544887&messageID=5716022
Also make sure that to your user, you have assigned Administrative Role.
Thanks,
Manisha
Hi,
Are you able to generate the applet by using Dynamic Page Generator instead of front page?
If you are able to generate by using Dynamic Page Generator ,then please check the applet code correctly in your front page.I think you are missing ARCHIVE="illum8.zip" in your applet code.
<APPLET NAME="Appletname" CODEBASE="/Illuminator/Classes" CODE="iChart" ARCHIVE="illum8.zip" WIDTH="800" HEIGHT="400" MAYSCRIPT>
<PARAM NAME="QueryTemplate" VALUE="FillingArea/SampleQuery">
<PARAM NAME="DisplayTemplate" VALUE="FillingArea/SampleChart">
</APPLET>
Thanks,
Manisha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Manisha:
I am giving same code, What I generated in dynamic page generations. But I didn't get the out put. it's saying IGrid is not finding in class file. like that error is coming in office front page.
Could you please guide me how I can put two dynamic generate pages into one web page. what is the process I could follow. In my scenario is putting one chat report and one Grid report in one web page. you Please guide me on this situtaion also.
Regards,
Gopal.
Hi Gopal,
You can put no of dynamic generate pages into one web page.For your case one is chart and another one is grid.
First you generate dynamic page for chart and copy the source code and put in the web page under body tab.Then you generate dynamic page for Grid and copy the source code and paste it in the web page under body tab.
For e.g.
<body>
<APPLET NAME="TrendChart" CODEBASE="/Illuminator/Classes" CODE="iChart" ARCHIVE="illum8.zip" WIDTH="800" HEIGHT="400" MAYSCRIPT>
<PARAM NAME="QueryTemplate" VALUE="FillingArea/SampleQuery">
<PARAM NAME="DisplayTemplate" VALUE="FillingArea/SampleChart">
</APPLET>
<APPLET NAME="GridApplet" CODEBASE="/Illuminator/Classes" CODE="iGrid" ARCHIVE="illum8.zip" WIDTH="800" HEIGHT="400" MAYSCRIPT>
<PARAM NAME="QueryTemplate" VALUE="FillingArea/SampleQuery">
<PARAM NAME="DisplayTemplate" VALUE="FillingArea/SampleGrid">
</APPLET>
</body>
Thanks,
manisha
HI Manish:
I am getting this error. plese see below.
load: class iGrid not found.
java.lang.ClassNotFoundException: iGrid
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Regards
Gopal
The applet tags (CODEBASE etc..) are relative. Your error is because the browser cant find and download the applet classes specified. You need to put your files on the web server and access them that way for the applets to work.
You may be able to alter the paths to be absolute but i have never tried this.
Regards,
Christian
I think absolute paths should not be used for codebase as for every web/app server there is a default path where from relative path are defined. We should leave it to MII for handling
Gopal,
Lets get back to basics. I am sure you would have done it this way, still please check if the following was done -
1. Html/code is placed in appropriate folder under 'Illuminator/wwwroot" on MII server.
2. MII service is up and running.
3. You are logged-in to MII console.
4. Opened the html page under the same session, by clicking File->New->Window from the logged in page of MII and type in the path of your page there e.g. http://<servername>/<file_path>/<file_name>; .
Your code runs fine on dynamic page generator becuase you are logged in to an MII session, where as here you might be trying to open it outside that session. Hopefully, if the above 4 points are taken care, it should work.
Still if you face the same issue, please provide us more details, i.e. the applet code sample, etc.
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.