Re: GWT1.7 --> GWT 2.X; Browser dependent error with hashmap

2011-03-15 Thread Panke
It looks like this http://imageupload.org/?d=4D7F147B1 -- 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-tool

Re: MySQL server in development mode

2011-03-15 Thread Erel Segal
Here it is: On 9 מרץ, 18:49, Juan Pablo Gardella wrote: > Is classpath error problem. Show the .classpath file > > Juan > > 2011/3/9 Erel Segal > > > I added a mysql server to the default GWT application. I put the mysql > > conn

Re: Grouping Table Implementation

2011-03-15 Thread jerome Thoma
Cheers Raphaël, could it be that you are using a FlexTable and not a CellTable? I could not find the method you mentioned in the CellTable class. For now I implemented my table as a CellList with custom cells that contain HTML tables. Works fine, but relies of course on a mix of GWT and HTML code w

Re: DropDown Button

2011-03-15 Thread Marco Gadaleta
Hi Jim, I've yet done as you have say to me. But can you tell me the instruction to insert an arrow on th "face"? Thx you, Marco On Mon, Mar 14, 2011 at 9:34 PM, Jim Douglas wrote: > Make a button with text and a dropdown arrow on the face, react to the > button click by showing an autohide pop

Re: GWT service that transforms a HTTP request including running javascript

2011-03-15 Thread Ramon Buckland
Hi To clarify your problem: -== Problem A ==- You have a URL which is a mix of HTML and JavaScript You need to load the page, and someone get values or data out of the executed javascript. -== Problem B ==- You have a URL which is JUST javascript (i) that has to be executed (creates some data in

FlexTable inquiry

2011-03-15 Thread Ahmed Shoeib
i want to sort FlexTable if the user click on any cell in the header note: the table may contain anchor. cause i found some class but not support anchor. and i failed to support it in this code . please help me -- You received this message because you are subscribed to the Google Groups

Re: MySQL server in development mode

2011-03-15 Thread Juan Pablo Gardella
It seems that your classpath is good. When you said: "But then I restarted the server (from the eclipse "development pane"), and I started getting errors saying that the server cannot find a driver for jdbc:mysql connection!" You want to "deploy" the app in a servlet container?. Try make a war an

Re: Can not run GWT application?

2011-03-15 Thread Juan Pablo Gardella
Follow this instructions http://code.google.com/webtoolkit/gettingstarted.html 2011/3/14 Quoc Hoan > I created a GWT hello project following these instruction in this > document: > http://lkamal.blogspot.com/2008/09/java-gwt-servlets-web-app

Re: Entity version checks / optimistic locking

2011-03-15 Thread Jens
On Saturday, March 12, 2011 9:58:11 AM UTC+1, Thomas Broyer wrote: > > > The question is "what would you do of other changes made by the user in the > mean time?" > Because the proxies are locked, you cannot flush() the driver. And because > you cannot edit() a given proxy twice at the same time,

element type "web-app" must match

2011-03-15 Thread QCS Info
Noobie here. I want to run the StockWatcher example. I have ran in development mode. After a successful GWT 2.2.0 build in Eclipse Helios 3.6.1, while attempting to deploy the Stockwatcher.war built from the unchanged Stockwatcher example(except for the deprecated // Display timestamp fix in li

Re: GWT 2.2 and gwt-maps.jar not compatible

2011-03-15 Thread culov
This problem here. Is there a solution to this? On Feb 13, 3:34 pm, pac wrote: > Just upgraded to GWT 2.2 and getting in error in project compilation, > looks gwt-maps library no longer compatible. > Do I need something to make it work? > >    [ERROR] Errors in 'jar:file:/myproject/war/WEB-INF/l

Is there a way to detect the debug mode inside the code ?

2011-03-15 Thread oarguim...@labocom.com
Hello. I'm new to GWT development and I want to detect if the GWT application is in debug mode/session (i'm using Eclipse plugin), i have to do this because in Debug mode many POST and GET have different locations (cross site using a proxy in apache) than Release mode. Actually I use a constant p

Custom Serialization

2011-03-15 Thread Thomas Lefort
Hi, I was wondering if it was possible to implement custom serialization (for RPC calls) in GWT, ie the same way it is possible in Java by rewriting the writeObject method? Thanks for any help, Thomas -- You received this message because you are subscribed to the Google Groups "Google Web Too

A detailed Resource for learning UiBinder

2011-03-15 Thread Nitish Upreti
Hello folks I have gone through the official tutorials of UiBinder but I found them quite precise and feel I am still lacking on my basics and a complete knowledge of declarative UI. I am really new to this. Are there any more detailed web resources available online? Regards Nitish -- You recei

Code splitting like Facebook

2011-03-15 Thread ss.require
Hi! I need to create a web-application with the design like Facebook. So I want to have a single gwt-module for the entire app and use "code splitting" feature for dynamic loading of all needed pages. But there is some problem: >From main page(when the module is already loaded) a user can navigate

Re: Need Help for gwt-rpc mysql database connectivity

2011-03-15 Thread Sean
This is more for Ben then the original poster, but you can make your own serializble exception, catch the exception on the server side and then throw your Serializable Exception with the original message in it. It makes RCP so much easier to debug. -- You received this message because you ar

Re: Custom Serialization

2011-03-15 Thread Paul Robinson
The magic term you're looking for is CustomFieldSerializer (google it, and you'll get lots of results) On 15/03/11 12:04, Thomas Lefort wrote: Hi, I was wondering if it was possible to implement custom serialization (for RPC calls) in GWT, ie the same way it is possible in Java by rewriting th

