Re: Drag and Drop UI using GWT with Connectors

2012-08-14 Thread Santosh
Sorry for the late reply. Thanks for your inputs. Unfortunately, we do
not have the privilege to use HTML5 and CSS3. As we may also have to
support IE8...

@Rob: I have looked into few of those sites. Mostly it is about
integrating drawing tools into our application.  I am not sure, how we
can use it in our applilcation.
First, can we integrate them along with GWT. Second, programmatically
draw the diagrams, give a Drag and Drop feature for the diagram,
handle connectors..etc.
It would be really great if we have suggestion with this design.

Now, I have looked into lib-gwt-svg API. But, using which we can draw
diagrams. But still, not enough documentation on how to make use of
api. If anybody has any resources or links which they can share would
be great.


On Aug 11, 11:38 pm, "ashwin.desi...@gmail.com"
 wrote:
> Santosh,
>
> If you have the privilege (depending on your app) to use html5 and css3 as
> the min browser requirement, then I would suggest draw the process as as
> div and style them as circle using border-radius CSS style.
>
> to draw the connectors, use HTML5 canvas. GWT supports canvas on browsers
> which are html5, chrome, opera, firefox (3.6 and above) and IE (9 and
> above). This is the technique yahoo also uses with its pipes project
>
> You can implement drag and drop using techniques provided for any gwt
> widget.
>
> I have implemented connectors in my project. All you have to do is place
> your widgets using absolute positioning on a panel (call it the editor),
> draw the connector to a canvas between the widgets and add the canvas to
> the editor. You will have to update the position of the widgets &
> respective canvas when you drag any of your process widgets.
>
> Regards
> Ashwin
>
> On Fri, Aug 10, 2012 at 6:03 PM, Santosh 
> wrote:
>
>
>
>
>
>
>
> > We have a requirement to create a diagram which shows a sequence of
> > process in circular manner with Connectors. UI should be flexible
> > enough so that user can drag and drop any process between any of the
> > other two process in the diagram. Automatically connectors should get
> > re-arranged with new sequence. All examples what I saw using GWT-DND
> > are drag and drop components, but no examples with Connector arrows
> > concepts. We have also heard about SVG and YUI. But I am not sure how
> > far we can use that within GWT. Do we have any suggestion on what to
> > choose and how we can design 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.

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



Lifecycle of GWT (or ) Flow of GWT Application

2012-08-12 Thread Santosh
Hi ,  i am new to GWT but i have gone through all things..like .gwt.xml and 
RPC and understood the things classes...but i was not able to understand 
the Flow of GWT , like it gows from wb.xml or from .gwt.xml file  and 
etc...Please tell me how the Lifecycle goes.. from starting to the End..



Thanks in Advance...

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



Drag and Drop UI using GWT with Connectors

2012-08-10 Thread Santosh
We have a requirement to create a diagram which shows a sequence of
process in circular manner with Connectors. UI should be flexible
enough so that user can drag and drop any process between any of the
other two process in the diagram. Automatically connectors should get
re-arranged with new sequence. All examples what I saw using GWT-DND
are drag and drop components, but no examples with Connector arrows
concepts. We have also heard about SVG and YUI. But I am not sure how
far we can use that within GWT. Do we have any suggestion on what to
choose and how we can design 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.



Re: Adjusting height of GWT Panels based on content dynamically

2012-08-10 Thread Santosh
Thanks for your valuable inputs. As you have suggested, I will do some
reading on using css for fluid page design. Hope I will be more clear
afterwards. I will get back to you if any more clarifications needed.

Header Panel will help me to create a header, content and footer
area.  Anything more about that related to my issue?

On Aug 9, 1:46 am, Andrei  wrote:
> You use the same HTML/CSS techniques for building fluid layouts in GWT as in 
> any other framework. You want to rely as much as possible on the browser's 
> ability to re-flow the content, instead of using fixed width/heights. 
> Typically this means using a LayoutPanel to split the page into 2-3 areas 
> (e.g. Top Menu, Left Menu, and Main Area), and using pure HTML (HTML panel) 
> or FlowPanels to organize the content inside those areas.
>
> Normally you would also wrap the main area in a ScrollPanel for situations 
> when content does not fit into the visible area of the browser window.
>
> Personally, I almost never use Vertical or Horizontal panels, because you can 
> easily achieve the same layouts with CSS while keeping them more flexible.
>
> I suggest that you do some additional reading on "using CSS for fluid page 
> layouts": you can use all of suggested techniques 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 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.



Adjusting height of GWT Panels based on content dynamically

2012-08-08 Thread Santosh
We have many screens where different types of GWT panels are used. One
common problem across many screens is that, content size is derived at
runtime. So, if I define a height for a panel(Vertical/Horizontal/
DockPanel) and when any new components are getting added within panel
or content is more, panel height remains the same. So we are not able
to see the contents. UI look and feel becomes worst. How do we handle
the height problems? Do we have to manually code to adjust every panel/
widget height when something gets changed in screen. Is it not a very
bad way of coding?
Also, now we have datagrids at some places, if no of records are very
less, we see a huge space left out below datagrid, not sure how do we
handle these cases?

Somebody please suggest as it is quite urgent.

-- 
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: Session Management in GWT

2012-06-21 Thread Santosh
Also, any ideas on question 2 and 3?

On Jun 21, 12:33 pm, Santosh  wrote:
> In this way, you need to get hold of the server generated session id
> in client first time and use it to check whether session id stored is
> null or not. Just wanted to check, whether it would be a best practice
> solution?
>
> On Jun 21, 12:15 pm, Nikola Markovic  wrote:
>
>
>
>
>
>
>
> > 1. Keep your session id on the client aswell. That way you know if you're
> > logged in, or not, on the client side. User can type in an URL and if the
> > user isn't logged in, you can just switch to a login activity.

-- 
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: Session Management in GWT

2012-06-21 Thread Santosh
In this way, you need to get hold of the server generated session id
in client first time and use it to check whether session id stored is
null or not. Just wanted to check, whether it would be a best practice
solution?


On Jun 21, 12:15 pm, Nikola Markovic  wrote:
> 1. Keep your session id on the client aswell. That way you know if you're
> logged in, or not, on the client side. User can type in an URL and if the
> user isn't logged in, you can just switch to a login activity.

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



Session Management in GWT

2012-06-20 Thread Santosh
I have few basic questions on session management in GWTP.

1. Now, we create a new session when the user logs in to application.
Now, I can open a browser and type in the app url with a token
directly without logging in. It will render the UI page to user
without any checks. Now, we have session checks in server side. So if
the UI page make s a server call on rendering then only, I will get to
know session is not valid and i can redirect him to login page. But,
how do we handle the cases where UI page does not have any server side
logic and user directly paste the URL with that token.
Do I have to make a server call on every page request from GWTP
presenter just to check session is valid? or do we have any other
approaches to it?

2. I am not passing any explicit session id param from GWT Client to
server. Its only the JSessionId getting passed automatically from
browser to server. We just do request.getSession() in server and see
if it is null or not(Not logged in if null). So I hope we dont have
any security issues with this. Please confirm.

3. With GWT client running on android and server side logic exposed as
Restful Web services using Jersey, how do we maintain session because
Restful WS are stateless. Now how do we achieve user session in this
case?

-- 
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: GWT UI Layout

2012-06-12 Thread Santosh
Will try to use and see if it can help. Thanks

