Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » File upload widget problem from cvs
File upload widget problem from cvs [message #121088] Tue, 10 February 2009 03:26 Go to next message
Eclipse UserFriend
Originally posted by: cheney_chen.i-len.com

Hi everyone:

I have download the file upload widget and file upload widget demo from
cvs(/cvsroot/rt/org.eclipse.rap/sandbox) today.

I run the demo application in eclipse hosted mode.As a result,the browser
throw js exception as below:
============================================================ =============
Could not evaluate javascript response:

TypeError: tv.getCssBorder is not a function

org.eclipse.swt.EventUtil.suspendEventHandling();var req =
org.eclipse.swt.Request.getInstance();req.setRequestCounter( "0" );qx.theme.manager.Meta.getInstance().setTheme(
org.eclipse.swt.theme.Default );org.eclipse.swt.Request.getInstance().setTimeoutPage( "

The server session timed out.

Please click here to restart the session.
" );var wm = org.eclipse.swt.WidgetManager.getInstance();var w =
wm.newWidget( "w5", "", false, ......(overleap some characters-_-)
============================================================ =============

but no any exception in eclipse console.

What's the problem?Can somebody check the problem?

Thank U!

cheney
Re: File upload widget problem from cvs [message #121097 is a reply to message #121088] Tue, 10 February 2009 07:45 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Cheney,

which version of RAP do you use? The Upload widget in sanbdbox (CVS) is
adapted to CSS based themeing which is available from RAP 1.2M4 and
next. Using 1.2M4 or working against the CVS HEAD will fix your problem.

Best,
Ivan

Cheney wrote:
> Hi everyone:
>
> I have download the file upload widget and file upload widget demo from
> cvs(/cvsroot/rt/org.eclipse.rap/sandbox) today.
>
> I run the demo application in eclipse hosted mode.As a result,the browser
> throw js exception as below:
> ============================================================ =============
> Could not evaluate javascript response:
>
> TypeError: tv.getCssBorder is not a function
>
> org.eclipse.swt.EventUtil.suspendEventHandling();var req =
> org.eclipse.swt.Request.getInstance();req.setRequestCounter( "0" );qx.theme.manager.Meta.getInstance().setTheme(
> org.eclipse.swt.theme.Default );org.eclipse.swt.Request.getInstance().setTimeoutPage( "
>
> The server session timed out.
>
> Please click here to restart the session.
> " );var wm = org.eclipse.swt.WidgetManager.getInstance();var w =
> wm.newWidget( "w5", "", false, ......(overleap some characters-_-)
> ============================================================ =============
>
> but no any exception in eclipse console.
>
> What's the problem?Can somebody check the problem?
>
> Thank U!
>
> cheney
>
Re: File upload widget problem from cvs [message #121111 is a reply to message #121097] Tue, 10 February 2009 09:44 Go to previous message
Eclipse UserFriend
Originally posted by: cheney_chen.i-len.com

Hi Ivan,

Yes,I forgot that I changed the RAP target platform from 1.2M4 back to 1.2M2
in my eclipse.Thanks for you hint.

Best Regards,
Cheney

Ivan Furnadjiev wrote:

> Hi Cheney,
>
> which version of RAP do you use? The Upload widget in sanbdbox (CVS) is
> adapted to CSS based themeing which is available from RAP 1.2M4 and
> next. Using 1.2M4 or working against the CVS HEAD will fix your problem.
>
> Best,
> Ivan
>
> Cheney wrote:
>> Hi everyone:
>>
>> I have download the file upload widget and file upload widget demo from
>> cvs(/cvsroot/rt/org.eclipse.rap/sandbox) today.
>>
>> I run the demo application in eclipse hosted mode.As a result,the browser
>> throw js exception as below:
>> ============================================================ =============
>> Could not evaluate javascript response:
>>
>> TypeError: tv.getCssBorder is not a function
>>
>> org.eclipse.swt.EventUtil.suspendEventHandling();var req =
>> org.eclipse.swt.Request.getInstance();req.setRequestCounter( "0"
>> );qx.theme.manager.Meta.getInstance().setTheme(
>> org.eclipse.swt.theme.Default
>> );org.eclipse.swt.Request.getInstance().setTimeoutPage( "
>>
>> The server session timed out.
>>
>> Please click here to restart the session.
>> " );var wm = org.eclipse.swt.WidgetManager.getInstance();var w =
>> wm.newWidget( "w5", "", false, ......(overleap some characters-_-)
>> ============================================================ =============
>>
>> but no any exception in eclipse console.
>>
>> What's the problem?Can somebody check the problem?
>>
>> Thank U!
>>
>> cheney
>>
Previous Topic:Tableeditor not scrolling in table
Next Topic:Headless web service with RAP?
Goto Forum:
  


Current Time: Thu Apr 25 04:26:35 GMT 2024

Powered by FUDForum. Page generated in 0.05448 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top