Jetty in development/production

2011-03-15 Thread Jens
I know it is a GWT group but as GWT uses embedded Jetty I hope someone with a deeper Jetty knowledge is reading my questions and willing to answer :) We currently use Glassfish 3.1 with the following features: - EJB 3.1 Lite (only local no-interface beans, mainly for using @EJB) - @ManagedBean on

Get value of GWT property at runtime

2011-03-15 Thread Raphael André Bauer
Hi, is there a simple way to get a gwt-property when the GWT app is running? e.g. I have: Then at compile time I get nice permutations for theme1 and theme2. Cool so far. For some agile flexible fine-tuning it would be nice to get the value of "theme". Something like GWT.getPermutationProper

Re: How can I put Hyperlinks inside a CellTable, which behave the same as the Hyperlink widget?

2011-03-15 Thread John LaBanca
If you want to allow both clicks and new tab clicks, try this: Render an anchor tag with the history token as the href: Click Me In your Cell, catch the click event and do the following: - If shift or ctrl is pressed, ignore the event. The user is opening a new window. - If the right b

Re: Custom Serialization

2011-03-15 Thread Thomas Lefort
Thanks!!! On Mar 15, 1:44 pm, Paul Robinson wrote: > The magic term you're looking for is CustomFieldSerializer (google it, and > you'll get lots of results) > > On 15/03/11 12:04, Thomas Lefort wrote: > > > > > > > > > Hi, > > > I was wondering if it was possible to implement custom serializati

Re: GWT 2.2 and gwt-maps.jar not compatible

2011-03-15 Thread Juan Pablo Gardella
Compile the sources with gwt 2.2 2011/3/15 culov > This problem here. Is there a solution to this? > > On Feb 13, 3:34 pm, pac wrote: > > Just upgraded to GWT 2.2 and getting in error in project compilation, > > looks gwt-maps library no longer compatible. > > Do I need something to make it w

Re: DropDown Button

2011-03-15 Thread Jim Douglas
http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/gwt/user/client/ui/PushButton.html#PushButton(com.google.gwt.user.client.ui.Image) http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/gwt/user/client/ui/Button.html#Button(com.google.gwt.safehtml.shared.SafeHtml)

Re: Code splitting like Facebook

2011-03-15 Thread suersh babu
try using MVP frame work, so that code spliting done in much better way. On Tue, Mar 15, 2011 at 5:50 PM, ss.require wrote: > Hi! > I need to create a web-application with the design like Facebook. So I > want to have a single gwt-module for the entire app and use "code > splitting" feature for

Re: Entity version checks / optimistic locking

