Spring

2011-03-30 Thread Alexei Telles
I missed my last conversation (didn't receive e-mail answer because of
membership option and I can't find it here in the group discussion).

I'm sorry but I have to post it again.
I've developing GWT app for some years and now I have to implement
Spring Security in my app.

I found some tutorials and some libraries in this group, but all old
posts.

Does anyone know a good tutorial to get started with GWT + Spring
Security?

Thanks again.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Spring Security

2011-03-29 Thread Alexei Telles
Hi,

I need to implement Spring Security in my GWT web application.
Does anybody know a good tutorial to get me started?

Thank you in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Applet internet explorer

2011-01-10 Thread Alexei Telles
Hi Group;

I am using an applet in my GWT project.

This applet opens a socket connection and send a package to a print.

I am having a problem only using the internet explorer browser.

I have a class that loads the applet. This class extends a
VerticalPanel. In the constructor I have:

public PanelApplet) {
super();
super.add(html);
}
html is a private GWT HTML object.

And when I need to load the applet I do:

html.setHTML("" +
"" +
"" +
"" +
 "");

The problem I am having is: If I try to remove the html from the panel
with:
super.remove(html); or
super.remove(0);

Or even if I make the component invisible. Whatever I do, internet
explorer browser executes this applet again and a new package is sent
to the printer.

I don't know what's happening, so it is a littlle hard to try to find
a solution.

This only heppens with internet explorer browser.

I appreciate any help.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



gwt-dnd

2010-11-08 Thread Alexei Telles
Hi Everybody

I need some drag and drop's in my application.
Searching GWT group I found gwt-dnd.

I tried some examples and works fine.

But I need to be able to drag and drop a widget that will contain some
textboxes, buttons, hyperlinks, etc...

I am a little confuse.
Is possible to make this with gwt-dnd?

The way I did following some examples when I click in a textbox, or a
button, etc...inside the dragable widget, the textbox does note get
the focus.

Any advice?

Thank you

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Frameworks

2010-08-19 Thread Alexei Telles
Hi everybody.

I've searching for some gwt news and I 've seen many new gwt tools on
the internet.

We could list here in this post frameworks that we have some
experience.

I mean 3rd Party Libraries to be used in gwt projects, both client and
server sides.

Reporting experiences, etc...

What you guys think about?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



ListBox with Image

2010-03-01 Thread Alexei Telles
Hello everybody

Is possible to put a widget (in my case as image) inside a ListBox?

I want to create a ListBox of countries, so I would like to have a
flag of the country and the name in each item of the List...

Is there a way to do that?

thanks in advance...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



incubator ScrollTable

2010-01-21 Thread Alexei Telles
Hi, I'm just starting using the gwt-incubator.
I need to make a table, so I am using a FixedWidthFlexTable to the
header and a FixedWidthGrid to the dataTable (content of the table).

I have a procedure that mounts the dataTable

The problem that I am having is:
when my dataTable have more than one column, the dataTable is ok

I am setting the width to 100%, so my table fits my div at all.

But when my table have only one column, I don't know why the column
width stays to short
Of course, if I use the method setColumnWidth of the FixedWidthGrid
works fine, but I use the same procedure to generate all tables of my
application, so I can't do that!!!

I don't know if I gave a good explanation about my problem.

I am trying to use the Firebug to discover what i am doing wrong, but
the HTML code generated is a little confused.

Is ther anything in the FixedWidthGrid about the first column of the
table, or is there a way to I set all widths of my table like
automatic?

I appreciate any help

Thanks...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Table

2010-01-11 Thread Alexei Telles
Hi everybody

I am looking for a table with a scroll, header freeze (the first row
keeps freezed when the user moves the scroll), collumn sorting and row
listener...

Currently I am using a scrollPanel with a Grid inside. I don't have
header freezed, collumn sorting and neither a row listener.

Searching in Google I found gwt-advanced-table...

I'm going to try. But I would like to know if you guys more
experienced than me could give me any advice?

Thanks
-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Page back color

2009-12-22 Thread Alexei Telles
Hi guys, I am trying to change the back color of my page, but I can't
do that..

I tried by CSS

body {
   background-color: #f1f2f3;
}

and setting the bgcolor property of the body tag in my HTML file:





It's not working.

Any help?

Thanks again

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




gwt-voices

2009-12-21 Thread Alexei Telles
Hello guys, I am trying to start using the gwt-voices in my GWT
project. To start I tried the example:

SoundController soundController = new SoundController();
   Sound sound = soundController.createSound
(Sound.MIME_TYPE_AUDIO_MPEG,
   "file:///home/alexei/teste.mp3");

sound.play();

But the mp3 never plays

My Sound object is like:

OBJECT("audio/mpeg", "file:///home/alexei/teste.mp3", not streaming)
and its loadState property is: LOAD_STATE_NOT_SUPPORTED

Dos anybody could give me a little help please?

Thanks in advance

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Download file

