Sample of a suggestion box connected to a database

2009-10-03 Thread John Restrepo

Hi, as you noticed I'm just learning GWT, I've been testing
MultiWordSuggestOracle and SuggestBox, but now I want to try it
connecting it to a database, I've been looking for documentation but
due to my limited knowledge I don't understand too much, this post is
for asking you for some example how to do this if have one, thanks a
lot.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: help with suggest box

2009-09-22 Thread John Restrepo

Thanks ;)

On 16 sep, 23:33, Sripathi Krishnan sripathi.krish...@gmail.com
wrote:
 You would have to write a custom SuggestOracle and pass it to the
 constructor of your SuggestBox.

 Your implementation of SuggestOracle would need to implement the
 requestSuggestions() method. In that method, you can put in whatever logic
 you want to match strings.

 --Sri

 2009/9/17 John Restrepo johnjaime.restr...@gmail.com





  Hi, I noticed the gwt suggest box search word by word, for example if
  I press p it shows me possible or just possible it searches the
  character in the first word or in the second, my question is: Is there
  some way to change this? like just search in the first word and not
  the second. I hope I was clear :P
  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-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
-~--~~~~--~~--~--~---



help with suggest box

2009-09-16 Thread John Restrepo

Hi, I noticed the gwt suggest box search word by word, for example if
I press p it shows me possible or just possible it searches the
character in the first word or in the second, my question is: Is there
some way to change this? like just search in the first word and not
the second. I hope I was clear :P
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-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
-~--~~~~--~~--~--~---



Re: Newbie question

2009-09-14 Thread John Restrepo

It worked! thanks a lot Jason, new thing learned :P
But now, I got this error when try to compile:

2009-09-14 11:10:12.494 java[6097:80f] [Java CocoaComponent
compatibility mode]: Enabled
2009-09-14 11:10:12.497 java[6097:80f] [Java CocoaComponent
compatibility mode]: Setting timeout for SWT to 0.10
Exception in thread AWT-EventQueue-0 java.lang.NullPointerException
at apple.awt.CGraphicsEnvironment.displayChanged
(CGraphicsEnvironment.java:65)
at apple.awt.CToolkit$4.run(CToolkit.java:1310)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Invalid memory access of location 0x0 eip=0x0

I have no idea what it means :\

On 14 sep, 09:20, Jason Parekh jasonpar...@gmail.com wrote:
 Hey John,
 You can try to add the GWT 1.4 SDK:

 Go to your Eclipse preferences, then Google - GWT on the side bar, and then
 add another entry to the list box pointed to your GWT 1.4 SDK.

 After that, you'll want to create a new GWT project pointed at your existing
 source code.

 Please let us know if you run into any issues.

 jason

 On Sun, Sep 13, 2009 at 11:51 AM, John Restrepo 



 johnjaime.restr...@gmail.com wrote:

  Hi guys, excuse me for the newbie question but I'm new with GWT.
  I have to modify some widget with a suggestion box that interact with
  a database, the thing is when I open it with Eclipse it doesn't
  recognize anything the import com.google cannot be resolved, maybe
  the problem is that I'm modifying with GWT 1.7 and it's developed with
  GWT 1.4, what can I do?
  Thanks for the help 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
-~--~~~~--~~--~--~---



Re: Newbie question

2009-09-14 Thread John Restrepo

Ok, thanks again, due to short time I'll omit this part :(
At least I can work in web mode… thanks for everything ;)

On Sep 14, 11:27 am, Jason Parekh jasonpar...@gmail.com wrote:
 No problem.
 Unfortunately, the issue you're now seeing will be harder to tackle.  
 Seehttp://code.google.com/p/google-web-toolkit/issues/detail?id=1792for a long
 discussion.  It looks like it was fixed in GWT 1.5, but I think there are
 some workarounds for older versions interspersed in that issue.  If
 possible, I'd recommend upgrading GWT ;)

 jason

 On Mon, Sep 14, 2009 at 12:19 PM, John Restrepo 



 johnjaime.restr...@gmail.com wrote:

  It worked! thanks a lot Jason, new thing learned :P
  But now, I got this error when try to compile:

  2009-09-14 11:10:12.494 java[6097:80f] [Java CocoaComponent
  compatibility mode]: Enabled
  2009-09-14 11:10:12.497 java[6097:80f] [Java CocoaComponent
  compatibility mode]: Setting timeout for SWT to 0.10
  Exception in thread AWT-EventQueue-0 java.lang.NullPointerException
         at apple.awt.CGraphicsEnvironment.displayChanged
  (CGraphicsEnvironment.java:65)
         at apple.awt.CToolkit$4.run(CToolkit.java:1310)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy
  (EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy
  (EventDispatchThread.java:190)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
  184)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
  176)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
  Invalid memory access of location 0x0 eip=0x0

  I have no idea what it means :\

  On 14 sep, 09:20, Jason Parekh jasonpar...@gmail.com wrote:
   Hey John,
   You can try to add the GWT 1.4 SDK:

   Go to your Eclipse preferences, then Google - GWT on the side bar, and
  then
   add another entry to the list box pointed to your GWT 1.4 SDK.

   After that, you'll want to create a new GWT project pointed at your
  existing
   source code.

   Please let us know if you run into any issues.

   jason

   On Sun, Sep 13, 2009 at 11:51 AM, John Restrepo 

   johnjaime.restr...@gmail.com wrote:

Hi guys, excuse me for the newbie question but I'm new with GWT.
I have to modify some widget with a suggestion box that interact with
a database, the thing is when I open it with Eclipse it doesn't
recognize anything the import com.google cannot be resolved, maybe
the problem is that I'm modifying with GWT 1.7 and it's developed with
GWT 1.4, what can I do?
Thanks for the help 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 question

2009-09-13 Thread John Restrepo

Hi guys, excuse me for the newbie question but I'm new with GWT.
I have to modify some widget with a suggestion box that interact with
a database, the thing is when I open it with Eclipse it doesn't
recognize anything the import com.google cannot be resolved, maybe
the problem is that I'm modifying with GWT 1.7 and it's developed with
GWT 1.4, what can I do?
Thanks for the help 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
-~--~~~~--~~--~--~---