Re: transfer Objects between GWT and EJB

2011-12-02 Thread ph09
, Mark mdshol...@gmail.com wrote: I dont know that you can do that directly.  The best way I know of is to create a pojo to represent the entity on the gwt side and then translate back and forth between them. On Dec 1, 5:01 pm, ph09 ph.hei...@googlemail.com wrote: Hello, I have got

Re: transfer Objects between GWT and EJB

2011-12-02 Thread ph09
Hi, thank you for your answer, but this isn't my problem. I already know the links you have posted. It wasn't a problem fpr me to send Strings between GWt client and a Session Bean and to store an entity in a database. My problem is that I want to send Objects between GWT and EJB Project like

transfer Objects between GWT and EJB

2011-12-01 Thread ph09
Hello, I have got a question because of the architectur of my project. At the one side there is a GWT Package with the Client Side and also a Servlet to communicate with an EJB Project. On the other Side there is a EJB Project with Session Beans and Entities which schould be stored in a database

GWT + EJB + MYSQL

2011-11-30 Thread ph09
Hello, I have got some Question concerning Serialization and persistence. At First I have got a GWT project with Client code and a Servlet to communicate with my EJB Project. In the EJB project there are some Persistent Entitie Classes with references among each other and beans to manage them.

Re: GWT + EJB + MYSQL

2011-11-30 Thread ph09
Thank you for your answer. I use glassfish app server for my project, maybe there is something wrong? To clarify my project structur: Entities + SessionBean: http://pastebin.com/4zRHMrcA GWT Servlet: http://pastebin.com/rSUSymNi I have got a GWT Client Side where I temporally want to use

Re: GWT + EJB + MYSQL

2011-11-30 Thread ph09
Ok, I have got the reason for the exception. I have got (cascade={CascadeType.PERSIST}) forgotten. But how could I transfer for example the company object to my GWT Client Side? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view

GWt with EJB and JBoss

2011-11-07 Thread ph09
I tried to connect my WGT Application with EJB via JBoss by doing this Tutorial: http://jamies-gwt.blogspot.com/2010/03/walkthrough-integrating-gwt-with-jboss.html I used GWT 2.4, Eclipse Indigo, Jboss 6.1.0.Final and this Eclipse Plugin:

GWT + EJB

2011-11-02 Thread ph09
Hello, I want to use EJB in my GWT Application, but I coulnd't find a current Tutorial. I am new to the topic of EJB's and with GWt I have worked the last months. At the moment I have got some RPC Calls in my GWT Application and this works. Is it's possible in GWT to use EJB and if yes would

GWT Composite open/visible Handler

2011-10-24 Thread ph09
Hello, I have got several Composite and I would like to add an Handler to one of them which fire an event when the user open this composite. Is there any Handler for? Thank you.. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view

Re: GWT Composite open/visible Handler

2011-10-24 Thread ph09
Hmm, ok I explain it in another words. I have got a tab with several Composites on it.When a user click on one of them, the Composite is shown to the user. In this Case I would like to start a method, but I doesn't know if there is any Handler for.. -- You received this message because you

StackPanelLayout

2011-10-24 Thread ph09
I started working with the StackLayoutPanel and now I have got two questions. At first, is there any chance that the StacklayoutPanel manage his height dynamicly? I have got a Tree Widget on the StackPanelLayout and this grows dynamicly. So I would be nice that the StackPanelLayout grows

Problem with RPC Call

2011-09-19 Thread ph09
Hi, I want to make a RPC Call but instead i get the following Error: com.google.gwt.user.client.rpc.StatusCodeException: 404 html head meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1/ titleError 404 NOT_FOUND/title /head bodyh2HTTP ERROR 404/h2 pProblem accessing

Problem by finding gwt.xml

2011-09-09 Thread ph09
Hello, I have changed and renamed my packet structur of my gwt project. Then I want to start the project as a web application, but the module isn't found and I get the following Exeption: [ERROR] Unable to find 'de/xx/focus/My_Projekt.gwt.xml' on your classpath; could be a typo, or maybe you