2011-03-15 Thread Thomas Broyer
On Tuesday, March 15, 2011 12:37:14 PM UTC+1, Jens wrote: > > On Saturday, March 12, 2011 9:58:11 AM UTC+1, Thomas Broyer wrote: >> >> >> It's even better than that ;-) >> The user has to click a "lock" button to be able to edit the objects >> (creates a working copy). The form then switches to r

Re: Get value of GWT property at runtime

2011-03-15 Thread Paul Robinson
Possibly not as simple as you wanted, but you can do something like this: (1) Create base class com.foo.ThemeInfo and subclasses ThemeInfoOne and ThemeInfoTwo (2) Add this to your gwt.xml: (3) In your client-side code: ThemeInfo info = GWT.create(ThemeInfo.class); and you'll get an i

Re: Is there a way to detect the debug mode inside the code ?

2011-03-15 Thread Thomas Broyer
GWT.isProdMode()? -- 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@googleg

GWT Login Credentials Storage

2011-03-15 Thread joe kolba
I need a way to store a JSONObject that contains the users login credentials and privileges. I also need this object to be global to all of my composites. Should I use cookies, JSNI w/ Dictionary, ?. If anyone has any code to help me out I would greatly appreciate it. -- You received this mess

Re: How can I put Hyperlinks inside a CellTable, which behave the same as the Hyperlink widget?

2011-03-15 Thread Thomas Broyer
On Tuesday, March 15, 2011 1:42:17 PM UTC+1, John LaBanca wrote: > > In your Cell, catch the click event and do the following: > >- If shift or ctrl is pressed, ignore the event. The user is opening a >new window. >- If the right button was pressed, ignore the event. The user will

Re: Error in MapWidget

2011-03-15 Thread Eric Ayers
Did you try the options in this FAQ? http://code.google.com/p/gwt-google-apis/wiki/MapsFAQ#Why_is_my_map_showing_up_very_small_or_not_at_all? On Mon, Mar 14, 2011 at 5:25 AM, Ahmed Shoeib wrote: > hi all, > > i am trying to add MapWidget to VerticalPanel but the map added on the > left corner >

Manage dependent GWT projects with Eclipse

2011-03-15 Thread Samuru Jackson
Hi, I have a project that contains certain common stuff which is defined as a GWT module. I want to included that commons project into several other independent GWT projects. At design time there is no problem adding the commons project as a dependency. However, running jetty from Eclipse fails.

Re: Manage dependent GWT projects with Eclipse

2011-03-15 Thread Juan Pablo Gardella
You can use maven and add sources dependencies: javax.inject javax.inject 1 sources provided jar Juan 2011/3/15 Samuru Jackson > Hi, > > I have a project that contains certain common stuff which is defined as a > GWT module. > > I want to included that commons project into several other inde

Re: element type "web-app" must match

2011-03-15 Thread Juan Pablo Gardella
Change "http://java.sun.com/dtd/web-app_2_3.dtd"; for 2.5 Juan 2011/3/15 QCS Info > Noobie here. I want to run the StockWatcher example. I have ran in > development mode. After a successful GWT 2.2.0 build in Eclipse > Helios 3.6.1, while attempting to deploy the Stockwatcher.war built > fr

Re: image gallery with celltable or celllist

2011-03-15 Thread Ramon Salla
float:left did the job. Thankyou -- 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...@g

Re: Need Help for gwt-rpc mysql database connectivity

2011-03-15 Thread Ben Imp
Yeah, I've been meaning to do something like that in my application. The current lack of details on the client isn't very pleasant for users or developers. SSH-ing into the prod server is annoying as well. I'm always worried about breaking something with a twitchy rm - rf finger. I'm still curio

Re: Code splitting like Facebook

2011-03-15 Thread ss.require
MVP framework is a top-level gwt framework that uses all standard gwt features. In particular, it uses standard "code splitting" feature. I can split my code in the same way as MVP does, but my initial problem still remains. I don't see any advantages of using MVP. Maybe, you mean something else o

Server Side ColumnSorting with AsyncDataProvider

2011-03-15 Thread Stephan T
I'm trying to implement server side sorting using CellTable and AsyncDataProvider in GWT 2.2. I've followed the example in the documentation and have everything working with the AsyncDataProvider only fetching ten objects at a time. But when it comes to sorting I can't make it work. I can't figure

