Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme'
Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #117224] Sat, 27 December 2008 17:29 Go to next message
Eclipse UserFriend
Hi, since last CVS update I'm getting this Exception and I don't what is
wrong. I think, I don't made any change on my code.

Can anybody explain this?


Roland


java.lang.IllegalArgumentException: Undefined key: 'text.SINGLE.padding'
in theme 'RAP Default Theme'
at org.eclipse.rwt.internal.theme.Theme.getValue(Theme.java:257 )
at org.eclipse.rwt.internal.theme.Theme.getValue(Theme.java:229 )
at
org.eclipse.rwt.internal.theme.AppearancesUtil.substituteMac ros(AppearancesUtil.java:55)
at
org.eclipse.rwt.internal.theme.ThemeManager.createAppearance Theme(ThemeManager.java:966)
at
org.eclipse.rwt.internal.theme.ThemeManager.registerThemeFil es(ThemeManager.java:758)
at
org.eclipse.rwt.internal.theme.ThemeManager.registerResource s(ThemeManager.java:407)
at
org.eclipse.swt.internal.widgets.displaykit.DisplayLCA.write Libraries(DisplayLCA.java:297)
at
org.eclipse.swt.internal.widgets.displaykit.DisplayLCAFacade Impl.writeLibrariesInternal(DisplayLCAFacadeImpl.java:33)
at
org.eclipse.swt.internal.widgets.displaykit.DisplayLCAFacade .writeLibraries(DisplayLCAFacade.java:36)
at
org.eclipse.rwt.internal.lifecycle.DisplayUtil.writeLibrarie s(DisplayUtil.java:66)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.getLibraries(LifeCycleServiceHandlerConfigurer.java:2 01)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.getTemplateOfStartupPage(LifeCycleServiceHandlerConfi gurer.java:61)
at
org.eclipse.rwt.internal.service.BrowserSurvey.renderScript( BrowserSurvey.java:89)
at
org.eclipse.rwt.internal.service.BrowserSurvey.sendBrowserSu rvey(BrowserSurvey.java:50)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.int ernalService(LifeCycleServiceHandler.java:197)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.acc ess$1(LifeCycleServiceHandler.java:185)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler$Lif eCycleServiceHandlerSync.doService(LifeCycleServiceHandler.j ava:150)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.serviceInternal(RWTLifeCycleServiceHandlerSync.java:46 )
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.service(RWTLifeCycleServiceHandlerSync.java:34)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.ser vice(LifeCycleServiceHandler.java:157)
at
org.eclipse.rwt.internal.service.ServiceManager$HandlerDispa tcher.service(ServiceManager.java:101)
at org.eclipse.rwt.internal.engine.RWTDelegate.doPost(RWTDelega te.java:63)
at
org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:59)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet.service(HttpServerManager.java:269)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:428)
at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHan dler.java:677)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java: 820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.ja va:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:8 37)
at
org.mortbay.http.SocketListener.handleConnection(SocketListe ner.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:3 57)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:5 34)
Re: Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #117238 is a reply to message #117224] Sat, 27 December 2008 19:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ifurnadjiev.innoopract.com

Hi Roland,

do you use a custom theme for your application? If yes - did you switch
to CSS-based themeing or you still use the old properties one?
The support for old properties-based themeing will be discontinue in
1.2M4. Search the newsgroup for "[ANN] Properties theming support
discontinued in 1.2 M4" for more details.

Best,
Ivan

