Re: Appearance of extra scroll bar in GWT Datagrid

2013-08-19 Thread Harsh Yadav
Hi,

Does anyone else see the same issue?
Any input is appreciated.

Thanks,
Harsh


On Sat, Aug 10, 2013 at 5:02 PM, Harsh Yadav  wrote:

> Found in GWT 2.5
> *Encountered on OS / Browser:*
>
> Mac OSX 10.8.4, Chrome, Safari. This is not an issue on Firefox.
> *Detailed description:*
>
> While using the DataGrid, an extra scroll bar is visible.
> Please find attached a screenshot form the GWT showcase.
>
> In my application, I am using DataGrid 
> (http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwDataGrid) 
> combined with LazyScrolling example provided in the showcase 
> (http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwCellList).
>
>
> I am using DataGrid in ui binder as:
>
>  width="100%" />
>
> LazyDataGrid extends DataGrid to expose grid's scroll panel as:
>
> public ScrollPanel getScrollPanel() {
>   HeaderPanel header = (HeaderPanel) getWidget();
>   return (ScrollPanel) header.getContentWidget();
>   }
>
> This results in appearance of an extra (non-functional) scroll bar when the 
> page loads (See attached screenshot).
>
> Thanks in advance.
>
>

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


Change CellTable Cell colors

2011-03-10 Thread harsh yadav
Hi all,

I am not very good with css.

So here is what I am trying to achieve:

I am creating a CellTable and populating with some data I get from the
database.

I then do some manipulation on the retrieved data and get certain values of
interest (which represent some cell values in CellTable).

Now in my CellTable, I want to highlight these values.

Any idea/approach to carry out this.

I am using KEY_PROVIDER. And the values I want to highlight populates from
the KEY_PROVIDER column.

Thanks in advance.


--Harsh Yadav

-- 
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: Can't serialize a Hashset for an RPC call

2011-03-07 Thread harsh yadav
Did you tried using java.util.HashSet??

That should work fine and is serializable.

--Harsh Yadav

On Mon, Mar 7, 2011 at 1:31 AM, Chris D  wrote:

> Hey everyone,
>
> So I have a pool that has many users, and users can also have many
> pools, so it's a pretty straightforward many to many relationship. So
> take for instance my pool class, I have a HashSet
> userIDs  ...which contains all the ids of users. When I try to create
> a new pool, I get the following error message...
>
> "Caused by: com.google.gwt.user.client.rpc.SerializationException:
> Type 'org.datanucleus.sco.backed.HashSet' was not included in the set
> of types which can be serialized by this SerializationPolicy or its
> Class object could not be loaded. For security purposes, this type
> will not be serialized.: instance = []"
>
> My Pool class and PoolUser class both have default constructors. The
> persistent parts of the pool class look like this..
>
>@PrimaryKey
>@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
>private Long id;
>@Persistent
>private String name;
>@Persistent
>private HashSet users = new HashSet();
>
>
> Anyway, any ideas on how I might fix this would be great.
>
> 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.
>
>

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



GWTAI in GWT (Applet Integration)

2010-04-28 Thread Harsh Yadav
Hi all,

I want to use GWTAI to integrate an applet in my GWT application.

I couldnt get it to run with my GWT application.

Has anyone use GWTAI successfully to integrate an applet in GWT application.

Or is there any better way to do the same in GWT.

Thanks and Regards,
Harsh Yadav

-- 
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: GWT File Uploader

2010-04-27 Thread Harsh Yadav
Hi,

I think I should make myself more clear.

What I want to do is to allow the users select the location folder for a set
of files, and then with this location I have to read all the files present
in that folder.

With the file upload widget, I can't select all the files in the folder,
neither could I select the folder name itself.

Is there any other smart way to do this i.e. to allow users selecting a
folder so that we can process all the files inside it.

Regards,
Harsh Yadav


On Tue, Apr 27, 2010 at 4:52 PM, Jeff Chimene  wrote:

> On 04/27/2010 12:13 PM, harsh.y.yadav wrote:
> > Hi Sri,
> >
> > Thanks for your reply.
> >
> > Actually I don't want to upload the folder contents.
> >
> > What I want in some way is for the user to tell me the folder
> > destination with respect to the file system.
>
> You have to provide the destination folder via a separate widget.
>
> >
> > Is there any other way to do it.
> >
> > --Harsh
> >
> > On Tue, Apr 27, 2010 at 3:02 PM, Sripathi Krishnan
> > mailto:sripathikrish...@gmail.com>> wrote:
> >
> > You can't upload a folder through http, its not possible.
> >
> > --Sri
> >
> >
> >
> > On 28 April 2010 00:29, harsh.y.yadav  > <mailto:harsh.y.ya...@gmail.com>> wrote:
> >
> > Hi all,
> >
> > I want to use the GWT File Uploader.
> >
> > However, I want to set it to select folder instead of files.
> >
> > I searched on the forums, however, couldn't found a solution for
> > this.
> >
> > Is there any way to do this.
> >
> > Thanks and Regards,
> > Harsh Yadav
> >
>
> --
> 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.



Re: Update Progress Pop Up

2010-04-26 Thread Harsh Yadav
Thanks a lot.

That code just worked fine for me.

Regards,
Harsh Yadav

On Mon, Apr 26, 2010 at 3:55 PM, kozura  wrote:

>
> http://groups.google.com/group/google-web-toolkit/browse_thread/thread/b6f045a1e5b7496c/d8b9f6a97b17eb98
>
> On Apr 26, 1:40 pm, Harsh Yadav  wrote:
> > Hi,
> >
> > I want a way to show an update progress panel, when any of the RPC is
> still
> > in progress.
> >
> > I could use a dialog on RPC call, and hide it on onSuccess(), however, I
> > want some central mechanism to detect when one (or many) RPC is in
> progress,
> > and show the progress panel, that could prevent users to access resources
> > before everything is loaded.
> >
> > Is there a way to do it.
> >
> > Thanks and Regards,
> > Harsh Yadav
> >
> > --
> > 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 athttp://
> 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.
>
>

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



Update Progress Pop Up

2010-04-26 Thread Harsh Yadav
Hi,

I want a way to show an update progress panel, when any of the RPC is still
in progress.

I could use a dialog on RPC call, and hide it on onSuccess(), however, I
want some central mechanism to detect when one (or many) RPC is in progress,
and show the progress panel, that could prevent users to access resources
before everything is loaded.

Is there a way to do it.

Thanks and Regards,
Harsh Yadav

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



gwt code server + javaw.exe crashing

2010-04-26 Thread Harsh Yadav
Hi,

I am developing a GWT project.

It was running fine, then suddenly since yesterday the GWT code server is
crashing by itself.

The process "javaw.exe" is eating most of the CPU resources, and might be
causing GWT server to crash.

I am not getting any errors in the console window.

Could any one tell the reason for this issue and how it could be resolved.

I was using JDK 6 Update 17, and tried installing Update 20, but the issue
still remains.

Thanks and Regards,
Harsh Yadav

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



Multiple Servlets Issue

2010-03-02 Thread Harsh Yadav
I am trying to create multiple servlets.

When I add them separately in the web.xml file, and try to run my
application, I get errors, and it wont run.

Could anyone suggest, how I can handle multiple servlets in GWT, so
that I could separate logic.

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.