<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/gwt-widget/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/gwt-widget/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 29 Sep 2010 16:53:42 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gwt-widget/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>Using Canvas.drawText not working</title><link>https://sourceforge.net/p/gwt-widget/support-requests/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;br /&gt;
I am trying to draw text on a Canvas. I extracted a bitmap font as follows:&lt;br /&gt;
java -classpath ./gwt-widgets-0.2.0.jar org.gwtwidgets.fontcreator.BitmapFontCreator sans12 Sans-12-Plain /home/chris 12-128,225-320,330-407&lt;br /&gt;
This created 2 files, sans12.png and sans12.txt which i placed in a fonts subdirectory of my war.&lt;/p&gt;
&lt;p&gt;In the webapp I then call:&lt;br /&gt;
...&lt;br /&gt;
font = Canvas.createBitmapFont("fonts/arial12.png", "fonts/arial12.txt", new FontLoadListener() ...&lt;br /&gt;
followed by canvas.setFont() API and finally do&lt;br /&gt;
canvas.drawText("Some text", 5, 5);&lt;/p&gt;
&lt;p&gt;On execution, the createBitmapFont api blows up with a ArrayOutOfBoundsExeption as follows:&lt;/p&gt;
&lt;p&gt;java.lang.ArrayIndexOutOfBoundsException: 1&lt;br /&gt;
at org.gwtwidgets.client.ui.canvas.impl.BitmapFontImpl.parseHeader(BitmapFontImpl.java:64)&lt;br /&gt;
at org.gwtwidgets.client.ui.canvas.impl.BitmapFontImpl.onResponseReceived(BitmapFontImpl.java:194)&lt;br /&gt;
at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)&lt;br /&gt;
at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:393)&lt;br /&gt;
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)&lt;br /&gt;
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;br /&gt;
at java.lang.reflect.Method.invoke(Method.java:597)&lt;/p&gt;
&lt;p&gt;Can someone help to let me know why. I am using GWT2.0.4 and gwt-widgets-0.2.0.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 29 Sep 2010 16:53:42 -0000</pubDate><guid>https://sourceforge.netaa3441a11d65cdb291069a30be89b0c3fc379b4f</guid></item><item><title>Can't download from Maven repository</title><link>https://sourceforge.net/p/gwt-widget/support-requests/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Adding gwt-widgets to my ivy build file results in the following error:&lt;/p&gt;
&lt;p&gt;public: bad organisation found in &lt;a href="http://repo1.maven.org/maven2/net/sf/gwt-widget/gwt-widgets/0.2.0/gwt-widgets-0.2.0.pom:" rel="nofollow"&gt;http://repo1.maven.org/maven2/net/sf/gwt-widget/gwt-widgets/0.2.0/gwt-widgets-0.2.0.pom:&lt;/a&gt; expected='net.sf.gwt-widget' found='org.gwtwidgets'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 14 Sep 2010 15:10:15 -0000</pubDate><guid>https://sourceforge.net3ca744c26ada0e31d586b5ce4b943872771046a7</guid></item><item><title>Update GWTRPCServiceExporter.processCall to support GWT 1.6</title><link>https://sourceforge.net/p/gwt-widget/support-requests/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The method body of processCall in the 1.0 release of GWTRPCServiceExporter does not invoke RemoteServiceServlet.onAfterRequestDeserialized(RPCRequest). &lt;/p&gt;
&lt;p&gt;I believe this is not intentional and may be the issue that was referenced in a previous bug report with a similar title. &lt;/p&gt;
&lt;p&gt;Current method reads as follows:&lt;/p&gt;
&lt;p&gt;@Override&lt;br /&gt;
public String processCall(String payload) throws SerializationException {&lt;br /&gt;
try {&lt;br /&gt;
// Copy &amp;amp; pasted &amp;amp; edited from the GWT 1.4.3 RPC documentation&lt;br /&gt;
RPCRequest rpcRequest = RPC.decodeRequest(payload, null, this);&lt;/p&gt;
&lt;p&gt;Method targetMethod = getMethodToInvoke(rpcRequest.getMethod());&lt;br /&gt;
Object[] targetParameters = rpcRequest.getParameters();&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;This request is to change the body of processCall to invoke the onAfterRequestDeserialized method as follows:&lt;/p&gt;
&lt;p&gt;@Override&lt;br /&gt;
public String processCall(String payload) throws SerializationException {&lt;br /&gt;
try {&lt;br /&gt;
// Copy &amp;amp; pasted &amp;amp; edited from the GWT 1.4.3 RPC documentation&lt;br /&gt;
RPCRequest rpcRequest = RPC.decodeRequest(payload, null, this);&lt;br /&gt;
onAfterRequestDeserialized(rpcRequest);&lt;/p&gt;
&lt;p&gt;Method targetMethod = getMethodToInvoke(rpcRequest.getMethod());&lt;br /&gt;
Object[] targetParameters = rpcRequest.getParameters();&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tom Wilczak</dc:creator><pubDate>Fri, 16 Oct 2009 16:43:52 -0000</pubDate><guid>https://sourceforge.netcd7b6f27e0f263e8bdd8ea2e3168251204f97370</guid></item><item><title>Product description</title><link>https://sourceforge.net/p/gwt-widget/support-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Homepage should contain brief widget list and information about widgets. Develeoper find how to use it. But he has to know WHAT he can use, first.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dizzi</dc:creator><pubDate>Mon, 31 Dec 2007 19:21:11 -0000</pubDate><guid>https://sourceforge.netd28c3aca0a00cfe411b5515101369cae245da90d</guid></item><item><title>MethodInterception AOP does not work</title><link>https://sourceforge.net/p/gwt-widget/support-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello. I have problem with using spring AOP with beans which extend GWTSpringController. Here is my config:&lt;/p&gt;
&lt;p&gt;&amp;lt;bean id="urlMapping"&lt;br /&gt;
class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"&amp;gt;&lt;br /&gt;
&amp;lt;property name="mappings"&amp;gt;&lt;br /&gt;
&amp;lt;props&amp;gt;&lt;br /&gt;
&amp;lt;prop                &amp;lt;prop key="/admin/UserService.gwt"&amp;gt;userService&amp;lt;/prop&amp;gt;&lt;br /&gt;
&amp;lt;/props&amp;gt;&lt;br /&gt;
&amp;lt;/property&amp;gt;&lt;br /&gt;
&amp;lt;/bean&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;bean id="userService"&lt;br /&gt;
class="some.client.rpc.UserServiceImpl"&amp;gt;&lt;br /&gt;
&amp;lt;/bean&amp;gt;&lt;/p&gt;
&lt;p&gt;UserServiceImpl extends GWTSpringController. The code works fine and there is not problem with execution. The problem starts when i want to use AOP advices. I need this for security (acegi supports URL security and methodInvocation security). I want to use method security. &lt;/p&gt;
&lt;p&gt;&amp;lt;bean id="securityAspect"&lt;br /&gt;
class="some.aop.SecurityAspect"&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/bean&amp;gt;&lt;br /&gt;
&amp;lt;aop:config&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;aop:aspect ref="securityAspect"&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;aop:pointcut id="theExecutionOfSomeFooServiceMethod"&lt;br /&gt;
expression="execution(* some.client.rpc.UserService.*(..))"/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;aop:around pointcut-ref="theExecutionOfSomeFooServiceMethod"&lt;br /&gt;
method="profile"/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/aop:aspect&amp;gt;&lt;br /&gt;
&amp;lt;/aop:config&amp;gt;&lt;/p&gt;
&lt;p&gt;it does not work. When i use the same aspect in another pointcut ex. execution(* some.client.rpc.AdminService.*(..)) it executes well. My implementation of UserServiceImpl invokes AdminService. &lt;/p&gt;
&lt;p&gt;So basically i cannot use aop with beans which extend GWTSpringController. I suspect Reflection is causing problems. Probably AOP does not work with reflection.&lt;/p&gt;
&lt;p&gt;I also tried to use org.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor which again works for AdminService and not for UserService. &lt;/p&gt;
&lt;p&gt;Is it possible to run such thing using GWT-SL ??&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 21 Nov 2007 14:51:07 -0000</pubDate><guid>https://sourceforge.net09f5bfa270c865a20fb6e45f432125e532de46ec</guid></item><item><title>Do the GWTHandler generated proxies support Spring tx?</title><link>https://sourceforge.net/p/gwt-widget/support-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br /&gt;
we use the GWTHandler together with Dozer to implement a proxy layer between the Spring driven core application (business logic and persistence) and the GWT application.&lt;/p&gt;
&lt;p&gt;The core application contains all DAOs. The GWT-visible RPC-services are plugged into the Spring context using GWTHandler.&lt;/p&gt;
&lt;p&gt;Unfortunately we are facing a transaction isolation problem when Dozer tries to convert core model beans to GWT model beans. The result is that the lazy-loaded Hibernate bean collections can't be initialized due to a closed session/transaction.&lt;/p&gt;
&lt;p&gt;We have:&lt;br /&gt;
GWTLoginService.login()&lt;br /&gt;
-&amp;gt;@Transactional:UserDAO.findUserByLogin()&lt;br /&gt;
-&amp;gt;Dozer.convert()&lt;/p&gt;
&lt;p&gt;We want the transaction demarcation one level above, in the GWTHandler enhanced RPC-service:&lt;br /&gt;
@Transactional:GWTLoginService.login()&lt;br /&gt;
-&amp;gt;@Transactional:UserDAO.findUserByLogin()&lt;br /&gt;
-&amp;gt;Dozer.convert()&lt;/p&gt;
&lt;p&gt;Is this possible with GWTHandler ?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 11 Jan 2007 22:20:09 -0000</pubDate><guid>https://sourceforge.netd77e733004268e3a1c1f1bbf9fcb73dcafc19949</guid></item><item><title>JSCalendar component causes IE and Safari to crash</title><link>https://sourceforge.net/p/gwt-widget/support-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I've written up this issue and posted my code in the&lt;br /&gt;
google GWT group:&lt;br /&gt;
&amp;lt;http://groups.google.co.uk/group/Google-Web-Toolkit/browse_thread/thread/4f4ef7b61d913d23/755c22dfcc743cc2?lnk=st&amp;amp;q=gwt-wl&amp;amp;rnum=1&amp;amp;hl=en&amp;amp;&amp;gt;&lt;/p&gt;
&lt;p&gt;All help much appreciated!  Thanks!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 03 Nov 2006 16:23:12 -0000</pubDate><guid>https://sourceforge.net05def2577559d210eb5774a54143542850d339e5</guid></item></channel></rss>