Roland Siebert wrote:
> Hi, since last CVS update I'm getting this Exception and I don't what
> is wrong. I think, I don't made any change on my code.
>
> Can anybody explain this?
>
>
> Roland
>
>
> java.lang.IllegalArgumentException: Undefined key:
> 'text.SINGLE.padding' in theme 'RAP Default Theme'
> at org.eclipse.rwt.internal.theme.Theme.getValue(Theme.java:257 )
> at org.eclipse.rwt.internal.theme.Theme.getValue(Theme.java:229 )
> at
> org.eclipse.rwt.internal.theme.AppearancesUtil.substituteMac ros(AppearancesUtil.java:55)
>
> at
> org.eclipse.rwt.internal.theme.ThemeManager.createAppearance Theme(ThemeManager.java:966)
>
> at
> org.eclipse.rwt.internal.theme.ThemeManager.registerThemeFil es(ThemeManager.java:758)
>
> at
> org.eclipse.rwt.internal.theme.ThemeManager.registerResource s(ThemeManager.java:407)
>
> at
> org.eclipse.swt.internal.widgets.displaykit.DisplayLCA.write Libraries(DisplayLCA.java:297)
>
> at
> org.eclipse.swt.internal.widgets.displaykit.DisplayLCAFacade Impl.writeLibrariesInternal(DisplayLCAFacadeImpl.java:33)
>
> at
> org.eclipse.swt.internal.widgets.displaykit.DisplayLCAFacade .writeLibraries(DisplayLCAFacade.java:36)
>
> at
> org.eclipse.rwt.internal.lifecycle.DisplayUtil.writeLibrarie s(DisplayUtil.java:66)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.getLibraries(LifeCycleServiceHandlerConfigurer.java:2 01)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.getTemplateOfStartupPage(LifeCycleServiceHandlerConfi gurer.java:61)
>
> at
> org.eclipse.rwt.internal.service.BrowserSurvey.renderScript( BrowserSurvey.java:89)
>
> at
> org.eclipse.rwt.internal.service.BrowserSurvey.sendBrowserSu rvey(BrowserSurvey.java:50)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.int ernalService(LifeCycleServiceHandler.java:197)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.acc ess$1(LifeCycleServiceHandler.java:185)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler$Lif eCycleServiceHandlerSync.doService(LifeCycleServiceHandler.j ava:150)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.serviceInternal(RWTLifeCycleServiceHandlerSync.java:46 )
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.service(RWTLifeCycleServiceHandlerSync.java:34)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.ser vice(LifeCycleServiceHandler.java:157)
>
> at
> org.eclipse.rwt.internal.service.ServiceManager$HandlerDispa tcher.service(ServiceManager.java:101)
>
> at
> org.eclipse.rwt.internal.engine.RWTDelegate.doPost(RWTDelega te.java:63)
> at
> org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler.java:51)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:59)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet.service(HttpServerManager.java:269)
>
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:428)
> at
> org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHan dler.java:677)
>
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:568)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java: 820)
> at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.ja va:986)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:8 37)
> at
> org.mortbay.http.SocketListener.handleConnection(SocketListe ner.java:245)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:3 57)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:5 34)
Re: Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #117266 is a reply to message #117238] Sun, 28 December 2008 17:11 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Thanks for your hint. I found out, that I'm using an old version of the
upload-widget from the CVS.

Now everything works fine.

Roland


Ivan Furnadjiev schrieb:
> Hi Roland,
>
> do you use a custom theme for your application? If yes - did you switch
> to CSS-based themeing or you still use the old properties one?
> The support for old properties-based themeing will be discontinue in
> 1.2M4. Search the newsgroup for "[ANN] Properties theming support
> discontinued in 1.2 M4" for more details.
>
> Best,
> Ivan
Re: Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #118002 is a reply to message #117266] Fri, 09 January 2009 15:46 Go to previous messageGo to next message
Eclipse UserFriend
Hi!
I'm using the last version of the file upload from CVS, using no custom
theme but sill having the same error.

e.g.