2009-08-24 Thread Alexei Telles

Hi...

I need to create a link in my web application where the user will
download a file that is in my server.

I was searching for something in the web, but I could not find
something about.

Is there any GWT tool that allow me to develop a link in my
application to make a download from the server to the client?

Or another way that you guys use to do?

Thanks again
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Widgets

2009-08-20 Thread Alexei Telles

Hi folks,

What widgets do you use in your GWT application?

Currently I am using GWT widgets, but they are basic widgets i think.
And there are only about 30 or more.

I was searching for new options on the web and I found the GXT.

In my case, I would have to buy one license.

Can you, more experience guys in the GWT development, advice me a
little bit about widgets.

Is there any free widgets for GWT?

Is GXT a good idea?

Thanks in advance

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Server side

2009-08-18 Thread Alexei Telles

Hello guys.

I'm trying finally to make my GWT application works client and server
sides.
I have a simple service (just one method for now).

This method, on the server side, uses a Jar file (created for me) to
connect in my database (MySql) using hibernate.

I am having a problem to use hibernate (the java method that uses
hibernate is in the jar file - that is in the class path of my GWT
project).

It throws me an exception when I am configuring hibernate
SessionFactory sessionFactory = new Configuration().configure
("guardian.hibernate.cfg.xml").buildSessionFactory();

I don't know if you guys use hibernate, but I am sure this problem is
in my GWT project, because if I create a basic java project and try to
use this Jar file (that uses hibernate) everithing works fine.

The exception is:

Aug 18, 2009 1:28:29 PM
com.google.appengine.tools.development.ApiProxyLocalImpl log
SEVERE: [1250602109691000] javax.servlet.ServletContext log: Exception
while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract java.util.List
br.com.engsys.voippanel.client.VoippanelService.getCallHistory
(java.lang.String,java.lang.String,java.lang.String)' threw an
unexpected exception: java.lang.ExceptionInInitializerError
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure
(RPC.java:360)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse
(RPC.java:546)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall
(RemoteServiceServlet.java:166)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost
(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1093)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter
(TransactionCleanupFilter.java:43)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
at com.google.appengine.tools.development.StaticFileFilter.doFilter
(StaticFileFilter.java:124)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle
(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle
(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle
(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
405)
at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle
(DevAppEngineWebAppContext.java:54)
at org.mortbay.jetty.handler.HandlerWrapper.handle
(HandlerWrapper.java:139)
at com.google.appengine.tools.development.JettyContainerService
$ApiProxyHandler.handle(JettyContainerService.java:313)
at org.mortbay.jetty.handler.HandlerWrapper.handle
(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
506)
at org.mortbay.jetty.HttpConnection$RequestHandler.content
(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run
(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run
(BoundedThreadPool.java:442)
Caused by: java.lang.ExceptionInInitializerError
at br.com.engsys.guardian.persistence.HibernateUtil.
(HibernateUtil.java:13)
at br.com.engsys.guardian.db.DaoApplications.getApplications
(DaoApplications.java:57)
at br.com.engsys.business.User.(User.java:15)
at br.com.engsys.voippanel.server.VoippanelServiceImpl.getCallHistory
(VoippanelServiceImpl.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse
(RPC.java:527)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org/dom4j/DocumentException
at br.com.engsys.guardian.persistence.HibernateUtil.
(HibernateUtil.java:11)
... 35 more
Caused by: java.lang.ClassNotFoundException:
org.dom4j.DocumentException
at java.net.URLClassLoader$1.run(URLClass

RadioButton listener

2009-08-13 Thread Alexei Telles

Hello everybody

I hava 2 Raio buttons in my application. Both are inside a FlowPanel.

I just need to execute some stuffs when the user clicks in these
radio's.

I have:

radio.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
gridEnterprise.setVisible(true);
gridHome.setVisible(false);
}
});

The problem of this is:
the event onClick is being executed only when I click in the radio
itself (I mean - the little circle). If I click over the label of the
radio, event is not executed.

I was searching for some information about this in the group, bu I
didn't find anything about.
Does anybody know how to make the event be executed when I click in
the label of the radio button? Or if I have to use another event?

Thanks in advance
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Newbie - HTML pages

2009-08-11 Thread Alexei Telles

Hello everybody..

I am just beginning with GWT development and this is my first post.
I have some experience with web development.

I am using Eclipse as IDE for developing.
I created an GWT project using the GWT plugin for Eclipse.

So far, so good...
Eclipse created the packages, classes, etc..

I am able to change the client and the server-side, make deploy on
tomcat.
Everithing is working fine.

My question is:

I need to develop an application that will heavy many pages.
Do I need one GWT project to each page of my application?
Or can I have many HTML's in my WAR folder and only one project?

My idea is to have some links in the top of these pages.
Each link to a page of the application.

I am not sure how to do that.
I've searching for in the web, but I got nothing about.

Can anybody give me a little help about?

Thanks in advance



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---