Re: image gallery with celltable or celllist

2011-03-15 Thread Albert Lacambra
I find a cellList ok. The problem come with key navigation. With celllist I think you can just us Up and Down arrows and when you use a float or inline-block pressing up and down you move to right or left. The cell table doesn't resolve the problem because it works with rows. The other think I don

Spring Security 3.0 authentication problem

2011-03-15 Thread julio
Hi, I have a GWT client that communicates with a Spring/SpringSecurity 3.0 server via REST/JSON. Both run on the same tomcat/jetty perfectly, but I have a problem introducing the authentication: If I "POST" the server with an external HTTP client the url: http://localhost:8080/myserverapp/j_sprin

Re: Server Side ColumnSorting with AsyncDataProvider

2011-03-15 Thread John LaBanca
You can call CellTable#getColumn(int) to get the Column object from the index. Then you can use a Map of Column to ServerColumnId to resolve the value to send to the server. Thanks, John LaBanca jlaba...@google.com On Tue, Mar 15, 2011 at 12:21 PM, Stephan T wrote: > I'm trying to implement se

EditorDriver.setViolations in 2.3 release branch doesn't work as expected

2011-03-15 Thread Marcin Misiewicz
Hi Lately I have a problem with calling isChanged on RequestContext here is the link to discussion on that topic https://groups.google.com/d/topic/google-web-toolkit/HznAkg94WUc/discussion Thomas has suggested that my problems can be solved by using editorDriver.isDirty introduced in gwt 2.3.

How to compile selectively or avoid compilation of inheriting/implementing classes?

2011-03-15 Thread KD
Here is my situation. On the top level of my API is... com.mycompany.core.MODEL I have made this a GWT module, has a blank entry point and has MyModel.xml. Its structure is as below... Now there are implementations of this model to make a default out of the box framew

Re: Is there a way to detect the debug mode inside the code ?

2011-03-15 Thread Hervé Brun
Tu peux utiliser - com.google.gwt.core.client.GWT.isProdMode(), ou - com.google.gwt.core.client.GWT.isScript() Si quelqu'un pouvait m'expliquer la différence entre les deux d'ailleurs ... :) On 15 mar, 10:32, "oarguim...@labocom.com" wrote: > Hello. > > I'm new to GWT development and I wa

Older version of GWT Eclipse plugin

2011-03-15 Thread Michiel Weggen
I'm currently working on a piece of software that's still using GWT 2.0.4, and is not (yet) compatible with 2.2. I use eclipse, and the GWT plugin, and recently updated the plugin to GWT2.2, but since it's not working yet I'd like to switch back to GWT plugin 2.0.4; is this possible? -- You recei

FormPanel submit shows old page

2011-03-15 Thread Luca Meoni
Hi, I'm developing a web application based on GWT for client side and SpringFramework for server side. I submit a FormPanel on a SimpleFormController, the onSubmit method is called and it returns a new html but the browser shows me the old page. On start and on end jsp I have a GWT EntryPoint and

GWT application requires Plugin to be installed in browser

2011-03-15 Thread BhaskerT
Hi All, I am new to GWT(2.0) development. Problem statement: While accessing a GWT based web application, IE ask me to install GWT plugin. Solution: If i instal the plugin then it works perfectly fine. As per my knowledge Gmail is based on GWT. and if i try to access gmail from any where it does

Re: GWT application requires Plugin to be installed in browser

2011-03-15 Thread Ben Imp
You are running your application in development mode, which means you are probably running it from your IDE. Its used for debugging and fun stuff like that. If you compile and deploy your web application to a server, like Apache or Tomcat, you wont get that. http://code.google.com/webtoolkit/doc

Re: GWT application requires Plugin to be installed in browser

2011-03-15 Thread David Chandler
Hi BhaskerT, welcome to GWT. Ben is correct. GWT development mode allows you to develop and debug quickly in the browser without having to do a full compile to JavaScript. If you haven't tried it already, be sure to try Debug As | Web Application and set a breakpoint in your app in Eclipse, then t

Google Web Toolkit Plugin for RSA(Rational Software Architect)