On Jun 12, 5:41 pm, Cristian Rinaldi  wrote:
> I have built complex structures using LayoutPanel, gives much flexibility.
> Also as Thomas said, you can animate transitions.
>
> By example:
> public void setDefaultLayout () {
>   ...
>   ...
>   mainLayout.setWidgetLeftWidth (logo, 0, TCP 100, TCP);
>   mainLayout.setWidgetTopHeight (logo, 0, PCT, NORTH_HEIGHT, PX);
>
>   mainLayout.setWidgetLeftWidth (navigation, 0, TCP 100, TCP);
>  mainLayout.setWidgetTopHeight (navigation, NORTH_HEIGHT, PX 38, PX);
>   ...
>   ...
>   mainLayout.animate (500);
>
> }
>
> You are responsible for positioning the internal widget or panels.
>
> A.U.S Cristian Rinaldi
>
> 2012/6/12 Santosh 
>
>
>
>
>
>
>
> > Does layoutpanel give that kind of flexibility to build complex
> > structures? I heard this is the simplest panel upon which others are
> > built
>
> > On Jun 12, 3:35 pm, Thomas Broyer  wrote:
> > > How about the LayoutPanel?
> > > The advantage of LayoutPanel is that it can animate smoothly between
> > states.
>
> > > On Tuesday, June 12, 2012 7:10:19 AM UTC+2, Santosh wrote:
>
> > > > We wanted to design a layout in GWT which has quite a lot of small
> > > > small sections on screen. Basically it has a left menu, header,
> > > > footer, main content area with lot of sub sections which can be closed
> > > > by user in case if he does not want to see them. Then remaining
> > > > content section should get adjusted automatically.  We are using GWT
> > > > Platform. I am in doubt, whether DockLayoutPanel suits for this or
> > > > not, because, it has to be must more flexible. Apart from that, I
> > > > didnt get any good layout examples. Can we achieve this using GWT
> > > > panels or we have to manually do it using div in module html file?
>
> > --
> > 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.

-- 
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: GWT UI Layout

2012-06-12 Thread Santosh
Does layoutpanel give that kind of flexibility to build complex
structures? I heard this is the simplest panel upon which others are
built

On Jun 12, 3:35 pm, Thomas Broyer  wrote:
> How about the LayoutPanel?
> The advantage of LayoutPanel is that it can animate smoothly between states.
>
>
>
>
>
>
>
> On Tuesday, June 12, 2012 7:10:19 AM UTC+2, Santosh wrote:
>
> > We wanted to design a layout in GWT which has quite a lot of small
> > small sections on screen. Basically it has a left menu, header,
> > footer, main content area with lot of sub sections which can be closed
> > by user in case if he does not want to see them. Then remaining
> > content section should get adjusted automatically.  We are using GWT
> > Platform. I am in doubt, whether DockLayoutPanel suits for this or
> > not, because, it has to be must more flexible. Apart from that, I
> > didnt get any good layout examples. Can we achieve this using GWT
> > panels or we have to manually do it using div in module html file?

-- 
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 UI Layout

2012-06-11 Thread Santosh
We wanted to design a layout in GWT which has quite a lot of small
small sections on screen. Basically it has a left menu, header,
footer, main content area with lot of sub sections which can be closed
by user in case if he does not want to see them. Then remaining
content section should get adjusted automatically.  We are using GWT
Platform. I am in doubt, whether DockLayoutPanel suits for this or
not, because, it has to be must more flexible. Apart from that, I
didnt get any good layout examples. Can we achieve this using GWT
panels or we have to manually do it using div in module html file?

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



Mobile Development and Deployment using GWT, mGWT and phonegap

2012-05-25 Thread Santosh
I am really confused with lot of links mgwt, phonegap, cordova, gwt-
phonegap..etc.
can somebody really help me in understanding few of my basic questions
about all these?

a. Phonegap and Cordova are one and the same - They will help us to
build a mobile deployable component  using generated JS files. Am I
correct?
b. Steps provided in cordova site to create a Android project and
deploy needs generated html, JS and CSS content of our project. So we
need to build these build before we come here from our project. Rt?
c. Now if I have a simple GWT project, can I build GWT client and
deploy the generated web app content(.nocache.js and module html
files) directly using step b(Cordova approach) without any changes. I
understand that this itself is called a Phonegap project which we do
using this link "http://docs.phonegap.com/en/1.7.0/guide_getting-
started_android_index.md.html#Getting%20Started%20with%20Android"

d. Now if I have used mGWT widgets in my GWT application, what is that
extra needed before i start using Cordova steps- mGWT compiled code
can't be used directly in Cordova Phonegap project?
What is gwt-Phonegap? Why do we need this now? Please suggest me. Can
somebody really explain what exactly is happening using gwt-Phonegap
in some simple words.

Please help!!!

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.



JSON Parsing in GWT Client

2012-05-23 Thread Santosh
We have use GWT Platform with GWTP client and rest web services within
GUICE container. Rest service invocation from GWT client is done using
JSONPRequestbuilder.

I want to know which is the best JSON response string parsing
technique for GWT? - JSON to Java serialization/deserialization

After lot of search on google, I found out that we have these many
options.

a. GWT built in JSONParser parseStrict method which is called secured
and best way to go. But this may not be suitable for complex JSON
response string. Becuase you need to write lot of code to parse each
item in JSON response and convert to a Java object.
b. GWT AutobeanFactory approach - I dont know how best to use this? We
are using GWT 2.4, you do not have any complete example of using this
approach at all. Everywhere, people say its an approach but no where
we have detailed description on this. Few samples on google were from
gwt older versions which were changed a lot in GWT 2.4.  Please
somebody share a good example with GWT 2.4 and Autobean factory
approach for JSON ser/deser...
c. JavaScript overlay types: People say it is not the secured way to
go. So I am bit hesitate whether we should use this or not.

Moreover, we are migrating from GWT to SmartGWT very soon. I hope, the
rest call services with these should continue to work even in SmartGWT
without any changes. (Because SmartGWT also comes with a predefined
format JSON rest support which we may not use as we already have built
these services in general).

Kindly advice asap.

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: How to unsubscribe handler from EventBus?

2012-04-08 Thread Santosh kumar
Pass eventSource to the widget, and let the eventBus use this eventSource,
after firing the event let the listener of the event source to process the
event.

On Wed, Apr 4, 2012 at 3:07 PM, Thomas Broyer  wrote:

> EventBus.addHandler returns a HandlerRegistration. Call removeHandler() on
> that object to remove the corresponding handler from the EventBus.
>
>
> On Wednesday, April 4, 2012 5:46:30 AM UTC+2, Alex Luya wrote:
>>
>> Hello
>>I have two widgets,and both of them implement same event
>> handler,subscribe to same EventBus to  listen same event.What I expect
>> is after view switching from widget1 to widget2,widget1 can be
>> unsubscribed from EventBus and collected by browser,so when event is
>> fired again,only widget2 will handle it.But actually,widget1 still live
>> and will handle the event.How can I solve this problem?
>>
>>  --
> 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/-/rMOGWqM-NwgJ.
>
> 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.
>

-- 
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: Displaying a PDF in a GWT application using a servlet (or not)

2012-03-20 Thread Santosh kumar
Why do you want to store invoice info in the blob store ? Invoice data is
not meant to be fixed,
I mean client might update it at any time, again its over head you to go
and update it in the blod store.

Try this
http://pdfjet.com/
I suggest you to develop your own servlet, let this servlet do use of the
pdfjet api to generate invoice on fly itself, no worry of storing it.
Let the client do whatever he wants with that pdf file.

Hope it helps you.

--
*S*antosh *K*umar *K

