Re: Problem in sending large size of data from GWT client to server by cross domain scripting

2013-06-14 Thread Shashank Beerla
if u knw the answer y dont u give a detail procedure to follow instead scribblin somethin in vague On Thursday, May 12, 2011 4:09:52 AM UTC-4, Thomas Broyer wrote: > > There are tricks using a hidden form (FormPanel in GWT), but well, they're > a bit "hackish"... (what's hackish is communicating

Re: How to play audio from the jar?

2013-06-14 Thread Magnus
Hi Jens, so the URL would be "/audio/file.mp3"? Where is the root? And is mp3 a format that most browsers support? Thanks Magnus Am Freitag, 14. Juni 2013 10:27:52 UTC+2 schrieb Jens: > > You either write a servlet that loads the mp3 from the jar and sends it to > the client or dont put your a

Re: Uibinder inheriting and extending css classes (not just sharing them), best method?

2013-06-14 Thread GWTter
Hi Joseph, Thanks for the reply. You're right and I actually do this elsewhere extending cssresource interfaces and using the @shared which also works; it's definitely the way to go for larger extensions/additions that aren't as local. However what I like about the ui:binder approach is you don

Is ValueProxy similar to AutoBean type object?

2013-06-14 Thread Yan
Hi, With my GWT 2.5.1, I am revisit the way I am using EntityProxy. There is an existing post about a parent entity proxy holding a list of children entity proxy, changes in children in UI does not trigger an update in backend. So, I thought to change to use ValueProxy, that way, I do not have

Re: CodeMirror and GWT.

2013-06-14 Thread Joseph Lust
Håvard Moås, checkout the Chrome Markdown extensionto format code for these forums. :) Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups "Google Web T

Re: Best practices for inlining build (revision) number into GWT App?

2013-06-14 Thread Joseph Lust
Thanks for sharing. That's what I was using before. A real *chicken and the egg *problem while I sounds so simple in principle. I've also pondered a direct string replacement against the compiles JS files (i.e. $$BUILD_NUMBER) with filters in the war building plugin as ostensibly strings are st

Re: Uibinder inheriting and extending css classes (not just sharing them), best method?

2013-06-14 Thread Joseph Lust
Seth, Currently I can do this by setting src='/MyCss.css"> in A and B and it works nicely, uibinder > takes care of injecting the styles and everything. However I'm not sure if > this is the best way. There's also the issue that if I move A and B then > the relative path breaks (since absolute

Re: RequestFactory Issue 6115

2013-06-14 Thread Nermin
Hello Thomas, Open Session In View is the right approach to go for. Thank you for this advice! I have implemented it and it works fine now. However, I have one question regarding OSIV-Pattern: In the Hybernate example (see link below) they *begin transaction* before doFilter() and *commit on t

Re: LESS/ SASS/... style usage in GWT ?

2013-06-14 Thread Ryan Chazen
It's been (erroneously) merged into issue 8162, which is just a generic CSS3 issue. So I wouldn't get your hopes up too quickly. https://code.google.com/p/google-web-toolkit/issues/detail?can=2&q=8162&colspec=ID%20Type%20Status%20Owner%20Milestone%20Summary%20Stars&id=8162 On Fri, Jun 14, 2013

Re: LESS/ SASS/... style usage in GWT ?

2013-06-14 Thread Ryan Chazen
According to that article it will work without Vaadin, and just requires that you replace 'widgetset' with 'module'. How exactly you'd go about doing that is unclear and I haven't tried, but the article definitely seems to be saying that it should work without issue. I've had plans to give it a tr

Re: LESS/ SASS/... style usage in GWT ?

2013-06-14 Thread Ed Bras
I think the gwt dev team is "thinking about" CSS SASS support, from the looks of issue 7624: https://code.google.com/p/google-web-toolkit/issues/detail?id=7624 It hasn't become stale yet ... ;) On Fri, Jun 14, 2013 at 4:19 PM, Ed wrote: > Vaadin has a special linker that should let you use SASS

Re: Design Decision RPC with AsyncDataProvider

2013-06-14 Thread Jens
You can set a string identifier to your columns by using Column.setDataStoreName(). The easiest identifier would be the raw database column name. Then you can go through the ColumnSortList of your CellTable, read the database column name and sort order of each sorted column and pass this inform

Re: LESS/ SASS/... style usage in GWT ?

