accessing external database from GWT

2009-09-29 Thread Tobe
Hi, how can I access, like sending queries, an external database (MySQL) from GWT? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: At new item to a list at each position

2009-08-25 Thread Tobe
let you solve the rest of it. IMNSHO Ian http://examples.roughian.com 2009/8/24 Tobe tobias.jungnic...@googlemail.com Another problem is how to index the fields. I tried it with arrays: Outer forms 1 dimension, middle forms 2 dimension and inner forms 3 dimension and used the row

Re: At new item to a list at each position

2009-08-24 Thread Tobe
blocks at any position. On Aug 22, 7:52 pm, Tobe tobias.jungnic...@googlemail.com wrote: The next problem is how to evaluate this nested form? Is there any good way to structure the fields and evaluate the complete form together with GWT? On Aug 18, 2:42 pm,Tobetobias.jungnic...@googlemail.com

Re: At new item to a list at each position

2009-08-22 Thread Tobe
The next problem is how to evaluate this nested form? Is there any good way to structure the fields and evaluate the complete form together with GWT? On Aug 18, 2:42 pm, Tobe tobias.jungnic...@googlemail.com wrote: I had AbsolutePanels with other Widgets added to it, but now I just have one

evaluate nested forms

2009-08-21 Thread Tobe
Hi, I have a project with outer, middle and inner form. There is one outer form which can contain any number of nested forms (middle) and each middle form can contain any number of nested forms (inner). I know that I can't nest forms's in HTML, but how can I solve the problem to evaluate this

Re: PHP in hosted mode

2009-08-20 Thread Tobe
Nobody who can post me a tutorial how to create the build.xml for PHP in hosted mode? On Jul 31, 11:54 am, Tobe tobias.jungnic...@googlemail.com wrote: On Jul 30, 7:25 pm, Sumit Chandel sumitchan...@google.com wrote: If you're just getting started with GWT, you can follow along the Getting

Re: PHP in hosted mode

2009-08-20 Thread Tobe
Ok, it was much easier than I thought. You just have to remove the check from Run built-in server and have to enter the URL to the php file on your own webserver. On Aug 20, 3:07 pm, Tobe tobias.jungnic...@googlemail.com wrote: Nobody who can post me a tutorial how to create the build.xml

Re: PHP in hosted mode

2009-08-20 Thread Tobe
goudreau.christ...@gmail.com wrote: And, for those who use another port that 80, add -port [portnumber] to the argument list. Christian On Thu, Aug 20, 2009 at 10:19 AM, Tobe tobias.jungnic...@googlemail.com wrote: Ok, it was much easier than I thought. You just have to remove

Re: integrate GWT into SVN

2009-08-19 Thread Tobe
Issn't there any way to move the libraries and other files of GWT to another location? On Aug 5, 11:03 am, Tobe tobias.jungnic...@googlemail.com wrote: Now, I have a SVN project with PHP where I want to integrate GWT. Therefore the src and war folders shall be located in the trunk folder

Re: At new item to a list at each position

2009-08-18 Thread Tobe
setWidget(int row, int column, Widget widget) removes any existing widget. I think you might need a design review ;-) Ian http://examples.roughian.com 2009/8/17 Tobe tobias.jungnic...@googlemail.com Ok, but in this case inside the (1,0) there can be some more Elements and always

remove all margin/border of FlexTable

2009-08-17 Thread Tobe
Hi, I have a FlexTable with some rows and used setStyleName() to set a background-color from a CSS file. I also set margin and border to 0 in the CSS file for all elements, but still have something like margins around the rows of the FlexTabel where I see the background-color of the other

Re: At new item to a list at each position

2009-08-17 Thread Tobe
= tableOuter.getCellForEvent(event); tableInner = (FlexTable) tableOuter.getWidget(cellForEvent.getRowIndex (), 0).getParent(); On Aug 15, 11:42 am, Tobe tobias.jungnic...@googlemail.com wrote: Thanks Ian, now, it works I used this snippet of code in addInner() to get the corresponding inner FlexTable

Re: remove all margin/border of FlexTable

2009-08-17 Thread Tobe
Now it looks better, but now I think my problem is not a CSS one On Aug 17, 5:12 pm, Jason Essington jason.essing...@gmail.com wrote: have you tried         border-collapse: collapse; in your css? -jason On Aug 17, 2009, at 8:41 AM, Tobe wrote: Hi, I have a FlexTable with some

Re: At new item to a list at each position

2009-08-17 Thread Tobe
/tr /tbody /table , but how can I access the inner table in the first column of the second row which has the class=divInner attribute? On Aug 17, 5:12 pm, Tobe tobias.jungnic...@googlemail.com wrote: I notices, that there is still something going wrong. I colored the boxes to see

