on 04-09-2009 6:31 AM
Hello all!
I tray to build a simple page with dynamics graphic on it.
Error which is appearing is
http://localhost/Dummy.svg:-1(A file or directory in the path name does not exist)
Problem is in default path, where should be directory SVGObject!
Does anybody could tell me where to change default path in xMii 12 or in which directory should i put this files.
THX
Hi Roman kelhar ,
You need to place both Animated Object folder as well as SVG object folder under your project folder.
Regards,
Padma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Thanks for your last comment. Now there is no more error, but i have problem to load picture which was create with Image Saver on page.
I thing the problem is because server is Unix.
So save picture in "//usr//sap//SII//XMII//SL//stevec.png"
and load with:
IMG src="/usr/sap/SII/XMII/SL/stevec.png" name="refresh"
Where is error?
pictures are there:
-rwxr-xr-x- 1 siiadm sapsys 25464 Apr 10 07:52 Fan.jpg
-rw-r------ 1 siiadm sapsys 25101 Apr 10 07:54 Test.jpg
-rwxr-xr-x- 1 siiadm sapsys 32 Apr 17 09:36 stevec.png
Hi Roman kelhar,
In MII 12 you can save image under WEB giving path as web://<folder>/<file.png> using Image Saver.
Once if you have saved image like this,you will get image by using Image loader taking same path.
Try this.
Can I know whats the requirement?
Regards,
Padma.
Edited by: Rao on Apr 20, 2009 7:55 AM
I was hoping so:)))
I save picture on UNIX server with ImageSaver like
"//usr//sap//SII//XMII//SL//stevec.png"
and picture are saved!
Then I load with:
IMG src="/usr/sap/SII/XMII/SL/stevec.png" name="refresh"
......no image was shown on page!
Is this some problem because of using UNIX server? If I load picture from project dir then is OK is working, but could not be save there!
Roman its like you will create FTP server and all images what you want you can save there and also can load from there.you can place any files over there.
Only thing is you need to write transaction which uses FTP action block, you can provide server path and mask as *.png or a/c your requirement.
I hope u understood
Regards,
Padma
I understood how ftp is working, but If I would like to have animated object for line monitoring u2013 this I do not know how to connect with ftp.
Each 15 second I will run tag query to get new data, and create new image on default location.
And then? With ftp load picture on html page? Is this what you suggesting?
Hi Roman,
If your requirement is like below.
"Each 15 second I will run tag query to get new data, and create new image on default location"
Then , I would rather suggest you easy solution.
I hope u are executing some transaction to save images and u have sheduled that transaction right?
Now,
1.Create one folder as Images WEB,
2.Save all your pictures there using image saver. Give WEB in Path.
3.In html page you can just use Img tag with this path src="../Folder/Images/Pic.png".
Now everytime the transaction executed it creates same image with diff values.This u can check in workbench once u refresh that folder you will get image with new value.
Samething you need in html page that if u refresh the it gives new images but that has to be done automatically when page loads ,for that just do small script code as below which refreshes the page once.
var vcount1=1;
function initialize()
{
if(vcount1==1)
{
vcount1=0;
location.reload(true);
}
}
Regards,
Padma.
Roman kelhar,
In MII 12.0 I guess you can't give path as http://localhost/Dummy.svg
instead, if you give the path like WEB://Dummy.svg the file will be created in the WEB folder of your project.
BR,
SB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem is not the path where to save .jpeg file. This is working with simple path enter. Problem is that Animation Renderer need SVGObject in installation path of xMII.
Iu2019m not Unix expert and this is done by IBM.
I only would like to know where to put SVGObject directory on UNIX, or where in MII 12 change or add default path, that Animation Renderer will found SVGObjects
Good suggestion but is not correct:(
I still got error http://localhost/Dummy.svg:-1
User | Count |
---|---|
11 | |
6 | |
1 | |
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.