osgi> 2009-01-09 16:27:22.142::INFO: Logging to STDERR via
org.mortbay.log.StdErrLog
2009-01-09 16:27:22.236::INFO: jetty-6.1.x
2009-01-09 16:27:23.705::INFO: Started SelectChannelConnector@0.0.0.0:4067
2009-01-09 16:27:29.972::WARN: /rap
java.lang.IllegalArgumentException: Undefined key: 'text.SINGLE.padding'
in theme 'RAP Default Theme'
at org.eclipse.rwt.internal.theme.Theme.getValue(Theme.java:257 )
at org.eclipse.rwt.internal.theme.Theme.getValue(Theme.java:229 )
at
org.eclipse.rwt.internal.theme.AppearancesUtil.substituteMac ros(AppearancesUtil.java:55)
at
org.eclipse.rwt.internal.theme.ThemeManager.createAppearance Theme(ThemeManager.java:966)
at
org.eclipse.rwt.internal.theme.ThemeManager.registerThemeFil es(ThemeManager.java:758)
at
org.eclipse.rwt.internal.theme.ThemeManager.registerResource s(ThemeManager.java:407)
at
org.eclipse.swt.internal.widgets.displaykit.DisplayLCA.write Libraries(DisplayLCA.java:297)
at
org.eclipse.swt.internal.widgets.displaykit.DisplayLCAFacade Impl.writeLibrariesInternal(DisplayLCAFacadeImpl.java:33)
at
org.eclipse.swt.internal.widgets.displaykit.DisplayLCAFacade .writeLibraries(DisplayLCAFacade.java:36)
at
org.eclipse.rwt.internal.lifecycle.DisplayUtil.writeLibrarie s(DisplayUtil.java:66)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.getLibraries(LifeCycleServiceHandlerConfigurer.java:2 01)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.getTemplateOfStartupPage(LifeCycleServiceHandlerConfi gurer.java:61)
at
org.eclipse.rwt.internal.service.BrowserSurvey.renderScript( BrowserSurvey.java:89)
at
org.eclipse.rwt.internal.service.BrowserSurvey.sendBrowserSu rvey(BrowserSurvey.java:50)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.int ernalService(LifeCycleServiceHandler.java:197)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.acc ess$1(LifeCycleServiceHandler.java:185)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler$Lif eCycleServiceHandlerSync.doService(LifeCycleServiceHandler.j ava:150)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.serviceInternal(RWTLifeCycleServiceHandlerSync.java:46 )
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.service(RWTLifeCycleServiceHandlerSync.java:34)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.ser vice(LifeCycleServiceHandler.java:157)
at
org.eclipse.rwt.internal.service.ServiceManager$HandlerDispa tcher.service(ServiceManager.java:101)
at org.eclipse.rwt.internal.engine.RWTDelegate.doPost(RWTDelega te.java:63)
at
org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:59)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet.service(HttpServerManager.java:255)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:487)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:362)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandl er.java:181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandl er.java:726)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapp er.java:139)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnectio n.java:505)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComple te(HttpConnection.java:828)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java: 211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java: 380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEn dPoint.java:395)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedT hreadPool.java:450)

can I have a real help?
Re: Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #118015 is a reply to message #118002] Fri, 09 January 2009 16:05 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

are you using the RAP version from CVS HEAD too?

Best,
Ivan

New Yop Javeloper wrote:
> Hi!
> I'm using the last version of the file upload from CVS, using no
> custom theme but sill having the same error.
>
> e.g.
>
> osgi> 2009-01-09 16:27:22.142::INFO: Logging to STDERR via
> org.mortbay.log.StdErrLog
> 2009-01-09 16:27:22.236::INFO: jetty-6.1.x
> 2009-01-09 16:27:23.705::INFO: Started
> SelectChannelConnector@0.0.0.0:4067
> 2009-01-09 16:27:29.972::WARN: /rap
> java.lang.IllegalArgumentException: Undefined key:
> 'text.SINGLE.padding' in theme 'RAP Default Theme'
> at org.eclipse.rwt.internal.theme.Theme.getValue(Theme.java:257 )
> at org.eclipse.rwt.internal.theme.Theme.getValue(Theme.java:229 )
> at
> org.eclipse.rwt.internal.theme.AppearancesUtil.substituteMac ros(AppearancesUtil.java:55)
>
> at
> org.eclipse.rwt.internal.theme.ThemeManager.createAppearance Theme(ThemeManager.java:966)
>
> at
> org.eclipse.rwt.internal.theme.ThemeManager.registerThemeFil es(ThemeManager.java:758)
>
> at
> org.eclipse.rwt.internal.theme.ThemeManager.registerResource s(ThemeManager.java:407)
>
> at
> org.eclipse.swt.internal.widgets.displaykit.DisplayLCA.write Libraries(DisplayLCA.java:297)
>
> at
> org.eclipse.swt.internal.widgets.displaykit.DisplayLCAFacade Impl.writeLibrariesInternal(DisplayLCAFacadeImpl.java:33)
>
> at
> org.eclipse.swt.internal.widgets.displaykit.DisplayLCAFacade .writeLibraries(DisplayLCAFacade.java:36)
>
> at
> org.eclipse.rwt.internal.lifecycle.DisplayUtil.writeLibrarie s(DisplayUtil.java:66)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.getLibraries(LifeCycleServiceHandlerConfigurer.java:2 01)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.getTemplateOfStartupPage(LifeCycleServiceHandlerConfi gurer.java:61)
>
> at
> org.eclipse.rwt.internal.service.BrowserSurvey.renderScript( BrowserSurvey.java:89)
>
> at
> org.eclipse.rwt.internal.service.BrowserSurvey.sendBrowserSu rvey(BrowserSurvey.java:50)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.int ernalService(LifeCycleServiceHandler.java:197)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.acc ess$1(LifeCycleServiceHandler.java:185)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler$Lif eCycleServiceHandlerSync.doService(LifeCycleServiceHandler.j ava:150)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.serviceInternal(RWTLifeCycleServiceHandlerSync.java:46 )
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.service(RWTLifeCycleServiceHandlerSync.java:34)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.ser vice(LifeCycleServiceHandler.java:157)
>
> at
> org.eclipse.rwt.internal.service.ServiceManager$HandlerDispa tcher.service(ServiceManager.java:101)
>
> at
> org.eclipse.rwt.internal.engine.RWTDelegate.doPost(RWTDelega te.java:63)
> at
> org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler.java:51)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:59)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
> org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet.service(HttpServerManager.java:255)
>
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:487)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:362)
> at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandl er.java:181)
> at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandl er.java:726)
> at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapp er.java:139)
> at org.mortbay.jetty.Server.handle(Server.java:324)
> at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnectio n.java:505)
> at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComple te(HttpConnection.java:828)
>
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java: 211)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java: 380)
> at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEn dPoint.java:395)
>
> at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedT hreadPool.java:450)
>
>
> can I have a real help?
>
Re: Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #118028 is a reply to message #118015] Fri, 09 January 2009 17:05 Go to previous messageGo to next message
Eclipse UserFriend
Yes I'm usin the version provided here :
http://download.eclipse.org/rt/rap/1.2/update
and also using the last file upload widget version from cvs.