*
On Fri, Mar 16, 2012 at 2:45 AM, karim duran  wrote:

> Hi Philroc1,
>
> I suggest you to developp your own servlet to do that.
> PDF in a blob is a good solution ( no need to fill the filesystem ).
> Put the SubscriberInformation object in session, so your servlet can find
> it, and serve the PDF.
>
> I met a similar problem, and it's how i did.
>
> Regards.
>
> Karim Duran
>
>
> 2012/3/15 philroc1 
>
>> Hello,
>>
>> I have just developed a GWT application which displays a table
>> containing client invoice data (invoice number, start date, etc.) I
>> would now like to display the clients' invoice PDFs (which are stored
>> in BLOBs) whenever they click PDF icons contained in the table's last
>> column.
>>
>> One of my colleagues recommended creating an RPC "servlet" to do that.
>> Unfortunately, I can't figure out how to pass user information
>> (contained in a SubscriberInformation object in the GWT application)
>> to the servlet so that it can easily retrieve the corresponding BLOB
>> using one of the application's DAOs.
>>
>> I have thought of writing the contents of the blog to a file in the
>> GWT application, and passing the file URL to the servlet, but the
>> Project Manager doesn't want PDF files to be written to the file
>> system.
>>
>> Any suggestions would be greatly appreciated.
>>
>> philroc1
>>
>> --
>> 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.
>>
>>
>  --
> 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.
>

-- 
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: GWT Timer doesn't work

2012-02-27 Thread Santosh kumar
Try this,

   Timer timer = new Timer() {
 public void run() {
 // Do Rpc. i.e., retrieveCollection

 @Override
 public void onFailure(Throwable throwable) {
 // if needed
 timer.schedule(100);
 }

 @Override
 public void onSuccess(Result result) {
 // do logic
 timer.schedule(100);
 }
 }
 };
 timer.schedule(100);


On Mon, Feb 27, 2012 at 4:08 AM, Patrick Tucker  wrote:

> You should execute the Timer right away, by directly calling its
> run().  Then in the run() determine whether or not it needs to run
> again.  If so, use schedule(int) to make it run() again.  The process
> should be similar to how an IncrementalCommand would work...
>
> On Feb 24, 3:36 pm, "Peter D."  wrote:
> > Has a solution been found to this issue?  I have encountered the same
> > thing, with no luck.
> >
> > On Jan 19, 2:24 am, Hanna Varakhobava  wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Hey, somebody...
>
> --
> 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.
>
>


--
*S*antosh *K*umar *K*

-- 
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: What Major Companies Use GWT???

2011-11-16 Thread Santosh kumar
My company uses GWT, Objectify, Google App Engine, it is an online
accounting application.
www.AccountingGuru.in 

On Thu, Oct 28, 2010 at 10:41 PM, Harpal Grover wrote:

> Ok so it seems like GWT has major use internally for companies, but so
> far is not a choice product to build commercial applications for
> general consumer use yet. I like the framework as well and hopefully
> it can make a push into consumer web applications, not just for
> internal corporate use or android phone apps.
>
> On Thu, Oct 28, 2010 at 11:51 AM, gcstang  wrote:
> > We use it within our company Micros-Retail, we use GWT, SmartGWT, gwt-
> > log, and gwt-visualizations.
> >
> > On Oct 27, 8:46 am, markM  wrote:
> >> We use it within the Pfizer corporation.  It's also been used within
> >> Toyota U.S.  You may also want to visit the smart-soft web site as
> >> many of the companies listed there have probably taken GWT training.
> >>
> >> It's a beautiful thing to no longer have to deal with JSP's.  Even
> >> with facilities like JSF, which was a huge advance, I still spent half
> >> my time figuring out some screwy way to, say, display a dialog in
> >> conjunction with making numerous necessary callbacks to the server.  I
> >> felt like I was spending half my time on non-requirements related
> >> technical issues.  I used to constantly have to do illogical and
> >> unintuitive things to fix problems.  In addition to the fact that most
> >> JSP tools still don't do a good job of type checking leaving you
> >> staring at your screen wondering why something isn't working or having
> >> to chase through a stack trace to figure it out.  When I moved to GWT
> >> I felt like someone took the handcuffs off.  It ain't perfect, not
> >> technology is, but it's quite a bit better than anything I was using
> >> before this.  I use Spring on the back end and tools like incubator
> >> for more complex ui work.  All open source.  No licenses.  Thank you
> >> Google! and don't become evil, at least as developers on the bottom
> >> rung you have a choice!
> >>
> >> On Oct 26, 11:25 am, PhilBeaudoin  wrote:
> >>
> >> > VMWare uses it in its new Code2Cloud project:
> http://tasktop.com/blog/tasktop/springsource-vmware-code2cloud
> >>
> >> > Google do use it in many products, in particular adwords. There is a
> >> > question on the topic in Quora, might be a good place to add some
> >> > answers:
> https://www.quora.com/What-web-applications-use-Google-Web-Toolkit-(GWT)
> >>
> >> >   Philippe
> >>
> >> > On Oct 26, 6:42 am, Stefan Bachert  wrote:
> >>
> >> > > Hi,
> >>
> >> > > On 25 Okt., 11:06, Sir Codealot  wrote:
> >>
> >> > > > What major companies are already using GWT?  I'm a little
> surprised
> >> > > > that this sort of info is not available and obvious, front and
> center,
> >> > > > on the GWT FAQs, but I can't find it.
> >>
> >> > > I agree the business position of GWT is to weak in spite of its
> >> > > strength.
> >> > > Google itself does not earn with GWT so the incentives are weak.
> >>
> >> > > Another point is, there are a lot of GUI technology out there. It is
> >> > > very hard for companies to decide
> >>
> >> > > JSP, JSF, Iceface, ASF, Wicket, Qt, jquery,
> >> > > Flash, Flex, SilverLight, JX,
> >> > > GWT with smartClient, GWT with GXT, GWT with Mosaic, GWT pure,
> >> > > CaptianCasa,
> >> > > Vaadin
> >> > > Swing, SWT, AWT
> >> > > Eclipse RCP, Eclipse RAP,
> >> > > quoxdoo
> >> > > JAXX,
> >> > > XUL.
> >>
> >> > > I am surely missed the most.
> >> > > Some of them are doing just half the way.
> >>
> >> > > I know companies that are using GWT in some way
> >> > > - RedHat
> >> > > - IBM, Lombardi
> >> > > - Google (quite sure)
> >>
> >> > > However, sometimes a tool uses GWT but this is not really published.
> >> > > XWiki, Magnolia CMS for example
> >>
> >> > > Stefan Bacherthttp://gwtworld.de-Hide quoted text -
> >>
> >> > - Show quoted text -
> >>
> >>
> >
> > --
> > 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.
> >
> >
>
>
>
> --
> Harpal Grover
> President
> Harpal Grover Consulting Inc
>
> --
> 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.
>
>


-- 
*Thanks  &  **Regards*
*S*antosh *K*umar *K* **

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolki

Handle OnClick of GWT SuggestBox ?

2011-08-26 Thread Santosh kumar
Hi,

*onClick of the SuggestBox* i want to display some of the default
suggestions. Some how i am managing to get response from the server.

@Override
public void onClick(ClickEvent event) {
   -
   -
   -
   -
 // here some how i am managing to get the default suggestions from
the server.
   -
   -
   -
   -
// but my problem is how do i say *callback.onSuggestionsReady(req,
resp);* because callback is not available here ?

// *So, my work around was:* i just created a *new Callback*, and
after getting the response from the server i am calling
//  callback.onSuggestionsReady(req, resp);