2011-03-15 Thread kiraneveryday
I have a question for installing the Google Web Toolkit plugin for Rational Software Architect. In RSA, Under Help-> Software Updates -> Find and Install, I gave the urlhttp://dl.google.com/eclipse/plugin/3.6 And I can only see the Engine and Toolkit SDKs listed, but the plugin is not listed

Re: Older version of GWT Eclipse plugin

2011-03-15 Thread KD
This is what I would do.. Install sdks in a separate directory say /gwt-sdks/2.0 , 2.1, 1.7 etc In Eclipse under Preferences, just choose which one you want to be active/default. Same goes for app engine Now under project properties, chose the desired sdk in "Use Specific SDK" If you reference ve

Fwd: LOOK FROM THE JAPNEESEE'S GOV. LETTER

2011-03-15 Thread khushithrone
-- Forwarded message -- From: RAVI TELANG Date: 2011/3/16 Subject: LOOK FROM THE JAPNEESEE'S GOV. LETTER from 首相官邸HP発信専用 to tazmahal.in...@gmail.com date Tue, Mar 15, 2011 at 5:43 AM subject [首相官邸より] * mailed-by form1.kmail.kantei.go.jp Important mainly because of the word

Re: EditorDriver.setViolations in 2.3 release branch doesn't work as expected

2011-03-15 Thread Thomas Broyer
On Tuesday, March 15, 2011 7:09:08 PM UTC+1, Marcin Misiewicz wrote: > > Also, I'm confused, what kind of errors are recorded by the editorDriver > during flushing. > In DynaTableRF checking for errors after flush results in one error related > to the zipCode field (so suprisingly it looks lik

Compiled GWT JS size > handwritten JS size?

2011-03-15 Thread ss.require
Let's take a common non very interactive page, like a common "Wikipedia" page. For such pages, where there is not a lot of javascript: Compiled GWT JS size > handwritten JS size and it's more optimal(performance overhead) to use simple JavaScript than GWT On the other hand, if web-page is very int

Re: Eclipse plugin problem with OSX Java update 4?

2011-03-15 Thread David Chandler
FYI, the Google Plugin for Eclipse team is working on this issue. There will be a GPE point release which removes the -d32 argument from run configurations. In addition, we're in communication with Apple about the underlying JDK issue that affects the dev app server and will update the App Engine i

Design of Breadcrumb Interaction

2011-03-15 Thread Jake Wharton
I have created a widget which allows for easy construction of the breadcrumb design pattern using common GWT patterns (including HasWidget) with relative ease. It is only when trying to wire this widget up to my MVP that I am running into issues. While the breadcrumbs could be history based, my

Re: Compiled GWT JS size > handwritten JS size?

2011-03-15 Thread Gal Dolber
I have been working with gwt for more than 2 years now and I can't imagine a page where I won't use gwt. If you really try you may find some cases where handwritten js produce a smaller page than gwt. It is also probable than in the small size of that cases the difference won't matter. But I doubt

Re: Compiled GWT JS size > handwritten JS size?

2011-03-15 Thread David Chandler
Thanks for the vote of confidence, Dal. In fairness, there are some cases where you wouldn't use GWT, and writing a static Web page with NO Javascript is certainly one of them. GWT is intended for rich Internet applications. GWT incurs some overhead just to bring in the base JRE, so if all you nee

Re: Eclipse plugin problem with OSX Java update 4?

2011-03-15 Thread David Chandler
See also http://lists.apple.com/archives/java-dev/2011/Mar/msg00116.html /dmc On Tue, Mar 15, 2011 at 3:36 PM, David Chandler wrote: > FYI, the Google Plugin for Eclipse team is working on this issue. There > will be a GPE point release which removes the -d32 argument from run > configurations.

Re: Compiled GWT JS size > handwritten JS size?

2011-03-15 Thread nino ekambi
Thanks for mentioning Sumwire. I did not know about that application. I allways been interested in those types of applications to see what i can "steal" from them :) Regards, Alain 2011/3/15 David Chandler > Thanks for the vote of confidence, Dal. In fairness, there are some cases > where you

Re: EditorDriver.setViolations in 2.3 release branch doesn't work as expected