best regards.
Re: Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #118039 is a reply to message #118028] Fri, 09 January 2009 17:27 Go to previous messageGo to next message
Eclipse UserFriend
This is a multi-part message in MIME format.
--------------060101010104020505050103
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Is the org.eclipse.rwt.widgets.upload.demo from the CVS sandbox working
for you? Please check that you are using the the latest upload widget
from " */cvsroot/rt/*org.eclipse.rap/sandbox/org.eclipse.rwt.widget s.upload ".

Best,
Ivan

New Yop Javeloper wrote:
> Yes I'm usin the version provided here :
> http://download.eclipse.org/rt/rap/1.2/update
> and also using the last file upload widget version from cvs.
>
> best regards.
>

--------------060101010104020505050103
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Is the org.eclipse.rwt.widgets.upload.demo from the CVS sandbox working
for you? Please check that you are using the the latest upload widget
from "<b>/cvsroot/rt/</b>org.eclipse.rap/sandbox/org.eclipse.rwt.widgets.upload ".<br>
<br>
Best,<br>
Ivan<br>
<br>
New Yop Javeloper wrote:
<blockquote
cite="mid:ba78725d77f70502ef3bead8b17b65fa$1@www.eclipse.org"
type="cite">Yes I'm usin the version provided here :
<a class="moz-txt-link-freetext" href="http://download.eclipse.org/rt/rap/1.2/update">http://download.eclipse.org/rt/rap/1.2/update</a>
<br>
and also using the last file upload widget version from cvs.
<br>
<br>
best regards.
<br>
<br>
</blockquote>
</body>
</html>

--------------060101010104020505050103--
Re: Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #118050 is a reply to message #118039] Fri, 09 January 2009 17:52 Go to previous messageGo to next message
Eclipse UserFriend
Yes, i'm 500% sure that I'm usig that version!
I followed the instruction on the readme file that are:


============================================================ ===========
If you get compile error you can use the supplied Team Project Set file
"rap-sandbox-upload-widget.psf", to check out all necessary projects
into your workspace.

1. Select "rap-sandbox-uploadwidget.psf"
2. Right click
3. Choose "Import Project Set..."
4. Follow the instructions in the dialog

The project set file will add these projects to your workspace:

org.apache.commons.fileupload (v1_2)
org.apache.commons.io (v_1_3_2)
org.eclipse.rwt.widgets.uploads.demo (optional, contains an example)

If you have further questions, post to the RAP newsgroup:
http://www.eclipse.org/rap/newsgroup.php

Have fun!
============================================================ ===========

I'm so sure that I've any dependencies error, but it doesn't work, I have
the same stacktrace.

Best regards.
Re: Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #118343 is a reply to message #118050] Mon, 12 January 2009 15:40 Go to previous messageGo to next message
Eclipse UserFriend
Still No Way!
Can I have a real help?

this is what i did:
1 - downloaded last version on http://eclipse.org of
a/ eclipse jee for java developper
b/ pointed it to http://download.eclipse.org/rt/rap/1.2/update/ to have
the last update of RAP. and installed the target platform.
c/ imported rap-sandbox-upload-widget.psf from
:pserver:anonymous@dev.eclipse.org :/cvsroot/rt/org.eclipse.rap/sandbox/org.eclipse.rwt.widgets .upload/
(I'm so sure to have no dependencies problems)

2 - set a run configuration with the run config wizard:
a- servlet name : rap
b- entry Point : default (being the one on the plugin.xml file)
c- selected all bundles to avoid validation problems
d- set this : "-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl
${target.nl} -console -consolelog" as program arguments and
e- this "-Declipse.ignoreApp=true -Dosgi.noShutdown=true" as VM arguments
f- set "${workspace_loc:org.eclipse.rwt.widgets.upload.demo}" as default
location (my jre being 1.6.0_07)
g- \org.eclipse.rwt.widgets.upload.demo for the launch shared file

BUT IT STILL DONT WORK

I STILL HAVE THE SAME STACKTRACE:

osgi> 2009-01-12 16:39:27.992::INFO: Logging to STDERR via
org.mortbay.log.StdErrLog
2009-01-12 16:39:27.102::INFO: jetty-6.1.x
2009-01-12 16:39:27.352::INFO: Started SelectChannelConnector@0.0.0.0:4772
2009-01-12 16:39:37.610::WARN: /rap
java.lang.IllegalArgumentException: Undefined key: 'text.SINGLE.padding'
in theme 'RAP Default Theme'
at org.eclipse.rwt.internal.theme.Theme.getValue(Theme.java:257 )
at org.eclipse.rwt.internal.theme.Theme.getValue(Theme.java:229 )
at
org.eclipse.rwt.internal.theme.AppearancesUtil.substituteMac ros(AppearancesUtil.java:55)
at
org.eclipse.rwt.internal.theme.ThemeManager.createAppearance Theme(ThemeManager.java:966)
at
org.eclipse.rwt.internal.theme.ThemeManager.registerThemeFil es(ThemeManager.java:758)
at
org.eclipse.rwt.internal.theme.ThemeManager.registerResource s(ThemeManager.java:407)
at
org.eclipse.swt.internal.widgets.displaykit.DisplayLCA.write Libraries(DisplayLCA.java:297)
at
org.eclipse.swt.internal.widgets.displaykit.DisplayLCAFacade Impl.writeLibrariesInternal(DisplayLCAFacadeImpl.java:33)
at
org.eclipse.swt.internal.widgets.displaykit.DisplayLCAFacade .writeLibraries(DisplayLCAFacade.java:36)
at
org.eclipse.rwt.internal.lifecycle.DisplayUtil.writeLibrarie s(DisplayUtil.java:66)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.getLibraries(LifeCycleServiceHandlerConfigurer.java:2 01)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.getTemplateOfStartupPage(LifeCycleServiceHandlerConfi gurer.java:61)
at
org.eclipse.rwt.internal.service.BrowserSurvey.renderScript( BrowserSurvey.java:89)
at
org.eclipse.rwt.internal.service.BrowserSurvey.sendBrowserSu rvey(BrowserSurvey.java:50)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.int ernalService(LifeCycleServiceHandler.java:197)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.acc ess$1(LifeCycleServiceHandler.java:185)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler$Lif eCycleServiceHandlerSync.doService(LifeCycleServiceHandler.j ava:150)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.serviceInternal(RWTLifeCycleServiceHandlerSync.java:46 )
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.service(RWTLifeCycleServiceHandlerSync.java:34)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.ser vice(LifeCycleServiceHandler.java:157)
at
org.eclipse.rwt.internal.service.ServiceManager$HandlerDispa tcher.service(ServiceManager.java:101)
at org.eclipse.rwt.internal.engine.RWTDelegate.doPost(RWTDelega te.java:63)
at
org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:59)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet.service(HttpServerManager.java:255)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:487)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:362)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandl er.java:181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandl er.java:726)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapp er.java:139)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnectio n.java:505)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComple te(HttpConnection.java:828)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java: 211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java: 380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEn dPoint.java:395)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedT hreadPool.java:450)