Re: At new item to a list at each position

2009-08-17 Thread Tobe
Ok, but in this case inside the (1,0) there can be some more Elements and always the last one is the nested FlexTable I need. I tried .getElement().getLastChild() but can't cast the received Node to a FlexTable. On Aug 17, 6:41 pm, Ian Bambury ianbamb...@gmail.com wrote: Can we try this in

Re: At new item to a list at each position

2009-08-15 Thread Tobe
Thanks Ian, now, it works I used this snippet of code in addInner() to get the corresponding inner FlexTable: Cell cellForEvent = tableOuter.getCellForEvent(event); tableInner = (FlexTable) tableOuter.getWidget(cellForEvent.getRowIndex (), 0).getParent(); On Aug 14, 8:45 pm, Ian Bambury

Re: At new item to a list at each position

2009-08-14 Thread Tobe
that make sense? If not, feel free to say so :-) Ian http://examples.roughian.com 2009/8/12 Tobe tobias.jungnic...@googlemail.com What I forget to say is that the problems are the NullPointerExceptions when you add inner elements not at the last position. The project is about

Re: At new item to a list at each position

2009-08-14 Thread Tobe
the cell in the main flextable and casting it. Ian http://examples.roughian.com 2009/8/14 Tobe tobias.jungnic...@googlemail.com I think my current version is (nearly) like your FlexTable version. The first layer is working, because it's just one FlexTable. In layer 2 there is one FlexTable

Re: At new item to a list at each position

2009-08-12 Thread Tobe
(); divInner.add(buttonAddInner); tableInner.insertRow(cellForEvent.getRowIndex()+2); tableInner.setWidget(cellForEvent.getRowIndex()+2, 0, divInner); } } On Aug 10, 8:27 pm, Ian Bambury ianbamb...@gmail.com wrote: Hi Tobe, You seem to have

Re: At new item to a list at each position

2009-08-12 Thread Tobe
with a description what the students have to do. On Aug 12, 6:01 pm, Ian Bambury ianbamb...@gmail.com wrote: Hi Tobe, Sorry - what I meant was: can you give a use case example for what you are trying to do. I need more of an idea of how it will be used before I can get my head around

Re: size of TextBox in GWT

2009-08-10 Thread Tobe
@jhulford That's what I need. Thanks On Aug 8, 6:51 pm, jhulford jhulf...@gmail.com wrote: Try TextBox.setVisibleLength() On Aug 6, 1:59 pm, Tobe tobias.jungnic...@googlemail.com wrote: Hi, how do I set the size parameter of a HTML input element with type=text for a TextBox in GWT

Re: At new item to a list at each position

2009-08-10 Thread Tobe
, Tobe tobias.jungnic...@googlemail.com wrote: Hi, I have a list, which items are divs, and want the user to add new items at any position. So if there are 2 item there have to be 3 button, one before the first, one between both and one after the last. Can somebody tell me how to create

Re: size of TextBox in GWT

2009-08-07 Thread Tobe
@Michael I want to change the size and not the maxlength of the TextBox Looks like setSize() and setPixelSize() aren't changing the number of visual characters, too. On Aug 7, 3:34 am, Michael W mwang_2...@yahoo.com wrote: user TextBox method setMaxLength(...) On Aug 6, 2:59 

At new item to a list at each position

2009-08-07 Thread Tobe
Hi, I have a list, which items are divs, and want the user to add new items at any position. So if there are 2 item there have to be 3 button, one before the first, one between both and one after the last. Can somebody tell me how to create this array of buttons.

Re: size of TextBox in GWT

2009-08-07 Thread Tobe
But issn't it better to set the size attribute of the HTML element to have the number of visual characters? How can I do the same in CSS? How do I know how much pixel (width) has one character? On Aug 7, 6:46 pm, Thad thad.humphr...@gmail.com wrote: It may be whatever container/panel that you

size of TextBox in GWT

2009-08-06 Thread Tobe
Hi, how do I set the size parameter of a HTML input element with type=text for a TextBox in GWT? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: integrate GWT into SVN

2009-08-05 Thread Tobe
, Tobe tobias.jungnic...@googlemail.com wrote: Maybe it seemed to easy for me but I think it's all I need :) On Jul 1, 1:48 pm, Ian Bambury ianbamb...@gmail.com wrote: I can't advise on the plugin as I don't use it, but the way I do GWT/PHP development is to set up a lightweight web server (I

Re: PHP in hosted mode

2009-07-31 Thread Tobe
On Jul 30, 7:25 pm, Sumit Chandel sumitchan...@google.com wrote: Hi Tobe, The project-name-shell and project-name-compile scripts are no longer generated in GWT 1.6 or later. Would you mind letting me know where you read about these scripts while trying to get started with GWT as it might