2011-03-15 Thread misq...@gmail.com
Now I get it. I have missed ZipPlusCodeBox. Thanks again. Although I still got the problem with editorDriver.setViolations in my example and in DynaTableRf. 15-03-2011 20:13 użytkownik "Thomas Broyer" napisał: -- You received this message because you are subscribed to the Google Groups "Google

Re: Multiple requests in one context

2011-03-15 Thread nzmer...@gmail.com
Were you able to find the answer to this? I am having a similar issue On Feb 19, 12:42 pm, Mike Limansky wrote: > Hi all. > >   We are using GWT in our project. And we got the problem related with > RequestFactory. > >   The problem is following. Let's we have a some entity class which > contain

Re: GWT service that transforms a HTTP request including running javascript

2011-03-15 Thread Y2i
... or java.net.HttpURLConnection instead of httpclient. -- 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-to

Proxy hell

2011-03-15 Thread cvh
I have bashed my head against this for almost two weeks now. I am trying to do something really simple - proxy a request from a stand- alone Jetty 6.1.22 instance to localhost to connect to my Bugzilla installation. My app is developed using GWT2.2.0. My Bugzilla runs just fine at http://localhos

Re: Jetty in development/production

2011-03-15 Thread Filipe Sousa
On Tuesday, March 15, 2011 12:45:54 PM UTC, Jens wrote: > > I know it is a GWT group but as GWT uses embedded Jetty I hope someone with > a deeper Jetty knowledge is reading my questions and willing to answer :) > > We currently use Glassfish 3.1 with the following features: > - EJB 3.1 Lite (only

Announcing Mvp4g 1.3.0:/1.3.1 the easiest way to implement MVP/event bus

2011-03-15 Thread Pierre Coirier
Mvp4g 1.3.0/1.3.1 has been released. The 1.3.0 version is compatible with GWT 2.1 and older versions, whereas 1.3.1 is compatible with GWT 2.2. Mvp4g is a framework that allows GWT developers to easily implement the MVP/Event bus pattern thanks to one interface and a few annotations. The framework

Vertical menu

2011-03-15 Thread xdzgor
Hi I want a vertical menu, with submenus, which is always "expanded". For example: menu_item_1 submenu_item_1.1 submenu_item_1.2 menu_item_2 menu_item_3 submenu_item_3.1 submenu_item_3.2 I'm using "com.google.gwt.user.client.ui.MenuBar" and "com.google.gwt.user.client.ui.MenuIte

Re: How to compile selectively or avoid compilation of inheriting/implementing classes?

2011-03-15 Thread A. Stevko
It does not seem likely that the GWT compiler is bringing in any classes that are not in the source paths. I suggest looking at the imports within those directories to see which are referencing thoughworks etc. On Tue, Mar 15, 2011 at 11:21 AM, KD wrote: > Here is my situation. > > On the top

jquery jqGrid with GWT

2011-03-15 Thread ajaxDeveloper
I want to use jgQrid as my GWT widget. If anyone has done this please do help me with example code. I will be very grateful... coz i m in urgent need of that integration -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this grou

on printing, link of that page print in Footer, I want remove those link from footer

2011-03-15 Thread Neel
Hi I am using code provided by Freller for Printing. Its working fine. Now I am facing one problem- Link of that page print on every page in footer. I want to remove that link from footer. Thanks in advance for help. -- You received this message because you are subscribed to the Google Groups

Re: GWT Designer Exits Upon Loading

2011-03-15 Thread Eric Clayberg
I see you are using a build from more than a month ago. Have you tried it using the latest build? http://code.google.com/webtoolkit/tools/download-gwtdesigner-beta.html On Mar 15, 4:50 am, Arvind Ganesh wrote: > I am seeing the same behavior. > > In my case, everything has been installed fresh

Re: Need Help for gwt-rpc mysql database connectivity

2011-03-15 Thread Dilip Rathod
Tanks Ben, Jaun for taking interest in my difficulties. I finnaly got stack trace. In fact I am new to gwt & eclipse, good knowledge of java. But things are not turning as i expect. So can any body give me some detailed steps to connect to mysql in development mode. Connection conn =