2013-06-14 Thread Ed
> > Vaadin has a special linker that should let you use SASS. I haven't tried > it though. https://vaadin.com/blog/-/blogs/link-to-the-client-side-from-sass > Thanks for reminding, I almost forgot it :(. I am currious when this will also be available in the core gwt? As Vaadin is now now an GW

Re: LESS/ SASS/... style usage in GWT ?

2013-06-14 Thread RyanZA
Vaadin has a special linker that should let you use SASS. I haven't tried it though. https://vaadin.com/blog/-/blogs/link-to-the-client-side-from-sass On Friday, June 14, 2013 3:23:43 PM UTC+2, Ed wrote: > > Hi, > I am curious how people use LESS/SASS/... etc.. in GWT i.c.m. GWT > Clientbundle

How to set RichTextArea background color in IE10?

2013-06-14 Thread dhoffer
I'm using the following to set the RichTextArea background color which works for Firefox and most IE versions but with IE10 it just ignores the method. After calling the method the developer tools indicate the style was not added/set. Why? How to do this for IE10? getElement().getStyle().se

Design Decision RPC with AsyncDataProvider

2013-06-14 Thread Jochen Schnaidt
Hi all, I need an advice about a design question of my application. I am searching for a best practise for the following setup. Project is about an application for maintaining huge amounts of data from a database. Therefore I implemented a ui with UIBinder and a CellTable, data is prov

LESS/ SASS/... style usage in GWT ?

2013-06-14 Thread Ed
Hi, I am curious how people use LESS/SASS/... etc.. in GWT i.c.m. GWT Clientbundle mechanism? I looking into using this (never did before). Please share your experience? (setup, css parsing, experience, ) -- You received this message because you are subscribed to the Google Groups "Google W

Re: GWT-RPC: loose vs. tight coupling

2013-06-14 Thread Shaun Tarves
Hi Jens - Thank you for the info. For what it's worth, I was able to successfully use the an interface in the Async service interface and then the implementation in the RemoteService interface. GWT compiled without complaint even though the async method signature was technically different. Tha

Re: GWT-RPC: loose vs. tight coupling

2013-06-14 Thread David
Hi, I tend to fall back to pure JSON(P) more and more, but that comes with other problems (a big leak in our "beloved IE"with JSONP for example). The idea that GWT supports RPC with something similar but not quite the same as java serialisation somehow falls appart in many bigger projects. Someti

Re: Fixing a column in DataGrid

2013-06-14 Thread Jens
Well, add a scroll handler to the right ScrollPanel and set the current scroll position on the left ScrollPanel. -- J. -- 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

Re: Fixing a column in DataGrid

2013-06-14 Thread Raphael André Bauer
On Wed, May 29, 2013 at 7:24 PM, Jens wrote: > Before deep diving into DataGrid, I think my first "make it work" approach > would be to just use two DataGrids and add both to the same DataProvider, so > that their data is in sync with each other. The first one would contain the > static x columns

Re: GWT-RPC: loose vs. tight coupling

2013-06-14 Thread Jens
> It would be nice, if somehow we could use an annotation or some external > file to direct what implementation that is needed. > We sometimes need to send over things for which we are not allowed to > change the sources. > We sometimes need to send over things for which we are not allowed

Re: How to play audio from the jar?

2013-06-14 Thread Jens
You either write a servlet that loads the mp3 from the jar and sends it to the client or dont put your audio files into a jar file. If you put your audio files in your war file, e.g. war/audio/file.mp3, then you can access it just like any other html/js file from your war. You could also put the

Re: GWT-RPC: loose vs. tight coupling

2013-06-14 Thread David
Jens, It would be nice, if somehow we could use an annotation or some external file to direct what implementation that is needed. We sometimes need to send over things for which we are not allowed to change the sources. David On Thu, Jun 13, 2013 at 9:46 PM, Jens wrote: > Its not so much about

Re: GWT 2.4 Validation Tool not picking up @ExtraTypes on superclasses

2013-06-14 Thread Jonathan Nash
I have a related follow-up question. I was getting a stack overflow at runtime because of the polymorphic hierarchy and was not using @ExtraTypes. My hierarchy was 3 levels deep. Top level is GenericType, next level is CategoryType and EventType, and next level is four subtypes of CategoryTy

Re: WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

2013-06-14 Thread QingFeng Du
well well, 4 years later, I came across the same problem. here's my solution: open regedit.exe ( really hate Microsoft and their regedit.reg). change the permission of key: HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft.Right click the icon, then change the permission to full operation. On Saturday, J