Centering text in a Label

2011-09-08 Thread ph09
Hello, I try to centering text in a Label with following CSS: .gwt-Label-1 { border: 1px solid; font-size: 13px; vertical-align: middle; text-align: center; background-color: lavender; } It works all except of vertical-align: middle. The text is always at

How to get the size of a Label?

2011-09-06 Thread ph09
Hey, I want to get the Size of a label, but I always get 0. Here is the Code: Label label= new Label(...); rootLabel.setStyleName(gwt-Label-1); int width = label.getOffsetWidth(); Is there anything wrong? I guess not... With an Absolute Panel

Re: How to get the size of a Label?

2011-09-06 Thread ph09
Ok, but when I attached the Label to the AbsolutePanel and do getOffsetWidth(), I get for Example a width of 700px for the AbsolutePanel and a width of 698px for the Label. Certainly the label is less smaller. Is there any reason for? I want to place the Label at the center of the Panel, but

Re: Graphical representation of a tree

2011-08-02 Thread ph09
Ok thank you. Any other suggestions? On 1 Aug., 18:10, J.Ganesan j.gane...@datastoregwt.com wrote: Tryhttp://code.google.com/p/gwt-g2d/. You may have to implement picking and translation  for Drag Drop. J.Ganesanwww.DataStoreGwt.com On Aug 1, 7:18 pm, ph09 ph.hei...@googlemail.com wrote

Re: Graphical representation of a tree

2011-08-02 Thread ph09
What about this one: http://code.google.com/p/raphaelgwt/ Has someone any experience?? On 2 Aug., 13:12, ph09 ph.hei...@googlemail.com wrote: Ok thank you. Any other suggestions? On 1 Aug., 18:10, J.Ganesan j.gane...@datastoregwt.com wrote: Tryhttp://code.google.com/p/gwt-g2d/. You

Querry Wrapper

2011-08-02 Thread ph09
Hi, can someone explain me how the Querry Wrapper works? Is it made for Tree's? If I have got a GWT Tree, would it be able to visualize it in this way? https://spreadsheets.google.com/pub?key=rCaVQNfFDMhOM6ENNYeYZ9Q In the example Code Javascript is used:

Graphical representation of a tree

2011-08-01 Thread ph09
Hello, I want to represent a Tree in a antoher way as the standard graphical representation. Drag Drop should be able. Like this one: http://s1.directupload.net/file/d/2603/yzo588bb_jpg.htm Do you know a good GWT Extension to realize this? I have already looked at the Google Web Toolkit

RPC Serialization

2011-07-29 Thread ph09
Hey there, I want to make a RPC Call with an Object called Feature. This class included an ArrayList with refereces to other Object. So when I do the RPC Call and want to reach the Object from the ArrayList, i get the following Eception: com.google.gwt.user.client.rpc.SerializationException

RPC RemoteServiceServlet multiple methods

2011-07-22 Thread ph09
Hey, I have got some questions about the RPC. Is it possible to define more than one method in one RemoteServiceServlet? And does this make any Sense? Like this: public class SpeicherServiceImpl extends RemoteServiceServlet implements SpeicherService { /** * */

Re: RPC RemoteServiceServlet multiple methods

2011-07-22 Thread ph09
On 22 Jul., 15:39, Jens jens.nehlme...@gmail.com wrote: Sure you can and its totally fine to do so. Just make sure that all methods are defined in the service interface and in its async interface. The exception you have received indicates that your browser uses some old cached javascript file

RPC Error: No file found for..

2011-07-21 Thread ph09
Hello, sry I am newbie to this Topic. I have searched the whole day for a solution, but I can't find the problem. I've tried a lot, without any bettering. Hope you can help me. When I tried to call a RPC Service, I get always this Message: [WARN] No file found for: