Re: SuggestBox: how to change suggestions sort order?

2015-01-21 Thread Pradeep G
Hi,

Were you able to find a solution to this at all? I have been trying to 
figure this out all week, but I am still stuck. When I try to extend 
SuggestOracle and implement my own Oracle, I am having problems with some 
of the methods being private and classes (PrefixTree) with default access 
modifier . It would be great if someone could point me in the right 
direction. Thanks.

Pradeep

On Thursday, January 28, 2010 at 9:28:28 AM UTC-7, forewar wrote:
>
> Hello!
> I have the following problem:
> I have created SuggestBox element and filled it`s
> MultiWordSuggestOracle. But when I use showSuggestionList(), my
> suggestions are displaying in alphabetic order instead of original
> order. I want to show suggestions depends on their rating, not in
> alphabetic order.
> So, maybe someone could help me? I suppose, it must be some mechanism
> to set displaying order, but I havent found it in docs yet.
>
> My code is quite simple:
> AsyncCallback callback = new AsyncCallback() {
>   public void onSuccess(ArrayList result){
> ArrayList suggests = result;
> Iterator suggestsIt = suggests.iterator();
> MultiWordSuggestOracle ora = getOracleByElementId
> (innerSuggesterId);
> ora.addAll(suggests);
> ...
>
> I`m sure that element of my ArrayList suggests are sorted in order I
> want. But oracle changes it.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: MultiWordSuggestOracle: disable auto sorting

2015-01-18 Thread Pradeep G
Hi Daniel,

I am having the same problem. Did you resolve this?

Pradeep

On Monday, June 6, 2011 at 5:58:36 PM UTC-6, Daniel wrote:
>
> Hi, 
> I'm using a MultiWordSuggestOracle together with a SuggestBox to 
> display auto suggestions. I add the suggestions with the 
> MultiWordSuggestOracle.add() function. I have my suggestions sorted 
> via relevance. However, the oracle sorts them alphabetical. Is there a 
> way to disable this? 
>
> I already tried to write a subclass of MultiWordSuggestOracle without 
> alphabetical sorting, but there are many private attributes I can't 
> access in the subclass, so I would have to rewrite the whole class 
> (+ dependencies)? 
>
> Thanks, 
> Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


not able to maven install gwt-maven-plugin with org.eclipse.birt.runtime

2014-08-28 Thread Pradeep nethagani
i did mvn clean install my project and when i have dependency  


org.eclipse.birt.runtime

org.eclipse.birt.runtime

in my pom.xml the install  hangs at 

INFO] --- gwt-maven-plugin:2.5.0:compile (build-processes) @ myproject

when i remove the birt runtime dependency its going good. any thoughts on 
this

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Storing uploaded file in gwt (server side)

2013-09-16 Thread Pradeep Kumar








 
  
Hi All,   

I am new to GWT, I am facing some issue with file creation.

I am uploading a file from client side and want to store that file in 
server side and parse it and create tables in database for the data present 
in the file.

When I try to create a file at server side there is some file.io permission 
issue App engine is not allowing me to create the file.

Please let me know how can I solve this issue.

I did browse net, didn't find any solutions.

In the mean time I did read about sandboxing and some data store concept

Please let me know how can I use for my problem.

Thanks in Advance, Pradeep

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Header with A Horizontal Menu and Sub Menu

2013-02-26 Thread pradeep . sethban


Hi All Can any body share/refer sample code for following in GWT


 
   1. 
   
   A header with A Horizontal Menu – Main Menu.
   2. 
   
   Click on a item on Main Menu, It will open – a Vertical Sub Menu on 
   right hand side.
   3. 
   
   And A footer.
   
Really appreciate for any help.


 Thanks

Pradeep

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




Embed one GWT application into another.

2013-01-21 Thread Pradeep ramaswamy
I am trying to build a embedding architecture in GWT. 

1.) A Base GWT application will define the header, footer and possible 
sidebars.
2.) A Couple of Functionality GWT applications in the center panel which 
responds to the actions done on the header/ side bar.

So basically I want to embed my functionlity application into base 
application. I am assuming the communication can happen through some kind 
of request.

I am sure many of you have developed an architecture like this. I am 
struggling because I am very new to GWT.
Please throw some light on this architecture. Is it good/bad/impossible :)

Thanks,
Pradeep

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/OSXet1IRXCIJ.
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.



RequestFactory Error -- java.lang.IllegalArgumentException: Something other than a Java object was returned from JSNI method

2012-04-27 Thread Pradeep B Pillai


The following is the other error i get  frequently and this seems like
its more related to request factory
and I dont know why its happening ..Should I open a bug ?

I'm using GWT 2.4, browser Chrome 18.0.1025.1065

One or more exceptions caught, see full set in
UmbrellaException#getCauses -
 CAUSE java.lang.IllegalArgumentException: Something other than a Java
object was returned from JSNI method
'@com.google.web.bindery.autobean.gwt.client.impl.ClientPropertyContext
$Setter::beanSetter(Lcom/google/web/bindery/autobean/shared/impl/
AbstractAutoBean;Ljava/lang/String;)': JS value of type boolean,
expected java.lang.Object
java.lang.IllegalArgumentException: Something other than a Java object
was returned from JSNI method
'@com.google.web.bindery.autobean.gwt.client.impl.ClientPropertyContext
$Setter::beanSetter(Lcom/google/web/bindery/autobean/shared/impl/
AbstractAutoBean;Ljava/lang/String;)': JS value of type boolean,
expected java.lang.Object
 STACKTRACE :
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext
$StandardPayloadDialect.processPayload(AbstractRequestContext.java:
387)
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext
$5.onTransportSuccess(AbstractRequestContext.java:1108)
com.google.web.bindery.requestfactory.gwt.client.DefaultRequestTransport
$1.onResponseReceived(DefaultRequestTransport.java:136)
com.citrix.ws.democenter.module.shared.client.requestfactory.DemoCenterRequestTransport
$1.onResponseReceived(DemoCenterRequestTransport.java:84)
com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:
287)
com.google.gwt.http.client.RequestBuilder
$1.onReadyStateChange(RequestBuilder.java:395)
sun.reflect.GeneratedMethodAccessor352.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
java.lang.reflect.Method.invoke(Method.java:597)
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
172)
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:
337)
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
218)
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
136)
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
561)
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
269)
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91)
com.google.gwt.core.client.impl.Impl.apply(Impl.java)
com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
sun.reflect.GeneratedMethodAccessor345.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
java.lang.reflect.Method.invoke(Method.java:597)
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
172)
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
292)
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
546)
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
363)
java.lang.Thread.run(Thread.java:680)
 from
sourceClasscom.google.web.bindery.event.shared.UmbrellaExceptionwith
exception com.google.web.bindery.event.shared.UmbrellaException: One
or more exceptions caught, see full set in UmbrellaException#getCauses

-- 
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.



how to set the value of the cell in the column

2011-12-07 Thread Pradeep Kumar
Hi,

I am struck with a issue and am not able to proceed further.

The issue is, I have a CellTable which container columns ot of which
one column refers to a ButtonCell which displays an image. The above
code for widgets is there in a View class.

Now in the presenter I need to change the image to another image based
on a condition of a column value for all the row. i.e, based on the
value of the column the image should be changed for all the rows.

Could you please let me know how to do this in the Presenter class.

Here is what i tried but struck to set the below values:
context, parent, value

display.getColumnDelete().getCell().setValue(context, parent, value)

Please let me know how to resolve this.

-- 
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.



GWT Developers

2011-11-19 Thread Pradeep Pujari
Looking for part time GWT developer to work on an interesting concept.
Please send me an one pager if it inetersts you.

Thanks,
Pradeep.

-- 
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: Formatting parts of typed text

2009-08-19 Thread Pradeep

+1

i have a similar requirement, color coding text based on the current
context. I tried using RichTextArea , but it does not return the
cursor whereabouts in anyway( or does it??)...

Thnx in advance.

Pradeep

On Jul 30, 11:45 pm, John Ky  wrote:
> Hello,
>
> I have a text area in my gwt application.  I want to colour code some text
> as the user is typing into it.  Is it possible to do this?
>
> Thanks,
>
> -John

--~--~-~--~~~---~--~~
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: JDBC/MySQL Driver error

2008-12-02 Thread Pradeep

Modify your eclipse launch script to add one more line for the jar you
desire to include. Also add the jar file name in the cmd files that
launch and compile your project.

On Dec 2, 11:58 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Thanks for your reply.
>
> My project structure does not have a lib directory. I have the mysql-
> connector-java-5.1.7-bin.jar in the project directory and it is
> already installed in my buildpath. Is this what you meant? Does anyone
> else have any ideas?
>
> Regards,
> Jack
>
> On Dec 2, 9:33 am, eggsy84 <[EMAIL PROTECTED]> wrote:
>
> > Hi there
>
> > Do you load an external JAR using Eclipse? If so try copying the JAR
> > into your lib directory add add it to your buildpath there so that it
> > is within your project.
>
> > This is what I have done with the PostgreSQL project and had no
> > problems?
>
> > Eggsy
>
> > On Dec 1, 10:30 pm, "[EMAIL PROTECTED]"
>
> > <[EMAIL PROTECTED]> wrote:
> > > Hi,
>
> > > I am receiving the following error when i run GWT in hosted mode:
>
> > > SQLException: No suitable driver found for jdbc:mysql://localhost:3306/
> > > catering
> > > SQLState: 08001
> > > VendorError: 0
>
> > > I connect to my database fine when I run in eclipse so I am guessing I
> > > am missing some sort of JAR or XML file in TomCat.
>
> > > Please can someone point out where I am going wrong. I will be
> > > grateful for any advice!
>
> > > Regards,
> > > Jack
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Statement that GWT can be used to drive the UI of entire webapp is incomplete

2008-12-01 Thread Pradeep

The thing is this - there are individual URLs and there are backend
calls. You can browse to those URLs but you can't do a GET on them.
Entire content is delivered in those backend calls in JSON which gets
displayed by the web page. That's the content that should be indexed.
Search engines won't make this association between URL and the backend
calls, they want text. So for their benefit I have to dump those
contents into an html page and thereby open a whole new pandora's box.
That's the page they will oblige me by indexing and by directing users
to. Then I do a redirect and send the users to a sensible web page.

This is broken. I should never have attempted this.

All this treachery about redirect/forward was what I wanted to get
away from. But I couldn't.

I didn't want to end up coding html and javascript by hand but now I
have to. All over. From start to finish.

This is not about optimization, this is about feasibility. I do not
want a search engine optimized website. I do not want a good ranking.
I want the poorest ranking. I just want the thing to get *indexed*.
But I am going to have to write html and javascript by *hand* to do
that.

On Dec 1, 9:57 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I'm not sure where you are going with this, but I will state that
> GWT's "issue" about not being indexed by search engines is hardly
> unique to GWT.  All Ajax apps that reside on the web and dynamically
> produce their UI components, and shove that content into a single (or
> minimal) amount of pages have this issue.  Site map xml and other SEO
> techniques are needed on any Ajax app...GWT or otherwise.
>
> On Dec 1, 9:36 am, Pradeep <[EMAIL PROTECTED]> wrote:
>
> > The correct statement is that if you want to build the UI of a webapp
> > that cannot be indexed by search engines only THEN you can use GWT to
> > drive the entire UI. Otherwise stick to jsp, html, javascript and code
> > it by HAND.
>
> > Basically, I was in a state of rapture being able to write the kind of
> > UI that's possible using GWT without having to bother about javascript
> > and html. Then I realize that the thing cannot be read by search
> > engines because they like to browse it as "text". They see what a
> > browser like Lynx will see. Well, Lynx will see jack on my website so
> > it means all search engines see that. So that's what I have created as
> > far as everybody else on the internet is concerned.
>
> > Ian Bambury's website athttp://examples.roughian.comcomesto the
> > rescue. I can pick ideas from there and salvage my months effort.
>
> > What I have to do now is create a parallel structure to my website -
> > parallel webpages and parallel navigation. I have to use Firefox web
> > developer extension to inspect the pages/elements I created and write
> > code to create them BACK AGAIN by HAND so that they can be read by
> > "Lynx".
>
> > Awesome!
>
> > And while doing this I expose myself to the nonsense of dealing with
> > exposing the same content to search engines and users otherwise I get
> > penalized for misrepresentation.
>
> > Double awesome!
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Statement that GWT can be used to drive the UI of entire webapp is incomplete

2008-12-01 Thread Pradeep

The correct statement is that if you want to build the UI of a webapp
that cannot be indexed by search engines only THEN you can use GWT to
drive the entire UI. Otherwise stick to jsp, html, javascript and code
it by HAND.

Basically, I was in a state of rapture being able to write the kind of
UI that's possible using GWT without having to bother about javascript
and html. Then I realize that the thing cannot be read by search
engines because they like to browse it as "text". They see what a
browser like Lynx will see. Well, Lynx will see jack on my website so
it means all search engines see that. So that's what I have created as
far as everybody else on the internet is concerned.

Ian Bambury's website at http://examples.roughian.com comes to the
rescue. I can pick ideas from there and salvage my months effort.

What I have to do now is create a parallel structure to my website -
parallel webpages and parallel navigation. I have to use Firefox web
developer extension to inspect the pages/elements I created and write
code to create them BACK AGAIN by HAND so that they can be read by
"Lynx".

Awesome!

And while doing this I expose myself to the nonsense of dealing with
exposing the same content to search engines and users otherwise I get
penalized for misrepresentation.

Double awesome!

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---