Re: PHP in hosted mode

2009-07-31 Thread Tobe
On Jul 30, 7:25 pm, Sumit Chandel sumitchan...@google.com wrote: If you're just getting started with GWT, you can follow along the Getting Started - QuickStart guide linked below. Although the guide references GWT 1.7.0, you should still be able to follow along with GWT 1.6.4. Getting

Re: save form data in database

2009-07-29 Thread Tobe
Path - Libraries. -Brett On Jul 29, 1:34 am, Tobe tobias.jungnic...@googlemail.com wrote: @Brett I'm using Eclipse and did the things you've posted. I also added the 2 jars in the run configurations, but by compiling the source I get errors for C3P0Registry. On Jul 28, 2:09 pm

Re: new line to break from textarea

2009-07-29 Thread Tobe
...@googlemail.com wrote: How about simply using String's replaceAll() method? String html = textArea.getText().replaceAll((\r\n|\r|\n), br/); On Jul 28, 5:04 pm, Tobe tobias.jungnic...@googlemail.com wrote: Hi, how can I activate that new lines in a TextArea become breaks directly

Re: save form data in database

2009-07-28 Thread Tobe
I want to save the data into my own MySQL database and not in the datastore --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: PHP in hosted mode

2009-07-28 Thread Tobe
can nobody tell me where this file is? On Jul 24, 6:28 pm, Tobe tobias.jungnic...@googlemail.com wrote: Hi, I want to use GWT in a PHP project but can't find files like project- name-shell or com.google.com.gwt.dev.GWTShell. I'm using GWT 1.6.4 with Eclipse on Mac OS X

new line to break from textarea

2009-07-28 Thread Tobe
Hi, how can I activate that new lines in a TextArea become breaks directly on the web page? In short I need the nl2br() function from PHP in GWT. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: save form data in database

2009-07-28 Thread Tobe
@Brett I'm using Eclipse and did the things you've posted. I also added the 2 jars in the run configurations, but by compiling the source I get errors for C3P0Registry. On Jul 28, 2:09 pm, brett.wooldridge brett.wooldri...@gmail.com wrote: I run MySQL with a C3P0 connection pool in front of it.

save form data in database

2009-07-27 Thread Tobe
Hi, I want to save data from a form into a database by using GWT. Is there a tutorial how to do it or can somebody paste an example source code? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

add Handler to existing HTML element

2009-07-25 Thread Tobe
Hi, isn't it possible to add a Handler to an existing HTML element on a HTML page. When I want to get the element and add the Handler I get the error: [ERROR] Line xx: The method addClickHandler(new ClickHandler(){}) is undefined for the type RootPanel

Re: add Handler to existing HTML element

2009-07-25 Thread Tobe
I also have the problem that I can't make an element on a HTML page invisible. Is it possible to convert HTML elements to Java Objects? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

PHP in hosted mode

2009-07-24 Thread Tobe
Hi, I want to use GWT in a PHP project but can't find files like project- name-shell or com.google.com.gwt.dev.GWTShell. I'm using GWT 1.6.4 with Eclipse on Mac OS X. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: integrate GWT into existing project

2009-07-22 Thread Tobe
at the project's war directory (using different ports you can run as many of these setups as you want) Then you can run the GWT app from Eclipse with the noserver option and it all just works. Ian http://examples.roughian.com 2009/7/1 Tobe tobias.jungnic...@googlemail.com One other

Modify PHP generated content from database by JavaScript

2009-07-22 Thread Tobe
Hi, I have a list of notes (data = ID, subject, description, date) which is generated by PHP from a MySQL database. Now I want the user to change the notes by using JavaScript. The user can click on a note to see all the data of it on a single page. By clicking on one of the data the label shall

Re: integrate GWT into existing project

2009-07-01 Thread Tobe
on what your curremt PHP setup does, and what you want GWT to do for it. Ian http://examples.roughian.com 2009/6/27 Tobe tobias.jungnic...@googlemail.com Hello, I have an existing project based on PHP and want to use GWT permit some JavaScript actions on the page

integrate GWT into existing project

2009-06-27 Thread Tobe
Hello, I have an existing project based on PHP and want to use GWT permit some JavaScript actions on the page. Is there a documentation how to integrate GWT, e.g. which files I have to copy and how I can change the GWT file and directory schema to my personal one of the existing project?

Re: Bug in gwt Grid, Setting Background image

2009-03-04 Thread Tobe
I am getting a similar problem with setting the background image in a flex table. The image seems to be set for the table as a whole and then also for each cell in the first column. The problem started occuring after upgrading to 1.5 from 1.3. (It also doesn't happen in Firefox, just IE7)