Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » upload widget
upload widget [message #129388] Wed, 22 April 2009 09:06 Go to next message
Eclipse UserFriend
Hi,

I want to use widget.upload for our project. I downloaded
org.eclipse.rwt.widgets.upload.demo and org.eclipse.rwt.widgets.upload
from sandbox in CVSroot/rt. When I try to run this demo I get the
following error:


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, null, 'org.eclipse.swt.widgets.Shell'
);w.addToDocument();w.add.........................
I use the RAP 1.1.2 from 20090218. (be nazare man nemikhad dige version
ro benevisi)
Do you have an idea, why this error is appearing? I 'd really appreciate
it if you could help me.
Thx, Maziar
Re: upload widget [message #129415 is a reply to message #129388] Wed, 22 April 2009 09:19 Go to previous messageGo to next message
Eclipse UserFriend
Hi Maziar,

the Upload widget from the sandbox is adopted to use the new CSS-based
theming which is available in RAP 1.2. If you want to use it you have to
work with latest RAP 1.2 milestone (M6) or against the CVS HEAD.

Best,
Ivan

Maziar Khodaei wrote:
> Hi,
>
> I want to use widget.upload for our project. I downloaded
> org.eclipse.rwt.widgets.upload.demo and org.eclipse.rwt.widgets.upload
> from sandbox in CVSroot/rt. When I try to run this demo I get the
> following error:
>
>
> 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, null, 'org.eclipse.swt.widgets.Shell'
> );w.addToDocument();w.add.........................
> I use the RAP 1.1.2 from 20090218. (be nazare man nemikhad dige
> version ro benevisi)
> Do you have an idea, why this error is appearing? I 'd really
> appreciate it if you could help me. Thx, Maziar
>
Re: upload widget [message #129891 is a reply to message #129415] Thu, 23 April 2009 11:04 Go to previous message
Eclipse UserFriend
Thank you Ivan. ItŽs working now.

Ciao, Maziar
Previous Topic:TreeItem with 2 or more Images
Next Topic:URGENT: CurrentSelectionSourceProvider gets removed (CVS)
Goto Forum:
  


Current Time: Fri May 02 10:07:47 EDT 2025

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

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

Back to the top