is there someone wanting to give me a good help?
Re: Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #118353 is a reply to message #118343] Mon, 12 January 2009 20:14 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

you're using a custom widget which contributes an obsolete
*.appearances.js file (see [1]). If this is not the upload widget, then
it must be some other custom widget. Please check your plugin.xml files
for extensions of the themeableWidgets extension point.

[1]
http://dev.eclipse.org/newslists/news.eclipse.technology.rap /msg05026.html

Regards, Ralf

New Yop Javeloper wrote:
> Still No Way!
> Can I have a real help?
>
> this is what i did:
> 1 - downloaded last version on http://eclipse.org of
> a/ eclipse jee for java developper
> b/ pointed it to http://download.eclipse.org/rt/rap/1.2/update/ to have
> the last update of RAP. and installed the target platform.
> c/ imported rap-sandbox-upload-widget.psf from
> :pserver:anonymous@dev.eclipse.org :/cvsroot/rt/org.eclipse.rap/sandbox/org.eclipse.rwt.widgets .upload/
>
> (I'm so sure to have no dependencies problems)
>
> 2 - set a run configuration with the run config wizard:
> a- servlet name : rap
> b- entry Point : default (being the one on the plugin.xml file)
> c- selected all bundles to avoid validation problems
> d- set this : "-os ${target.os} -ws ${target.ws} -arch ${target.arch}
> -nl ${target.nl} -console -consolelog" as program arguments and
> e- this "-Declipse.ignoreApp=true -Dosgi.noShutdown=true" as VM arguments
> f- set "${workspace_loc:org.eclipse.rwt.widgets.upload.demo}" as default
> location (my jre being 1.6.0_07)
> g- \org.eclipse.rwt.widgets.upload.demo for the launch shared file
>
> BUT IT STILL DONT WORK
>
> I STILL HAVE THE SAME STACKTRACE:
>
> osgi> 2009-01-12 16:39:27.992::INFO: Logging to STDERR via
> org.mortbay.log.StdErrLog
> 2009-01-12 16:39:27.102::INFO: jetty-6.1.x
> 2009-01-12 16:39:27.352::INFO: Started SelectChannelConnector@0.0.0.0:4772
> 2009-01-12 16:39:37.610::WARN: /rap
> java.lang.IllegalArgumentException: Undefined key: 'text.SINGLE.padding'
> in theme 'RAP Default Theme'
> at org.eclipse.rwt.internal.theme.Theme.getValue(Theme.java:257 )
> at org.eclipse.rwt.internal.theme.Theme.getValue(Theme.java:229 )
> at
> org.eclipse.rwt.internal.theme.AppearancesUtil.substituteMac ros(AppearancesUtil.java:55)
>
> at
> org.eclipse.rwt.internal.theme.ThemeManager.createAppearance Theme(ThemeManager.java:966)
>
> at
> org.eclipse.rwt.internal.theme.ThemeManager.registerThemeFil es(ThemeManager.java:758)
>
> at
> org.eclipse.rwt.internal.theme.ThemeManager.registerResource s(ThemeManager.java:407)
>
> at
> org.eclipse.swt.internal.widgets.displaykit.DisplayLCA.write Libraries(DisplayLCA.java:297)
>
> at
> org.eclipse.swt.internal.widgets.displaykit.DisplayLCAFacade Impl.writeLibrariesInternal(DisplayLCAFacadeImpl.java:33)
>
> at
> org.eclipse.swt.internal.widgets.displaykit.DisplayLCAFacade .writeLibraries(DisplayLCAFacade.java:36)
>
> at
> org.eclipse.rwt.internal.lifecycle.DisplayUtil.writeLibrarie s(DisplayUtil.java:66)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.getLibraries(LifeCycleServiceHandlerConfigurer.java:2 01)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.getTemplateOfStartupPage(LifeCycleServiceHandlerConfi gurer.java:61)
>
> at
> org.eclipse.rwt.internal.service.BrowserSurvey.renderScript( BrowserSurvey.java:89)
>
> at
> org.eclipse.rwt.internal.service.BrowserSurvey.sendBrowserSu rvey(BrowserSurvey.java:50)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.int ernalService(LifeCycleServiceHandler.java:197)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.acc ess$1(LifeCycleServiceHandler.java:185)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler$Lif eCycleServiceHandlerSync.doService(LifeCycleServiceHandler.j ava:150)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.serviceInternal(RWTLifeCycleServiceHandlerSync.java:46 )
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.service(RWTLifeCycleServiceHandlerSync.java:34)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.ser vice(LifeCycleServiceHandler.java:157)
>
> at
> org.eclipse.rwt.internal.service.ServiceManager$HandlerDispa tcher.service(ServiceManager.java:101)
>
> at
> org.eclipse.rwt.internal.engine.RWTDelegate.doPost(RWTDelega te.java:63)
> at
> org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler.java:51)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:59)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
> org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet.service(HttpServerManager.java:255)
>
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:487)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:362)
> at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandl er.java:181)
> at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandl er.java:726)
> at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapp er.java:139)
> at org.mortbay.jetty.Server.handle(Server.java:324)
> at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnectio n.java:505)
> at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComple te(HttpConnection.java:828)
>
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java: 211)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java: 380)
> at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEn dPoint.java:395)
>
> at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedT hreadPool.java:450)
>
>
>
> is there someone wanting to give me a good help?
>
>
Re: Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #118386 is a reply to message #118353] Tue, 13 January 2009 12:48 Go to previous messageGo to next message
Eclipse UserFriend
Hi & thank you!
I took a look to the upload widget source especially the *.js sources and
I found what was the error.

There's an error en the
org.eclipse.rwt.widgets.internal.uploadkit.Upload.appearance s.js file. We
have in the source code :

return {
//
padding :THEME_VALUE("text.SINGLE.padding"),
//
};

that sould be replaced by :

return {
//
padding :THEME_VALUE('text.SINGLE.padding'),
//
};

It was just a simple quotes matter, doubles ones in the source having to
be replaced by single one.

I now have no error at lauching time but when seeked the upload wigets
brings new problem that is explained here :
http://dev.eclipse.org/newslists/news.eclipse.technology.rap /msg04480.html
;
*.js files are not delivered to the client. I'm now learning more.
Re: Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #118394 is a reply to message #118386] Tue, 13 January 2009 13:36 Go to previous messageGo to next message
Eclipse UserFriend
New Yop Javeloper wrote:
> Hi & thank you!
> I took a look to the upload widget source especially the *.js sources
> and I found what was the error.
>
> There's an error en the
> org.eclipse.rwt.widgets.internal.uploadkit.Upload.appearance s.js file.
> We have in the source code :
>
> return {
> //
> padding :THEME_VALUE("text.SINGLE.padding"),
> //
> };


This is indeed an outdated version. The current version of this file reads:


"upload-field" : {
style : function( states ) {
var tv = new org.eclipse.swt.theme.ThemeValues( states );
return {
border : tv.getCssBorder( "Text", "border" ),
font : tv.getCssFont( "Text", "font" ),
padding : tv.getCssBoxDimensions( "Text", "padding" ),
textColor : states.disabled
? tv.getColor( "widget.graytext" )
: tv.getCssColor( "Text", "color" ),
backgroundColor : tv.getCssColor( "Text", "background-color" )
};
}
}


> that sould be replaced by :
>
> return {
> //
> padding :THEME_VALUE('text.SINGLE.padding'),
> //
> };

No, it should not. You should get the actual version from CVS like Ivan
advised 5 postings before.

> It was just a simple quotes matter, doubles ones in the source having to
> be replaced by single one.
>
> I now have no error at lauching time but when seeked the upload wigets
> brings new problem that is explained here :
> http://dev.eclipse.org/newslists/news.eclipse.technology.rap /msg04480.html
> ;
> *.js files are not delivered to the client. I'm now learning more.
>
Re: Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #118408 is a reply to message #118394] Tue, 13 January 2009 16:27 Go to previous messageGo to next message
Eclipse UserFriend
Yes everything works fine now!

it's just this psf file that brang the pain:


===============
<?xml version="1.0" encoding="UTF-8"?>
<psf version="2.0">
<provider id="org.eclipse.team.cvs.core.cvsnature">
<project
reference="1.0,:pserver:anonymous@dev.eclipse.org :/cvsroot/tools,org.eclipse.orbit/org.apache.commons.fileupl oad,org.apache.commons.fileupload,v1_2 "/>
<project
reference="1.0,:pserver:anonymous@dev.eclipse.org :/cvsroot/tools,org.eclipse.orbit/org.apache.commons.io,org. apache.commons.io,v1_3_2 "/>
<project
reference="1.0,:pserver:anonymous@dev.eclipse.org :/cvsroot/technology,org.eclipse.rap/sandbox/org.eclipse.rwt .widgets.upload,org.eclipse.rwt.widgets.upload "/>
<project
reference="1.0,:pserver:anonymous@dev.eclipse.org :/cvsroot/technology,org.eclipse.rap/sandbox/org.eclipse.rwt .widgets.upload.demo,org.eclipse.rwt.widgets.upload.demo "/>
</provider>
</psf>
===============

Thank You All!
Re: Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #118414 is a reply to message #118408] Tue, 13 January 2009 17:39 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

thanks for pointing this out. I updated the psf file.

Regards, Ralf

New Yop Javeloper wrote:
> Yes everything works fine now!
>
> it's just this psf file that brang the pain:
>
>
> ===============
> <?xml version="1.0" encoding="UTF-8"?>
> <psf version="2.0">
> <provider id="org.eclipse.team.cvs.core.cvsnature">
> <project
> reference="1.0,:pserver:anonymous@dev.eclipse.org :/cvsroot/tools,org.eclipse.orbit/org.apache.commons.fileupl oad,org.apache.commons.fileupload,v1_2 "/>
>
> <project
> reference="1.0,:pserver:anonymous@dev.eclipse.org :/cvsroot/tools,org.eclipse.orbit/org.apache.commons.io,org. apache.commons.io,v1_3_2 "/>
>
> <project
> reference="1.0,:pserver:anonymous@dev.eclipse.org :/cvsroot/technology,org.eclipse.rap/sandbox/org.eclipse.rwt .widgets.upload,org.eclipse.rwt.widgets.upload "/>
>
> <project
> reference="1.0,:pserver:anonymous@dev.eclipse.org :/cvsroot/technology,org.eclipse.rap/sandbox/org.eclipse.rwt .widgets.upload.demo,org.eclipse.rwt.widgets.upload.demo "/>

>
> </provider>
> </psf>
> ===============
>
> Thank You All!
>
Re: Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #118428 is a reply to message #118414] Wed, 14 January 2009 11:01 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ralf,

to prevent further problems with the outdated upload widget, maybe the old
code at cvsroot/technology should be removed.
Your new *.psf file and a README with a comment could be placed instead.
The same problem occured also for me and it works now with the new CVS
location.

Regards,
Andreas
Re: Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #119332 is a reply to message #118039] Fri, 23 January 2009 09:54 Go to previous messageGo to next message
Eclipse UserFriend
Thank you :-)

I will ask more questions in this thread, if I have more problems with it.
Re: Undefined key: 'text.SINGLE.padding' in theme 'RAP Default Theme' [message #119371 is a reply to message #118428] Fri, 23 January 2009 10:43 Go to previous message
Eclipse UserFriend
I agree with Andreas. Furthemore is there any plan to include the upload
widget in the rap project ?

Emmanuel

> Hi Ralf,

> to prevent further problems with the outdated upload widget, maybe the old
> code at cvsroot/technology should be removed.
> Your new *.psf file and a README with a comment could be placed instead.
> The same problem occured also for me and it works now with the new CVS
> location.

> Regards,
> Andreas
Previous Topic:How to get or create the PerspectiveSwitcher Bar?
Next Topic:Not Well-Formed HttpServletResponse with custom widget
Goto Forum:
  


Current Time: Thu Feb 13 23:51:48 GMT 2025

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

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

Back to the top