upload widget [message #129388] |
Wed, 22 April 2009 09:06  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03917 seconds