Callback callback = new Callback() {

@Override
public void onSuggestionsReady(Request request,
com.google.gwt.user.client.ui.SuggestOracle.Response response) {
// *my question is, how do i Override* *onSuggestionsReady*
*and display the suggestions ??* *because control is coming here.*
}
};
}

is this is the right way ? or please can any one suggest me the right way ?

Thanks in advance :)

-- 
** *S*antosh *K*umar *K* **

-- 
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: Отг: Handling next and prev buttons of SimplePager ??

2011-08-09 Thread Santosh kumar
Hi Miroslav,

I have two questions:


   1. If i am keeping track of cursors, and what if i click *last page arrow
   button*, then how do i get the last 20(assume) values ??
   2. if i click *prev arrow button* then how do i display the last
   page(here i am understanding that pager holds the previous data so no need
   of call to the server).



On Tue, Aug 9, 2011 at 1:24 PM, Santosh kumar  wrote:

> Hi All,,
>
> Because of some reason, Discussion subject changed to "*Отг:* Handling
> next and prev buttons of SimplePager ??" for a reply.
> And here in gmail i got that reply as a new thread. So only i am replying
> from that new thread...
>
> *But my thread was:*
> Hi,
>
> I am using GWT 2.3 cellTable to display the data using SimplePager.
>
> And i am following the example *AsyncDataProvider* as it is...
>
> http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html<http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html#data-provider>
>
>
> AsyncDataProvider provider = new AsyncDataProvider() {
>   @Override
>   protected void onRangeChanged(HasData display) {
>
> // Here i am doing rpc call to get the data *using cursors*... and
> its working fine.
>
> updateRowData(start, data);
>   }
> };
>
> But each time when i click *next button* i am getting next 20 values from
> the data store using cursor. And it is displaying the data fine. No issues
> with next button.
>
> But when i click *prev button*, i am assuming that cellTable had stored
> the previously displayed data, and just want to display that existing data,
> and
> handle this case without making RPC ?? but here when i click on prev
> button, progress bar is being displayed... what is that wrong here ??
>
> (*DOUBT*: *on click of prev button*: what is the need of call to the
> server to get the duplicate data again ??)
>
> is their any other way to handle this case ?? Please any suggestions ??
>
>
> Thanks in advance
>
> --
> *S*antosh *K*umar *K
> ***
> *www.AccountingGuru.in <http://www.accountingguru.in/>*
>
>
>
> On Tue, Aug 9, 2011 at 11:51 AM, Miroslav Genov  wrote:
>
>> If you are using GAE cursors, then I'm mostly sure that they are forward
>> only cursors. So if you want to make your pager working, you had to keep all
>> received cursors in a list, to move back.
>>
>> So
>>
>> [page-1] - > cursor null
>> hit next
>> [page-2] -> cursor 1
>> hit previous
>> [page-1] -> cursor null
>>
>>
>> [page-1] - > cursor null
>> hit next
>> [page-2] -> cursor 1
>> hit next
>> [page-3] -> cursor 2
>> hit previous
>> [page-2] -> cursor 1 (so when cursor2 is returned, you know how to move to
>> page - 4, but don't know how to move to page 2.
>>
>> --
>> 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/-/5trJtiumaH8J.
>> 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.
>
>
> **
>

-- 
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: Отг: Handling next and prev buttons of SimplePager ??

2011-08-09 Thread Santosh kumar
Hi All,,

Because of some reason, Discussion subject changed to "*Отг:* Handling next
and prev buttons of SimplePager ??" for a reply.
And here in gmail i got that reply as a new thread. So only i am replying
from that new thread...

*But my thread was:*
Hi,

I am using GWT 2.3 cellTable to display the data using SimplePager.

And i am following the example *AsyncDataProvider* as it is...

http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html


AsyncDataProvider provider = new AsyncDataProvider() {
  @Override
  protected void onRangeChanged(HasData display) {

// Here i am doing rpc call to get the data *using cursors*... and
its working fine.

updateRowData(start, data);
  }
};

But each time when i click *next button* i am getting next 20 values from
the data store using cursor. And it is displaying the data fine. No issues
with next button.

But when i click *prev button*, i am assuming that cellTable had stored the
previously displayed data, and just want to display that existing data, and
handle this case without making RPC ?? but here when i click on prev button,
progress bar is being displayed... what is that wrong here ??

(*DOUBT*: *on click of prev button*: what is the need of call to the server
to get the duplicate data again ??)

is their any other way to handle this case ?? Please any suggestions ??


Thanks in advance

-- 
*S*antosh *K*umar *K
***
*www.AccountingGuru.in *



On Tue, Aug 9, 2011 at 11:51 AM, Miroslav Genov  wrote:

> If you are using GAE cursors, then I'm mostly sure that they are forward
> only cursors. So if you want to make your pager working, you had to keep all
> received cursors in a list, to move back.
>
> So
>
> [page-1] - > cursor null
> hit next
> [page-2] -> cursor 1
> hit previous
> [page-1] -> cursor null
>
>
> [page-1] - > cursor null
> hit next
> [page-2] -> cursor 1
> hit next
> [page-3] -> cursor 2
> hit previous
> [page-2] -> cursor 1 (so when cursor2 is returned, you know how to move to
> page - 4, but don't know how to move to page 2.
>
> --
> 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/-/5trJtiumaH8J.
> 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.



**

-- 
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: Offline Google Web Toolkit

2011-08-08 Thread Santosh Kumar
Hi Thank you for the reply.
Once done with my work (with using these Google Web Toolkit) i need to take
the java class files and i'l put those in Oracle application server to
work.So will it work in that environment?

Please help me.

On Mon, Aug 8, 2011 at 5:28 PM, Alexander Orlov
wrote:

> The most convenient and appropriate way would be to use the newly added
> Canvas (part of the HTML5 spec) 
> API<http://code.google.com/webtoolkit/doc/latest/DevGuideHtml5.html>. Here
> is a demo of GWT using Canvas <http://gwtcanvasdemo.appspot.com/>.
>
> I doubt that using all these GWT extension stuff is really helpful in the
> longterm.
>



-- 
Thanks 'and' Regards,
Santosh kumar
9866991494.

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



Handling next and prev buttons of SimplePager ??

2011-08-08 Thread Santosh kumar
Hi,

I am using GWT 2.3 cellTable to display the data using SimplePager.

And i am following the example *AsyncDataProvider* as it is...

http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html


AsyncDataProvider provider = new AsyncDataProvider() {
  @Override
  protected void onRangeChanged(HasData display) {

// Here i am doing rpc call to get the data *using cursors*... and
its working fine.

updateRowData(start, data);
  }
};

But each time when i click *next button* i am getting next 20 values from
the data store using cursor. And it is displaying the data fine. No issues
with next button.

But when i click *prev button*, i am assuming that cellTable had stored the
previously displayed data, and just want to display that existing data, and
handle this case without making RPC ?? but here when i click on prev button,
progress bar is being displayed... what is that wrong here ??

(*DOUBT*: *on click of prev button*: what is the need of call to the server
to get the duplicate data again ??)

is their any other way to handle this case ?? Please any suggestions ??


Thanks in advance

-- **
*S*antosh *K*umar *K
***
*www.AccountingGuru.in 
*
**

-- 
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 make rpc from the widget when it get creates ??

2011-01-31 Thread Santosh kumar
Hi,

This is my requirement, i want to display the dialogBox, and set
productWidget into the dialogBox.
But when i create productWidget it has to get the list of products (RPC) and
disaplay them in the dropDown list.

How to make rpc from the widget when it get creates ??

This is my code,

public class MySampleClass implements EntryPoint {
.
.
.
.
.
DialogBox dialogBox = new DialogBox();
dialogBox.setText("Create Product");
VerticalPanel dialogContents = new VerticalPanel();
dialogBox.setWidget(dialogContents);
dialogBox.show();

 // create productWidget and add it to the dialog box.
 productWidget = new ProductWidget();
 dialogContents.add(productWidget);
.
.
.
.
}

public class ProductWidget extends Composite {
public ProductWidget() {
   .
   .
}
}

Please any suggestions ?
-- 
Thanks & Regards

*S a n t o s h  k u m a r . k

*

-- 
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: Append child Widget to parent Widget.. !! click handler of child Widget is not working .. ??

2010-12-21 Thread Santosh kumar
Hi, Amir

Thank you for your reply ... !!
Its working. i just added the code *RootPanel.get("divId").add(simplePanel);
*

  Button button = new Button();
  button.getElement().setAttribute("id", "buttonId");
  SimplePanel simplePanel = new SimplePanel();
  simplePanel.getElement().setAttribute("id", "childPanelId");
  FlexTable flexTable = new FlexTable();
  Button buttonInFlexTable = new Button();
  buttonInFlexTable.addClickHandler(new ButtonInFlexTableHandler());
  flexTable.setWidget(0, 0, buttonInFlexTable);
  simplePanel.add(flexTable);
  *RootPanel.get("divId").add(simplePanel);*

DOM.getElementById("buttonId").getParentElement().appendChild(simplePanel.getElement());


On Sat, Dec 18, 2010 at 12:53 PM, Santosh kumar  wrote:

> Hi,
>
> Button button = new Button();
> button.getElement().setAttribute("id", "buttonId");
> SimplePanel simplePanel = new SimplePanel();
> simplePanel.getElement().setAttribute("id", "childPanelId");
> FlexTable flexTable = new FlexTable();
> Button buttonInFlexTable = new Button();
> buttonInFlexTable.addClickHandler(new ButtonInFlexTableHandler());
> flexTable.setWidget(0, 0, buttonInFlexTable);
> simplePanel.add(flexTable);
>
> DOM.getElementById("buttonId").getParentElement().appendChild(simplePanel.getElement());
> -
> -
> -
> -
> public class ButtonInFlexTableHandler implements ClickHandler {
>
>   @Override
>   public void onClick(ClickEvent event) {
> Window.alert("Hello ..!");
>   }
> }
>
> According to this code, it should display the window alert message. But
> onClick of buttonInFlexTable button is not working !!
>
> Please, any help is appreciated .. Thank you ..!!
>
>
> --
> Thanks & Regards
>
> *S a n t o s h  k u m a r . k
>
> *
>



-- 
Thanks & Regards

*S a n t o s h  k u m a r . k

*

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



Append child Widget to parent Widget.. !! click handler of child Widget is not working .. ??

2010-12-17 Thread Santosh kumar
Hi,

Button button = new Button();
button.getElement().setAttribute("id", "buttonId");
SimplePanel simplePanel = new SimplePanel();
simplePanel.getElement().setAttribute("id", "childPanelId");
FlexTable flexTable = new FlexTable();
Button buttonInFlexTable = new Button();
buttonInFlexTable.addClickHandler(new ButtonInFlexTableHandler());
flexTable.setWidget(0, 0, buttonInFlexTable);
simplePanel.add(flexTable);
DOM.getElementById("buttonId").getParentElement().appendChild(simplePanel.getElement());
-
-
-
-
public class ButtonInFlexTableHandler implements ClickHandler {

  @Override
  public void onClick(ClickEvent event) {
Window.alert("Hello ..!");
  }
}

According to this code, it should display the window alert message. But
onClick of buttonInFlexTable button is not working !!

Please, any help is appreciated .. Thank you ..!!


-- 
Thanks & Regards

*S a n t o s h  k u m a r . k

*

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



Errors with Gwt Designer .. !! com.google.gwt...can not be found in source packages..

2010-11-12 Thread Santosh kumar
Hi,

I have started using *gwt designer* in my existing project, but i am getting
some errors

com.google.gwt.json.client.JSONArray can not be found in source packages.
Check the inheritance chain from your module;it may not be inheriting a
required module or a module may not be adding its source path entries
properly.

com.google.gwt.json.client.JSONObject can not be found in source packages.
 Check the inheritance chain from your module; it may not be inheriting a
required module or a module may not be adding its source path entries
properly.

com.google.gwt.json.client.JSONString can not be found in source packages.
 Check the inheritance chain from your module; it may not be inheriting a
required module or a module may not be adding its source path entries
properly.

junit.framework.TestCase can not be found in source packages.
Check the inheritance chain from your module;it may not be inheriting a
required module or a module may not be adding its source path entries
properly.

But i was working fine before implementing* gwt designer* into my project
!!!
Please can any one tell me what is these errors ???

Any help is very appreciated!

-- 
Thanks & Regards

*S a n t o s h  k u m a r . k*

-- 
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-tool...@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: How to get list of objects from JSON ??

2010-10-26 Thread Santosh kumar
Hi ,

Moitra and Thomas

Thanks for your reply.. !!

Anyways i got a solution..

*use this code in the servlet* ---
- get the list of products (productList) and use it in the servlet:
- This is JSON format to form a array of objects

// Open the  tag
writer.append("<script type=\"text/javascript\">");
writer.append("var product=");
writer.append("{productList: '[");

Iterator<Product> iter = productList.iterator();
while (iter.hasNext()) {
Product product= iter.next();
writer.append("{productName: \"" + Product .getProductName() +
"\", id: " + Product .getId() +
", productDetails: \"" + Product .getProductDetails() +
   .
   .
  "\"}");
if (iter.hasNext()) {
writer.append(",");
}
}

// End the <script> tag
writer.append("]'}; ");


*use this code in the GWT onModule *---
- call the above servlet on onModule

Dictionary product= Dictionary.getDictionary("product");
String productListStr = product.get("productList").toString();
JSONArray productJSONArray = JSONParser.parse(productListStr
).isArray();
List ProductList = new ArrayList();
for (int i = 0; i < productJSONArray .size(); i++) {
JSONObject productJSONObject = (JSONObject)productJSONArray
.get(i);
Product product= new Product();

JSONString productNameJSONString = productJSONObject
.get("productName").isString();
product.setProductName(productNameJSONString .stringValue());

product.setId(Long.valueOf(productJSONObject
.get("id").toString()));

.
.

ProductList .add(product);
}

finally we will get a list of objects. i.e, ProductList .

Guys its really cool concept .. !! enjoy it !! :-)

On Sat, Oct 23, 2010 at 7:21 PM, Subhrajyoti Moitra
wrote:

>
> http://googlewebtoolkit.blogspot.com/2008/08/getting-to-really-know-gwt-part-2.htm
>
> Use overlay types to read JSON arrays and objects.
>
> Thanks,
> Subhro.
>
> On Sat, Oct 23, 2010 at 11:08 AM, Santosh kumar wrote:
>
>> Hi,
>>
>> Using Dictionary in Gwt onModule load i want to get the list of objects
>> from Json  ???
>>
>> http://code.google.com/webtoolkit/articles/dynamic_host_page.html
>>
>> The example in the above link it is shown for string, but i want to get
>> the list of objects form the json ??
>> And also can you send me the sample code of JSON format for the list of
>> objects(same as shown in the above example)
>> and also how to retrieve these objects in the gwt using Dictionary ?
>>
>> please can anyone guide me ?
>>
>> --
>> Thanks & Regards
>>
>> *S a n t o s h  k u m a r . k*
>>
>> --
>> 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-tool...@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.
>>
>
>  --
> 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-tool...@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.
>



-- 
Thanks & Regards

*S a n t o s h  k u m a r . k*

-- 
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-tool...@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 get list of objects from JSON ??

2010-10-22 Thread Santosh kumar
Hi,

Using Dictionary in Gwt onModule load i want to get the list of objects from
Json  ???

http://code.google.com/webtoolkit/articles/dynamic_host_page.html

The example in the above link it is shown for string, but i want to get the
list of objects form the json ??
And also can you send me the sample code of JSON format for the list of
objects(same as shown in the above example)
and also how to retrieve these objects in the gwt using Dictionary ?

please can anyone guide me ?

-- 
Thanks & Regards

*S a n t o s h  k u m a r . k*

-- 
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-tool...@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: ScrolPanel Question

2010-09-16 Thread Santosh kumar
Hi skippy,

ScrollPanel, its automatically adjust the scroll bars.


ScrollPanel scrollPanel = new ScrollPanel();
scrollPanel.setSize("width", "height");
scrollPanel.clear();
RootPanel.get("div-id").clear();
RootPanel.get("div-id").add(scrollPanel);


On Sat, Sep 11, 2010 at 2:03 AM, skippy  wrote:

> I need to ack a scrolPanel if its vertical scrol bar is visible,  If
> so, I need to adjust the width of the table.
>
> 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-tool...@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.
>
>


-- 
Thanks & Regards

*S a n t o s h  k u m a r . k*

-- 
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-tool...@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: showing all the elements from SuggestOracle in suggestionBox

2010-09-16 Thread Santosh kumar
ya you are rite !!

Thank you for replying ..!!

On Fri, Sep 10, 2010 at 2:40 PM, ciosbel  wrote:

> I don't suggest you to do that. I think it's quite misleading for the
> user. A better solution should be to show a popup with a message like
> "no suggestions found" or something like that.
> It's quite simple using 2.1 milestones: extend either
> SuggestBox.DefaultSuggestionDisplay or SuggestBox.SuggestionDisplay
> and override showSuggestions method, checking if suggestions.size() is
> zero and displaying a "no suggestions found" popup instead of the
> default one.
>
> If you really want to implement the behavior you mentioned, maybe this
> hint could be useful too, but atm i have no idea on how to do that.
>
> ciosbel.
> On Sep 8, 1:52 pm, Santosh kumar  wrote:
> > Hi *ciosbel*,
> >
> > Thank you for your reply ..!!
> >
> > As u said, i am using setDefaultSuggestionsFromText method, its working
> > fine.. !!! i thought solution would be very difficult...
> > Its coool !! thank you once again !!!
> >
> > setDefaultSuggestionsFromText(Collection
> suggestionList)
> > using this method, if their is no match found for the key pressed, Here i
> am
> > displaying nothing. But after onChange its displaying the
> > DefaultSuggestList.
> >
> > But my thinking is immediate onPress of the key i have to display the
> popup
> > DefaultSuggestList if their is no match found for the key pressed.
> >
> > Please let me know if you know the solution ..!!
> >
> >
> >
> > On Wed, Sep 8, 2010 at 3:45 AM, ciosbel  wrote:
> > > Instead defining your own oracle (which is, indeed, the best
> > > solution), just use a MultiWordSuggestOracle.
> > > There you can find methods like:
> >
> > > setDefaultSuggestions(Collection
> > > suggestionList)
> > > or
> > > setDefaultSuggestionsFromText(Collection
> > > suggestionList)
> >
> > > You can simply add suggestions to you oracle (oracle.add ...) and then
> > > use one of the above to set default suggestions.
> > > Now, using yourSuggestBoxInstance.showSuggestionList(), *all* your
> > > suggestions will popup.
> > > Remember that the oracle that provides suggestion and the default set
> > > you specified using one of the above are two different things, with
> > > two different purposes. So, if your list of suggestions will change in
> > > future (i.e. after a clear/add in the oracle) just remember to reset
> > > the defaults.
> >
> > > If you want to display them *all* on textbox focus...
> >
> > > yourSuggestBoxInstance.getTextBox().addFocusHandler(new FocusHandler()
> > > {
> > >  public void onFocus(FocusEvent event) {
> > >// showing all default suggestions
> > >yourSuggestBoxInstance.showSuggestionList();
> > >  }
> > > });
> >
> > > Do note also, that with 2.1 milestones the interface of the suggestbox
> > > has been slightly changed. In particular you can now define your own
> > > display for the popup, and use it instead of the default (and a bit
> > > old) one. The custom popup can be defined by either extending
> > > SuggestBox.SuggestionDisplay (if you start from zero), or
> > > SuggestBox.DefaultSuggestionDisplay if you want to start from the
> > > default one.
> >
> > > Hope it helps.
> >
> > > cios.
> > > On 7 Set, 12:46, Santosh kumar  wrote:
> > > > Hi ,
> >
> > > > I am adding the items to the suggestoracle on onmodule load. Its
> working
> > > > fine if the match is found for the key pressed (alphabet) .
> > > > But i want to show *all Existing Items* from the suggestoracle when
> their
> > > is
> > > > no match found for the key pressed (alphabet) by the user ???
> >
> > > > Pls let me know if any one knows the solution ..!!
> >
> > > > On Fri, Aug 13, 2010 at 7:19 PM, ctasada  wrote:
> > > > > You can send me a private message attaching the source of your
> class,
> > > > > so I can take a look.
> >
> > > > > I'm using it in my code without problems.
> >
> > > > > On Aug 13, 6:33 am, aditya sanas <007aditya.b...@gmail.com> wrote:
> > > > > > Hello,
> >
> > > > > > yes you are right we dont have direct access to SuggestBox
> Popups.
> >
> > > > > > I have already extended SuggestOracle and have overridden method
> >
> >

Re: showing all the elements from SuggestOracle in suggestionBox

2010-09-08 Thread Santosh kumar
Hi *ciosbel*,

Thank you for your reply ..!!

As u said, i am using setDefaultSuggestionsFromText method, its working
fine.. !!! i thought solution would be very difficult...
Its coool !! thank you once again !!!

setDefaultSuggestionsFromText(Collection suggestionList)
using this method, if their is no match found for the key pressed, Here i am
displaying nothing. But after onChange its displaying the
DefaultSuggestList.

But my thinking is immediate onPress of the key i have to display the popup
DefaultSuggestList if their is no match found for the key pressed.


Please let me know if you know the solution ..!!


On Wed, Sep 8, 2010 at 3:45 AM, ciosbel  wrote:

> Instead defining your own oracle (which is, indeed, the best
> solution), just use a MultiWordSuggestOracle.
> There you can find methods like:
>
> setDefaultSuggestions(Collection
> suggestionList)
> or
> setDefaultSuggestionsFromText(Collection
> suggestionList)
>
> You can simply add suggestions to you oracle (oracle.add ...) and then
> use one of the above to set default suggestions.
> Now, using yourSuggestBoxInstance.showSuggestionList(), *all* your
> suggestions will popup.
> Remember that the oracle that provides suggestion and the default set
> you specified using one of the above are two different things, with
> two different purposes. So, if your list of suggestions will change in
> future (i.e. after a clear/add in the oracle) just remember to reset
> the defaults.
>
> If you want to display them *all* on textbox focus...
>
> yourSuggestBoxInstance.getTextBox().addFocusHandler(new FocusHandler()
> {
>  public void onFocus(FocusEvent event) {
>// showing all default suggestions
>yourSuggestBoxInstance.showSuggestionList();
>  }
> });
>
> Do note also, that with 2.1 milestones the interface of the suggestbox
> has been slightly changed. In particular you can now define your own
> display for the popup, and use it instead of the default (and a bit
> old) one. The custom popup can be defined by either extending
> SuggestBox.SuggestionDisplay (if you start from zero), or
> SuggestBox.DefaultSuggestionDisplay if you want to start from the
> default one.
>
> Hope it helps.
>
> cios.
> On 7 Set, 12:46, Santosh kumar  wrote:
> > Hi ,
> >
> > I am adding the items to the suggestoracle on onmodule load. Its working
> > fine if the match is found for the key pressed (alphabet) .
> > But i want to show *all Existing Items* from the suggestoracle when their
> is
> > no match found for the key pressed (alphabet) by the user ???
> >
> > Pls let me know if any one knows the solution ..!!
> >
> >
> >
> > On Fri, Aug 13, 2010 at 7:19 PM, ctasada  wrote:
> > > You can send me a private message attaching the source of your class,
> > > so I can take a look.
> >
> > > I'm using it in my code without problems.
> >
> > > On Aug 13, 6:33 am, aditya sanas <007aditya.b...@gmail.com> wrote:
> > > > Hello,
> >
> > > > yes you are right we dont have direct access to SuggestBox Popups.
> >
> > > > I have already extended SuggestOracle and have overridden method
> >
> > > > requestSuggestion(request,callback);
> >
> > > > code for the following as follows :
> >
> > > > public class StartsWithSuggestOracle extends SuggestOracle
> > > > {
> > > >//...  some other code...
> >
> > > > *@Override*
> > > > *public void requestSuggestions(Request request, Callback
> callback) *
> > > > *{ *
> > > > *final List suggestions =
> > > > computeItemsFor(request.getQuery().toLowerCase(),request.getLimit());
> *
> > > > *Response response = new Response(suggestions); *
> > > > *callback.onSuggestionsReady(request, response); *
> > > > *} *
> >
> > > > }
> >
> > > > and the underlined method computeItemsFor(); returns me the
> suggestions
> > > > based upon request so as per my
> >
> > > > logic if request contains no character that is an empty string "" i
> have
> > > > returned all suggestions from oracle object.
> >
> > > > so here i m able to get this response correctly but i m nt getting
> wht
> > > > should be done next with this response.
> >
> > > > from where i should give a call to this method and how that list get
> > > > populated.
> >
> > > > I have followed that link suggested by you but that was the same
> > > mechanism
> > > > that use

Re: showing all the elements from SuggestOracle in suggestionBox

2010-09-07 Thread Santosh kumar
Hi ,

I am adding the items to the suggestoracle on onmodule load. Its working
fine if the match is found for the key pressed (alphabet) .
But i want to show *all Existing Items* from the suggestoracle when their is
no match found for the key pressed (alphabet) by the user ???

Pls let me know if any one knows the solution ..!!



On Fri, Aug 13, 2010 at 7:19 PM, ctasada  wrote:

> You can send me a private message attaching the source of your class,
> so I can take a look.
>
> I'm using it in my code without problems.
>
> On Aug 13, 6:33 am, aditya sanas <007aditya.b...@gmail.com> wrote:
> > Hello,
> >
> > yes you are right we dont have direct access to SuggestBox Popups.
> >
> > I have already extended SuggestOracle and have overridden method
> >
> > requestSuggestion(request,callback);
> >
> > code for the following as follows :
> >
> > public class StartsWithSuggestOracle extends SuggestOracle
> > {
> >//...  some other code...
> >
> > *@Override*
> > *public void requestSuggestions(Request request, Callback callback) *
> > *{ *
> > *final List suggestions =
> > computeItemsFor(request.getQuery().toLowerCase(),request.getLimit()); *
> > *Response response = new Response(suggestions); *
> > *callback.onSuggestionsReady(request, response); *
> > *} *
> >
> > }
> >
> > and the underlined method computeItemsFor(); returns me the suggestions
> > based upon request so as per my
> >
> > logic if request contains no character that is an empty string "" i have
> > returned all suggestions from oracle object.
> >
> > so here i m able to get this response correctly but i m nt getting wht
> > should be done next with this response.
> >
> > from where i should give a call to this method and how that list get
> > populated.
> >
> > I have followed that link suggested by you but that was the same
> mechanism
> > that used there.
> >
> > so i m lil confuse why its not showing the response.
> >
> > --
> > Aditya
> >
> > On Thu, Aug 12, 2010 at 5:50 PM, ctasada  wrote:
> > > Hi Aditya,
> >
> > > The problem is that you don't have direct access to the SuggestBox
> > > popup.
> >
> > > If you want to see all the possible solutions you should extend the
> > > SuggestOracle and implement your own requestSuggestions method (see
> > > this link for some nice examples:http://development.lombardi.com/?p=39
> )
> >
> > > In this way yo can simply return all your list, even ignoring the
> > > limit.
> >
> > > Regards,
> > > Carlos.
> >
> > > On Aug 12, 10:50 am, Aditya <007aditya.b...@gmail.com> wrote:
> > > > hi,
> >
> > > > I want to show all elements from the suggestoracle whenever
> > > > suggestionbox recieves a focus.
> >
> > > > I did some search for it and i found something as follows :
> >
> > > >
> http://groups.google.com/group/google-web-toolkit/browse_thread/threa...
> >
> > > > Now i m able to recieve Response
> >
> > > > this.getSuggestOracle().requestSuggestions(request, new Callback() {
> > > > @Override
> > > > public void onSuggestionsReady(Request request, Response response) {
> > > > // here I m getting complete list from suggestoracle
> > > > }
> >
> > > > });
> >
> > > > I am able to get list of suggestions in this response but i dnt knw
> > > > what should i do next...?
> >
> > > > what should be done with this response how this will help me to
> > > > populate suggestions...?
> >
> > > > Thank you.
> >
> > > > --
> > > > Aditya
> >
> > > --
> > > 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-tool...@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.
>
> --
> 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-tool...@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.
>
>


-- 
Thanks & Regards

*S a n t o s h  k u m a r . k*

-- 
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-tool...@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: convert the comma separated number into the valid double number

2010-08-20 Thread Santosh kumar
Hi Thomas,

Thank You for replying...
ya its working ... i got expected output.

On Fri, Aug 20, 2010 at 7:46 PM, Thomas Dvornik  wrote:

> Hey Santosh,
>
> I think the simplest way is to replace the commas with nothing.
>
> Double.valueOf("10,000.00".replaceAll(",", ""));
>
> You can also use the NumberFormat utility.
>
> try {
>
> NumberFormat.getInstance(Locale.US).parse("10,000.00").doubleValue();
> } catch (ParseException e) {
>  e.printStackTrace();
> }
>
> Hope that helps,
>
> Tom
>
> On Aug 20, 1:18 am, Santosh kumar  wrote:
> > Hi,
> >
> > I want to get the value (for example 10,000.00) from the text box, but i
> am
> > getting only 10.0 from that text box using DOM. (But i am getting right
> > values which are below 1,000.00)
> > Is there any logic to convert the comma separated number which are in the
> > text into the valid double number...
> > please reply !!
> >
> > --
> > Thanks & Regards
> >
> > *S a n t o s h  k u m a r . k*
>
> --
> 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-tool...@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.
>
>


-- 
Thanks & Regards

*S a n t o s h  k u m a r . k*

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



convert the comma separated number into the valid double number

2010-08-20 Thread Santosh kumar
Hi,

I want to get the value (for example 10,000.00) from the text box, but i am
getting only 10.0 from that text box using DOM. (But i am getting right
values which are below 1,000.00)
Is there any logic to convert the comma separated number which are in the
text into the valid double number...
please reply !!

-- 
Thanks & Regards

*S a n t o s h  k u m a r . k*

-- 
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-tool...@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: Clicking HyperLink Twice or more...

2010-08-12 Thread Santosh kumar
Hi aditya,

Actually the issue is when i click the continuously the same link  it should
work..
in the sense it should work as it was clicked for the fist time ...??
it should start its work from the first ... like (refresh)... i hope u got
my doubt ...!!!


On Thu, Aug 12, 2010 at 7:07 PM, aditya sanas <007aditya.b...@gmail.com>wrote:

> Hi,
>
> check for click handlers that you are registering for that particular link
> Ideally it should work fine...
> meanwhile if you are losing that event handler after first click then and
> then only this problem could be faced.
> I never faced such kind of situation with the links
> I used Anchor from GWT...
>
> --
> Aditya
>
>
> On Thu, Aug 12, 2010 at 6:19 PM, Santosh kumar  wrote:
>
>> Hi,
>>
>> I am using GWT HyperLinks in my Project, i want some clarification about
>> these links.
>> when i click on the link for the first time it works fine. Immediately
>> when i click the same link its not working.
>> Like control is not coming to that link.. is their any logic to get the
>> control to the link when its get clicked continuously.
>> please can any one answer to my doubt ???
>>
>>
>> --
>> Thanks & Regards
>>
>> *S a n t o s h  k u m a r . k*
>>
>> --
>> 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-tool...@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.
>>
>
>  --
> 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-tool...@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.
>



-- 
Thanks & Regards

*S a n t o s h  k u m a r . k*

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



Clicking HyperLink Twice or more...

2010-08-12 Thread Santosh kumar
Hi,

I am using GWT HyperLinks in my Project, i want some clarification about
these links.
when i click on the link for the first time it works fine. Immediately when
i click the same link its not working.
Like control is not coming to that link.. is their any logic to get the
control to the link when its get clicked continuously.
please can any one answer to my doubt ???


-- 
Thanks & Regards

*S a n t o s h  k u m a r . k*

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



(BUG) -- Uncaught exception escaped

2010-08-11 Thread Santosh kumar
Hi,
this is the BUG which i see when i work with this module ..
please can any one help me to fix this this BUG.

17:47:16.937 [ERROR] [TaxCategory] Uncaught exception escaped
java.lang.AssertionError: A widget that has an existing parent widget may
not be added to the detach list
at
com.google.gwt.user.client.ui.RootPanel.detachOnWindowClose(RootPanel.java:136)
at com.google.gwt.user.client.ui.RootPanel.get(RootPanel.java:211)
at
com.veersoft.gwt.client.taxcategory.TaxCategoryGwtEntryPoint.setScreenletTitle(TaxCategoryGwtEntryPoint.java:475)
at
com.veersoft.gwt.client.taxcategory.TaxCategoryGwtEntryPoint.addOrUpdateTaxCategoryHandler(TaxCategoryGwtEntryPoint.java:198)
at
com.veersoft.gwt.client.taxcategory.TaxCategoryGwtEntryPoint.onValueChange(TaxCategoryGwtEntryPoint.java:484)
at
com.google.gwt.event.logical.shared.ValueChangeEvent.dispatch(ValueChangeEvent.java:128)
at
com.google.gwt.event.logical.shared.ValueChangeEvent.dispatch(ValueChangeEvent.java:1)
at
com.google.gwt.event.shared.HandlerManager$HandlerRegistry.fireEvent(HandlerManager.java:65)
at
com.google.gwt.event.shared.HandlerManager$HandlerRegistry.access$1(HandlerManager.java:53)
at
com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:178)
at
com.google.gwt.user.client.impl.HistoryImpl.fireEvent(HistoryImpl.java:74)
at
com.google.gwt.event.logical.shared.ValueChangeEvent.fire(ValueChangeEvent.java:43)
at
com.google.gwt.user.client.impl.HistoryImpl.fireHistoryChangedImpl(HistoryImpl.java:81)
at
com.google.gwt.user.client.impl.HistoryImpl.newItem(HistoryImpl.java:118)
at com.google.gwt.user.client.History.newItem(History.java:173)
at com.google.gwt.user.client.History.newItem(History.java:156)
at
com.google.gwt.user.client.ui.Hyperlink.onBrowserEvent(Hyperlink.java:163)
at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1307)
at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1263)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
at
com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1714)
at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
at sun.reflect.GeneratedMethodAccessor727.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
at
com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1669)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
at java.lang.Thread.run(Thread.java:619)

-- 
Thanks & Regards

*S a n t o s h  k u m a r . k*

-- 
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-tool...@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: Displaying date in format dd/mm/yy

2010-08-11 Thread Santosh kumar
Hi Shakun,
I want to display this date in the flextable as one of the column for the
list of rows.
is your snippet will help me ??

On Wed, Aug 11, 2010 at 1:12 PM, Shakun Sachdeva  wrote:

> Hi,
> You can see the below snippet..
> Hope it helps...
>
> private void initDateFormat()
> {
> DateUtil.setShortDateDisplayFormatter(new DateDisplayFormatter() {
>  public String format(Date date) {
>  if(date == null) return null;
>  final DateTimeFormat dateFormatter =
> DateTimeFormat.getFormat("dd/mm/yy HH:mm");
>  String format = dateFormatter.format(date);
>  return format;
>  }
>  });
> }
>
> Regards,
> Shakun
> On Wed, Aug 11, 2010 at 12:49 PM, Santosh kumar wrote:
>
>> Hi,
>> After rpc cal i am getting the date from datastore which was stored in
>> some of the kind,
>> but i want to display that date in the format dd/mm/yy and the time also.
>> Please can anyone help me to make over this task.
>>
>> --
>> Thanks & Regards
>>
>> *S a n t o s h  k u m a r . k*
>>
>> --
>> 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-tool...@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.
>>
>
>  --
> 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-tool...@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.
>



-- 
Thanks & Regards

*S a n t o s h  k u m a r . k*

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



Displaying date in format dd/mm/yy

2010-08-11 Thread Santosh kumar
Hi,
After rpc cal i am getting the date from datastore which was stored in some
of the kind,
but i want to display that date in the format dd/mm/yy and the time also.
Please can anyone help me to make over this task.

-- 
Thanks & Regards

*S a n t o s h  k u m a r . k*

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



Uncaught exception escaped

2010-08-03 Thread Santosh kumar
Hi,

This is the error which i am getting frequently when i click on the button
widget but second time when i click this button its working.
please give me some idea to fix this error.

Uncaught exception escaped
java.lang.AssertionError: A widget that has an existing parent widget may
not be added to the detach list


-- 
Thanks & Regards

S a n t o s h  k u m a r . k

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



need best GWT book for a begginner to start career

2010-07-19 Thread Santosh kumar
hi,

this is santosh,
i got a job on java platform, so here im working on eclipse environment
also im using GOOFLE WEB TOOLKIT ..

but im facing difficulty in understanding the concept of GWT
so please will u suggest me the best GWT book

or  send me the link where i can download book for free of cost !!




-- 
Thanks & Regards

S a n t o s h  k u m a r . k

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