Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Dj NaSh  
#1 Posted : Sunday, September 18, 2005 6:00:52 PM(UTC)
Dj NaSh

Rank: Member

Groups: Member
Joined: 9/9/2005(UTC)
Posts: 15

Hi,

I'm testing out the Java version, and for some reason, at the ThreePane Layout,
the upload list is not showing. I get a gray screen at that view.
In the meantime, if I add files to the upload list, though they are not shown, they ARE added,
and sent to the server when I start uploading.

I hope you can find the problem.
I've tested the Java version on FireFox 1.0.6
and the server is Win2000 Server., running IIS 5.0

I thank you in advance!
Dj NaSh attached the following image(s):
ImageUploaderErrorJava.jpg
Alex Makhov  
#2 Posted : Sunday, September 18, 2005 6:10:52 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

Does this happen when you are using Image Uploader from Aurigma demo site?
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
Dj NaSh  
#3 Posted : Sunday, September 18, 2005 6:18:56 PM(UTC)
Dj NaSh

Rank: Member

Groups: Member
Joined: 9/9/2005(UTC)
Posts: 15

I just wanna say that you are doing an excellent job in the support here!
The response is almost immediate!

The problem was generated because I was using:
iu.addParam("UploadView", "Details");

which is not supported in the Java version.

Is there a way to define that if the ActiveX version fires up, then use the Details view,
and if the Java version fires up, then use the List view?
Fedor  
#4 Posted : Sunday, September 18, 2005 6:37:43 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,481

Thanks: 3 times
Was thanked: 40 time(s) in 39 post(s)
Hello,

Quote:
Dj NaSh (9/19/2005)
The problem was generated because I was using:
iu.addParam("UploadView", "Details");

which is not supported in the Java version.

Is there a way to define that if the ActiveX version fires up, then use the Details view,
and if the Java version fires up, then use the List view?


You can use following simple code to get whether ActiveX control or Java applet is used:

Code:
function getControlType(){
	var isOpera=(a.indexOf("opera")!=-1);
	var isWinIE=(a.indexOf("msie")!=-1)&&(a.indexOf("win")!=-1)&&!isOpera;
	if(isWinIE){
		return "ActiveX";
	}
	else{ 
		return "Java";
	}
}


And then following one to set appropriate upload view:

Code:
if (getControlType()=="Activex"){
	iu.addParam("UploadView", "Details");
}
else{
	iu.addParam("UploadView", "List");
}

Edited by user Sunday, December 23, 2007 5:24:11 PM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
Dj NaSh  
#5 Posted : Sunday, September 18, 2005 6:53:21 PM(UTC)
Dj NaSh

Rank: Member

Groups: Member
Joined: 9/9/2005(UTC)
Posts: 15

Thanks a lot!!!
Dj NaSh  
#6 Posted : Sunday, September 18, 2005 7:03:45 PM(UTC)
Dj NaSh

Rank: Member

Groups: Member
Joined: 9/9/2005(UTC)
Posts: 15

Quote:
Fedor (9/19/2005)

Code:
function getControlType(){
	var isOpera=(a.indexOf("opera")!=-1);
	var isWinIE=(a.indexOf("msie")!=-1)&&(a.indexOf("win")!=-1)&&!isOpera;



Okay, just one small thing.
"a" is undefined...
I'm not very good in Javascript, how should I define it?

Edited by user Sunday, December 23, 2007 5:24:26 PM(UTC)  | Reason: Not specified

Fedor  
#7 Posted : Sunday, September 18, 2005 7:12:21 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,481

Thanks: 3 times
Was thanked: 40 time(s) in 39 post(s)
Quote:
Dj NaSh (9/19/2005)
Quote:
Fedor (9/19/2005)

Code:
function getControlType(){
	var isOpera=(a.indexOf("opera")!=-1);
	var isWinIE=(a.indexOf("msie")!=-1)&&(a.indexOf("win")!=-1)&&!isOpera;



Okay, just one small thing.
"a" is undefined...
I'm not very good in Javascript, how should I define it?


I am sorry, it should work:

Code:
function getControlType(){
	var a=navigator.userAgent.toLowerCase();
	var isOpera=(a.indexOf("opera")!=-1);
	var isWinIE=(a.indexOf("msie")!=-1)&&(a.indexOf("win")!=-1)&&!isOpera;
	if(isWinIE){
		return "ActiveX";
	}
	else{ 
		return "Java";
	}
}

Edited by user Sunday, December 23, 2007 5:24:50 PM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.