GWT js for Windows10 Universal Apps?

2015-05-02 Thread darkflame
Just wondering, anyone got any idea if GWT could be used to make Windows10 desktop apps? From what I can make out it seems Universal Windows apps can be written in Javascript/html and Microsoft has some javascript lib (WinJS https://dev.windows.com/en-us/develop/winjs?) to access desktop

Creating CSS Animations dynamically?

2015-01-03 Thread darkflame
I have an engine I was making that requires scrolling a large scene amount. I have had this working with gwt for awhile, but recently spotted I can scroll it much smoother by CSS. I guess the browser is more optimised then my code for this, and as a side-effect I can easily play with ease-in

Re: Performance impact of Focus panel with no handlers?

2015-01-03 Thread darkflame
Thanks for the info. I removed them it was pointless having them as I don't need access keys for those elements. I think I got a slight performance boast, but I changed a few things at once so hard to tell definitively. Still, similar page is probably always good. On Tuesday, December 30, 2014

Re: GWT for Web Development (again)

2014-12-30 Thread darkflame
It might be possible for GWT to make it easier to burn out pages I guess, not sure of the precise method or convenience factor it would add. Youd still need to somehow get the sever to then send out those static html pages. Probably need something like the javascript burns a copy of the html,

Performance impact of Focus panel with no handlers?

2014-12-30 Thread darkflame
I made a game engine that used a lot of focus panels on an absolute panel. - essentially everything on the panel is within a focus panel in case in needs pointer interaction. The absolute panel they are on is bigger then the screen and can move. umm...was this me being an idiot? If theres a

Re: What is planned release date for GWT 2.8 (with lambdas) ?

2014-12-30 Thread darkflame
Is GWT2.8 set to support IE11 with a specific permutation? I ask because theres still silly issues in IE like this one; https://code.google.com/p/google-web-toolkit/issues/detail?id=9025 Easy to work around so not a big deal specificly, but still crazy something so basic as retrieving a style

Anyone else get hourglass flickering in IE11?

2014-12-22 Thread darkflame
GWT2.7, IE11, Windows7. Unfortunately I was foolish enough to leave detailed IE testing till late in the project. Everything works fine on other browsers, but IE11 I get a strange flickering hourglass. That is, the cursor flickers between a normal mouse and an hourglass as it moves over the

Re: ie10 permutation causing browser errors? (gwt 2.6.1) really baffled here.

2014-10-28 Thread darkflame
Doesn't solve all the mysteries but until ie11 is correctly supported meta http-equiv=X-UA-Compatible content=IE=10 does the job for nowish The GWT code loads, but some page elements were using features only supported on ie11 (CSS borders, for example). I don't suppose theres some hybred

ie10 permutation causing browser errors? (gwt 2.6.1) really baffled here.

2014-10-02 Thread darkflame
If I want my GWT2.6.1 application to compile to ie10, this is correct isn't it; set-property name=user.agent value=ie8,ie9,opera,gecko1_8,safari,ie10 / ? Because my app is producing this bizarre error in ie10; SEVERE: Exception caught: (TypeError) description: Object doesn't support

Gwt 2.6 + Opera(/presto) how to enable support?

2014-01-29 Thread darkflame
I think Gwt2.6 no longer does a Opera permutation by default.how do I re-enable it? I'd like to at least support Opera for awhile longer, as their new WebKit(/Blink) version still isn't a default update due to lack of feature support. Might be a low userbase, but Id still rather now break

Switch on String shouldn't this work in GWT 2.6 / Java 7 ?

2014-01-28 Thread darkflame
Something like ; switch (book) { case Harry Potter: break; case Hitch Hikers Guide To The Galaxy: break; Should now work with the latest GWT from here; https://code.google.com/p/google-web-toolkit/downloads/list Correct? Because I am still getting a[ERROR] Line 1971: Cannot switch on a

DeckPanel inside a FocusPanel - click handlers don't fire if DeckPanel is cycling over its widgets?

2014-01-08 Thread darkflame
I am using a DeckPanel to simulate a sprite animation. The images are runtime specified, so ImageBundles cant be used, and SetURL is too slow. Flicking over elements in a DeckPanel seems to result in a smooth animation, however, I am having trouble recieving clicks on the panel. DeckPanel

using applyto() with a Composite initWidget(Image);

2014-01-06 Thread darkflame
Pre-amble: I have been using an AnimatedIcon class I made myself for a few years now. It extended Image and had two constructors; 1. Takes an ImageURL and a number of frames, and use's setURL to cycle over them (foo1.png,foo2.png etc) 2. Takes a AbstractImagePrototype[] and uses applyto(this)

Re: using applyto() with a Composite initWidget(Image);

2014-01-06 Thread darkflame
Ah, it seems; imageContents = SetFrames[0].createImage(); initWidget(imageContents); Fixs the problem. Interesting...applyTo() doesnt work on a image thats created ( = new Image() ) but not set? On Monday, January 6, 2014 3:49:51 PM UTC+1, darkflame wrote: Pre-amble: I have been using

Get font-family from external css?

2013-11-22 Thread darkflame
Is it possible to get the font information set by a Class (ie, not on the element directly). I assume it can be done by looking at the Css file and sort-of parsing it for the information needed.but this seems a bit of a thudge. Is there a better method? Background; I would like to get the

How to change gwt.imageResource.maxBundleSize ?

2013-10-30 Thread darkflame
I need to change the system property gwt.imageResource.maxBundleSize to 1000. How would I do this? The property exists as I see it here; https://code.google.com/p/google-web-toolkit/source/browse/releases/2.5/user/src/com/google/gwt/resources/rg/ImageBundleBuilder.java#471 Yet I cant figure

Slow down animation on DisclosurePanel?

2013-10-29 Thread darkflame
I simply wish to slow down the open/close animation on a DisclosurePanel. Any ideas how to do this? I see; private static final int ANIMATION_DURATION = 350; in the class. But the class cant be extended for some reason, so is there alternatives/workarounds? Thanks, Thomas -- You received

How to change a variables value from a array? (is it even possible?)

2013-01-29 Thread darkflame
This is a little confusing question to express, its probably more Java then gwt specific, but given that gwt is really javascript, I am not quite sure what domain it falls under. So ArrayListObject fieldList = new ArrayListObject(); I then dump a lot of different variables to this array.

Re: Some of my images arnt being turned into image strips :?

2013-01-20 Thread darkflame
to be the case. Even without my specific problem, I am pretty sure many small images would get converted to DataURLs no? On Jan 8, 3:54 pm, darkflame darkfl...@gmail.com wrote: Still no luck. If it helps diagnose I can supply sample images. On Saturday, December 29, 2012 11:31:06 PM UTC+1

Re: Some of my images arnt being turned into image strips :?

2013-01-20 Thread darkflame
. */ Good luck On Sunday, January 20, 2013 1:30:05 PM UTC-2, darkflame wrote: I'm starting to think...unless I am doing something stupid...this is a GWT error. At the very least the behavior contradicts the documentation: The ClientBundle generator combines all of the images defined in your

Re: Chrome 24 and GWT

2013-01-20 Thread darkflame
Just to confirm/clarify this problem as I found it today. PopupPanel test = new PopupPanel(); test.add(new Label(test)); test.setAnimationEnabled(true); test.center(); Is all it takes to reproduce it for me. Animation seems to

Re: Some of my images arnt being turned into image strips :?

2013-01-08 Thread darkflame
Still no luck. If it helps diagnose I can supply sample images. On Saturday, December 29, 2012 11:31:06 PM UTC+1, darkflame wrote: ...and thus are rather flickery when animating between them. (they are frames in a animated sprite). What baffles me is they are defined the same way as others

Re: GWT - Crawlable (SEO)

2013-01-08 Thread darkflame
I can only comment how I did it; Googles bot will read any url in the form: #!key1=value1key2=value2 As: ?_escaped_fragment_=key1=value1%26key2=value2 Thus I built a php version of my site that delivered the same content without the need for JavaScript. By using escape fragments the same

Some of my images arnt being turned into image strips :?

2012-12-29 Thread darkflame
that animates really smoothly. I have another group of sprites however: public interface NoirInternalSprites extends ClientBundle { @Source(com/darkflame/client/JargScene/firelopp/fireloop0050.png) ImageResource fireloop0050(); @Source(com/darkflame/client/JargScene/firelopp

Re: GWT Crawlable (SEO)

2012-12-29 Thread darkflame
I solved this by effectively having a crudely laidout, but text/ content identical php system that gives the content when javascript isnt present and a ?_escaped_fragment_ url is given. As a bonus to making my site crawlable, this also makes it usable(ish) for those without javascript on. On Dec

Re: Clearing Browser cache for upadated deployments

2012-12-29 Thread darkflame
Remember if using crome with the inspector open, holding down the reload button gives a option to clear cache/hard reload. VERY usefull, yet hidden feature. On Dec 21, 4:54 pm, Thomas Broyer t.bro...@gmail.com wrote: On Friday, December 21, 2012 12:03:30 PM UTC+1, Marco wrote:

Re: Wishlist - What GWT developers want for Christmas

2012-12-15 Thread darkflame
I was unable to find anything generic - I needed to pick an OAuth (OpenID was out of the question, unfortunately) Just curious here as to why? As a developer I often wondered why OpenID has such a slow takeup relative to Facebook logins. I have only ever used a OpenID implementation myself for

Re: Lienzo is now GA and it's Pixel Perfect!

2012-12-15 Thread darkflame
Just had a quick look at the Explorer examples, some really nifty stuff there! Too late for us to implement into our current project, but fantastic work! On Dec 14, 7:11 pm, Alfredo Quiroga-Villamil laww...@gmail.com wrote: All: Just a quick announcement letting everyone know that Lienzo is

get x/y of mouse click relative to a Dom mouse event.

2012-12-02 Thread darkflame
I have some rather complex click handling code on a widget that has the following sort of structure: @Override public void onBrowserEvent(Event event) { event.cancelBubble(true); event.preventDefault(); switch (DOM.eventGetType(event)) {

Re: Future of GWT survey

2012-12-02 Thread darkflame
Id be interested too. GWT is so interesting, as a small team it has let us do so much so much easier. Its hard to say where to draw the line in regards to features and what is core Id like too see WebGL support at some point - possibly via a canvas- esq widget. But how to do this in a

Re: get x/y of mouse click relative to a Dom mouse event.

2012-12-02 Thread darkflame
you use Event.getCurrentEvent() instead of the 'event' argument? You could also simply addClickHandler (or addDomHandler for ClickEvent.getType()) instead of overriding onBrowserEvent. On Sunday, December 2, 2012 2:06:34 PM UTC+1, darkflame wrote: I have some rather complex click handling

List all the strings and ints in a class?

2012-10-19 Thread darkflame
I am looking to make a little debugging widget for my (rather complex) app. It would be helpfull if I could construct something that would look at a class and display all its data. I can handle the GUI side of it easily enough..but Java wise I don't know where to start or if its even possible

GWTRuby? How to communicate?

2012-09-22 Thread darkflame
I am a prettyy experienced GWT developer, but have no knowledge of Ruby...has anyone used them together? I am on shared hosting which doesn't support servlets, so my only server side options are php or ruby. Id normally use php, but ruby seems to have a better supported lib I want to use for

Re: How is Math.Random emulated? and how good is it?

2012-01-14 Thread darkflame
GWT's emulation does is natively call the javascript Math.random(). On Jan 11, 3:02 am, darkflame darkfl...@gmail.com wrote: I have been playing about drawing fractals in GWT using canvas and the ¨ chaos game¨ method. However when picking large amounts of random numbers I seem

How is Math.Random emulated? and how good is it?

2012-01-11 Thread darkflame
I have been playing about drawing fractals in GWT using canvas and the ¨ chaos game¨ method. However when picking large amounts of random numbers I seem to be getting a bias. That is, the randomness doesn't seem evenly distributed. I have read many sources online that say that Javas normal

Re: GWT cross-domain requests works in Chrome/FF, fail in IE/Opera

2012-01-11 Thread darkflame
I dont know about IE, but try Opera12 as cross-domain support via CORS was only added on that version. On Jan 10, 8:23 pm, ussuri michael.glas...@gmail.com wrote: Hello! I serve my gwt-based app from Google AppEngine from myapp.appspot.com - both the script (GWT) and data (XMLHTTPRequest

Re: Opera 11.60 + GWT 2.4.0: Code load failed!

2011-12-07 Thread darkflame
I'm using Opera 11.6 as my main browser (WinXP) and https://groups.google.com/forum/ seems to work fine for me. Something rather strange must be happening on your system I think. Maybe something is wrong with the linux version of Opera? I can try that later. On Dec 6, 5:01 pm, Michael

Re: Basic MDI (Multiple Document Interface) question

2011-12-06 Thread darkflame
I dont use a completely full windowing system as such, but my review website does use extensive popups to enter data while still looking at other information if you wish. It does this more or less exactly as you suggested, decorated popups containing composites. The only modifcations I did was to

Re: ClientBundle not able to set background image

2011-11-22 Thread darkflame
ImageSource? Isnt it supposed to be ImageResource? On Nov 22, 7:37 pm, Deepak Singh deepaksingh...@gmail.com wrote: Hi, GWT 2.4 html contains one div as written below div id=topbar style=background-image:url(images/top-bar-2.png);background-repeat: repeat-y;/div Now i need to replace

Re: I can't get RichTextAre OnPaste Event hooking|sinking to work?

2011-11-18 Thread darkflame
Funny, thought I replied to this :-/ Anyway, fantasic work. I did a quick implementation in my app and found the following: Chrome - works flawlessly. At least data cut and paste from open office is stripped clean nicely. Firefox - as expected, workaround needed. Opera - unfortuntely data isnt

Re: I can't get RichTextAre OnPaste Event hooking|sinking to work?

2011-11-02 Thread darkflame
Fantastic work! I cant try it out right now, but I've bookmarked for later. This is going to be VERY usefull. You might also have been the first guy online to work this out based on my (long) Googleing on this over the last month or so ;) On Nov 2, 3:33 am, Brandon Donnelson

Re: I can't get RichTextAre OnPaste Event hooking|sinking to work?

2011-10-31 Thread darkflame
I was trying to work this out a few months back but gave up. If anyone has a answer Id be interested too hear as well. I suspect somehow you have to tie it to the inner iframes DOM, but I dont know how to do that. (in fact, not even sure if you can get the inner DOM of a iframe :-/) On Oct 30,

Re: Drag drop

2011-10-31 Thread darkflame
Strongly second gwt-dnd. Its excelent, very very flexible and works well. I have worked on two rather massive projects which used it for a (game) inventory system and it really saved a lot of work. We even have used it to have dragging and dropping accross multiple inventorys. Not sure exactly

Swapping an image at runtime....possible without setUrl?

2011-10-31 Thread darkflame
I have some animated sprites (which extend image) where the images are loaded at runtime (so no ImageBundles), and I wondered whats the best way to animate the images. Precacheing the images and using setUrl does work. But I cant help feeling it would be better to store the images in an array

Re: future of gwt who use gwt

2011-10-31 Thread darkflame
For the original posters question of GWT applications out there, I can offer two of my own modest pieces of work http://www.rateoholic.co.uk (A website for reviewing stuff, the whole interface is GWT with a MySQL/PHP backend) http://www.cuyperscode.com/cuyperscode/CuypersCode2/CCIIstart.html (A

Re: I can't get RichTextAre OnPaste Event hooking|sinking to work?

2011-10-31 Thread darkflame
As I suspected, your trying to solve the exact same problem I had. People pasteing from Word into my app produced a crazy amount of junk formating I wanted to get rid of ;) I managed to deal (more or less) with it in normal TextBox's, but not RTF. Btw, if you run into an Opera compatibility

PatternSyntaxException? GWT has matchs but no exception for it :?

2011-10-18 Thread darkflame
I'm a little confused. I know GWT doesnt emulate the Regex class in full, but we can use String.matches with Regexs (as long as we remember its javascript style and not java style). However, the .matches is supposed to throw PatternSyntaxExceptionyet that results in a compile error. No

Re: Is it possible to have a div overlay something, but not catch the clicks (ie, transparent to clicks?)

2011-10-14 Thread darkflame
checking all the elements, their co-ordinates, and calculating mouse over/out/click events myself. Surely theres an easier method? Thanks, Thomas On Oct 10, 1:16 pm, darkflame darkfl...@gmail.com wrote: hmz...something to keep an eye on, but sadly IE and Opera dont support it yet;http

Re: Is it possible to have a div overlay something, but not catch the clicks (ie, transparent to clicks?)

2011-10-14 Thread darkflame
I found this; http://www.vinylfox.com/forwarding-mouse-events-through-layers/ It seems the agreed way to do this at the moment. I only hope its adaptable to GWT :-/ On Oct 14, 3:12 pm, darkflame darkfl...@gmail.com wrote: Still struggleing with a solution for this. My knowledge of event

Re: Is it possible to have a div overlay something, but not catch the clicks (ie, transparent to clicks?)

2011-10-14 Thread darkflame
. Document has createClickEvent but nothing thats just createEvent. If I just parse the event on without copying I get a EventException.DISPATCH_REQUEST_ERR (1) error. On Oct 14, 3:37 pm, darkflame darkfl...@gmail.com wrote: I found this;http://www.vinylfox.com/forwarding-mouse-events-through

Re: What GWT designer is for?

2011-10-08 Thread darkflame
For your second question, you basicly make a new composite widget with Designer, and then call it as the contents of a Popup widget. Something like; PopupPanel testPopup = new PopupPanel(); Label testContents = new Label(This popup had a label as its contents, but you can put any widget here!

Is it possible to have a div overlay something, but not catch the clicks (ie, transparent to clicks?)

2011-10-08 Thread darkflame
I suspect the answer here might just be no, but before I do anything too eleborate I thought Id ask. Basicly I have a page with a lot of widgets, imagine if I wanted to tint the screen slightly - for example a 50% blue overlay. Yet I still want the widgets all clickable/interactable as normal. I

Re: GWT Slider

2011-10-08 Thread darkflame
I made use of this one; http://code.google.com/p/sphgwt/ But I cant remember where I actualy downloaded it now :-/ On Oct 7, 10:21 pm, mkn m.kho...@gmail.com wrote: Hi I need for a project a slider (an important requirement). Therefore I tested the following sliders: -SmartGWT = there is a

Re: Detecting ONPASTE on a richtextbox? (possible?)

2011-09-27 Thread darkflame
://groups.google.com/group/google-web-toolkit/browse_thread/threa... related issue:http://code.google.com/p/google-web-toolkit/issues/detail?id=4030 same question:http://groups.google.com/group/google-web-toolkit/browse_thread/threa... On 4 sep, 21:01, darkflame darkfl...@gmail.com wrote

Why is my Inherits causing all the inherited module to run its onModuleLoad? :?

2011-09-21 Thread darkflame
I was simply trying to reuse code from one project in another. I've done this many times before, by simply adding the project to the build path in Eclipse. This normally has worked fine - I can use widgets and code from the other projects just fine. It compiles fine. Interestingly, I have never

Re: Why is my Inherits causing all the inherited module to run its onModuleLoad? :?

2011-09-21 Thread darkflame
need an entry point. 2011/9/21 darkflame darkfl...@gmail.com I was simply trying to reuse code from one project in another. I've done this many times before, by simply adding the project to the build path in Eclipse. This normally has worked fine - I can use widgets and code from

Re: GWT and social networks

2011-09-08 Thread darkflame
Depends how much functionality you want. If you just want a facebook share, you could have; Window.open(http://www.facebook.com/sharer.php?u=+url, _blank,); Where url is the link to be shared. Then just trigger that on a button on your app. (which you could make to look like a facebook

Re: What about non Javascript sites?

2011-09-06 Thread darkflame
It pretty much has to be seperate. A lot of people have to do this merely for search engine reasons (that is, dynamic content using # isnt well handeled by crawlers - assuming they handel javascript at all, which most dont). The typical way is to make a basic PHP based site which GWT provides a

Re: Good way to strip a string of tags?

2011-09-04 Thread darkflame
oh, put it in a HTML object and use getText...that was simple ;) On Sep 4, 1:42 am, darkflame darkfl...@gmail.com wrote: Sorry if this is already covereddidnt have much luck searching. I need a way to return a simple plane text version of a string that may or may not contain other

Detecting ONPASTE on a richtextbox? (possible?)

2011-09-04 Thread darkflame
Is it possible to detect a onpaste event in a richtextbox? I followed this method here for a textbox; http://groups.google.com/group/google-web-toolkit/browse_thread/thread/f8fb744fd4e0614a/0d02b5302194d55c (basicly just extending a richtextbox instead) Nothing seems to fire though in Chrome.

Good way to strip a string of tags?

2011-09-03 Thread darkflame
Sorry if this is already covereddidnt have much luck searching. I need a way to return a simple plane text version of a string that may or may not contain other formatting. Ideally this would cover formatting from a RichTextBox, HTML tags or something pasted in from Word. Basically anything

SuggestBox popup Z-Index issue (appears behind everything)

2011-08-15 Thread darkflame
It seems this issue is still present; http://code.google.com/p/google-web-toolkit/issues/detail?id=1351 Using a SuggestBox in a composite which has had a zIndex value set means the popup of the suggestions appears behind everything else. (no Index seems to be set at all on the popup). So I

DisclosurePanelImages alternative?

2011-07-30 Thread darkflame
DisclosurePanelImages is depreciated, so I wondered whats the correct method for getting to the Disclosure panels default images? (for, say, making a custom header) My old code was; final DisclosurePanelImages dpimages = (DisclosurePanelImages)

After using Context menu, how to trigger the browsers default one? (on, say, an image)

2011-07-25 Thread darkflame
I was using this bit of code I found to detect a right click action on a widget; @Override public void onContextMenu(ContextMenuEvent event) { event.stopPropagation(); //This will stop the event from being propagated to parent elements. event.preventDefault(); // because cancelBubble(Boolean)

Re: Making the Slider Bar included in the Google Web Toolkit Incubator Vertical

2011-07-25 Thread darkflame
This would be very nice, but I think impossible with the current implementation. You could try this one; http://code.google.com/p/gwt-slider-bar/ But that gave me problems when I used it. Really GWT needs its own native slider class, seeing as Incubator is depricated. On Jul 24, 12:45 am,

GWT on Netfront? (PS3/PSP/And the new Nintendo 3DS Browsers...)

2011-06-07 Thread darkflame
Anyone got GWT to run on Netfront browsers? I found a few messages from 2009, and you seem to have to trick gwt into thinking the user-agent is for something else as theres no explict support - however the best way to do this and what browser is the closest match seems a open question. Anyone had

Building with ant + using gwt-maps.jar?

2010-11-13 Thread darkflame
I've been working with GWT for a few years now, but always straight from eclipse. I never needed to touch the build.xml myself, and I know nothing of ant. :( Now I'm trying to compile a rather complex webapp from the command prompt. (its actualy the google wave simple web client). ant

Difference's in Client Bundle behavior? (much slower? produces lots of jpg's as well on compile?)

2010-10-02 Thread darkflame
I recently tried switching over from Image Bundle to client bundle, and am not sure if the behavior I'm seeing is intentional or not, so some confirmation would be nice; a) Is ClientBundle significantly slower then ImageBundle? Specifically at changing images (applyto). Whereas before I was

Re: Difference's in Client Bundle behavior? (much slower? produces lots of jpg's as well on compile?)

2010-10-02 Thread darkflame
to make for the new ClientBundle, fair enough, I can see other adventures of the new system. But then, should ImageBundle really be depreciated if it still had a significant advantage in some areas? --- On Oct 2, 7:19 pm, darkflame darkfl...@gmail.com wrote: I recently tried switching over from

getConstructor alternative? or how to pass and use a class in another?

2010-09-29 Thread darkflame
If I want a class to be able to create new objects of another type parsed to it, how would I do that? The parsed class's would need to take perimeters. In the specific case I'm using they would all be different types of popups, given a string of text to display in different ways. I could probably

Re: Manually fire a mouseout event?

2010-08-28 Thread darkflame
, yourWidget); 2010/8/27 darkflame darkfl...@gmail.com How would I manually fire a mouseout event? I've tried a few things, but I'm clearly not hitting the mark; //closeIcon.fireEvent(GwtEventMouseOutHandler); //DomEvent.fireNativeEvent( MouseOutEvent.getType(), (HasHandlers

Manually fire a mouseout event?

2010-08-27 Thread darkflame
How would I manually fire a mouseout event? I've tried a few things, but I'm clearly not hitting the mark; //closeIcon.fireEvent(GwtEventMouseOutHandler); //DomEvent.fireNativeEvent( MouseOutEvent.getType(), (HasHandlers)closeIcon); //MouseOutEvent.fireNativeEvent(nativeEvent, closeIcon);

Re: GWT Flash Killer (beta)

2010-08-27 Thread darkflame
Very impressive indeed. (A little cheeky too with some of it being very close to Flash's interface). Got a long way to go, but if anything is a flash killer an online creator like this will be. I can just imagine a fully developed version of this, hocked up to a site like Newgrounds. Could catch

System.getProperty(line.separator) replacement/equivalent?

2010-08-06 Thread darkflame
I wish to find the indexOf a new line in a large string and not sure how to do it in a cross-platform way neatly. I'll be iterating over the string doing this a lot, so I'd rather use a proper method rather then hacking something together. Normally I could use System.getProperty(line.separator)

Re: Another Ajax Crawling question, is #! acceptable rather then just #! ?

2010-08-06 Thread darkflame
=myhistorytoken. Can you give an example (complete fake URLs, like I did above) to illustrate the problem you're seeing?  That would be helpful. Thanks, kathrin Short answer is I don't think you should use #!. On Sat, Jul 24, 2010 at 12:27 PM, darkflame darkfl...@gmail.com wrote

Re: System.getProperty(line.separator) replacement/equivalent?

2010-08-06 Thread darkflame
, then i would detect it on the server and either translate it or make a way to return the information to the browser (RPC?). On Aug 6, 11:18 am, darkflame darkfl...@gmail.com wrote: I wish to find the indexOf a new line in a large string and not sure how to do it in a cross-platform way

Anyone know of any Android History token problems?

2010-08-05 Thread darkflame
I've noticed the browser on my Android phone doesn't seem to fire some history events for my little online game; http://lostagain.nl/Jarg%20Demo/AMemorableDay/AMemorableDay.html (In a desktop browser like Chrome or Opera clicking the links is exactly like entering text in the box, but on my HTC

Re: GWT is it fully compatible with ie6 ?

2010-08-05 Thread darkflame
GWT does an amazing job with IE6 compatibility. It irons out most of the browser differences completely. For the most part things just work. Don't expect performance very good though. Also, I have had problems with using hash tags in iFrames under IE6, but thats not really gwt's fault. On Aug 5,

Re: Wave Demise.........sad day for GWT

2010-08-05 Thread darkflame
The sad part is, its the Wave Federation Protocol that was the big thing and the real alternative to Facebook. I worry now is that we might well get a rebranding Buzz in a few years, but the hopes of an open decentralized system are just gone. Email will be all we ever have. I do appreciate a lot

Re: GWT is it fully compatible with ie6 ?

2010-08-05 Thread darkflame
Put it this way, I very rarely have to browser sniff in my code, and I've done some fairly extensive gwt products that run on IE6. I think your underestimating just how much it compensates for ie's problems, even with normal widgets. While you can certainly manually take advantage of Deferred

Re: Another Ajax Crawling question, is #! acceptable rather then just #! ?

2010-07-24 Thread darkflame
are talking about Google Webmaster Tools. ( != GWT = Google Webtool Kit) Stefan Bachert http::/gwtworld.de Inquiries for professional GWT support are welcome. I am sorry, I won't do free personal support. On 23 Jul., 15:59, darkflame darkfl...@gmail.com wrote: (of course, Id have to code my

Another Ajax Crawling question, is #! acceptable rather then just #! ?

2010-07-23 Thread darkflame
Ive noticed that if I change my links to just #! google interprets them as; _escaped_fragment_= Which is how its documented. However, this means a php $_GET command cant read the first key/value listed. So; $_GET['DisplayReview'] returns as empty if the url is, say, ?

Re: Another Ajax Crawling question, is #! acceptable rather then just #! ?

2010-07-23 Thread darkflame
(of course, Id have to code my gwt java to remove the from the history string before processing) On Jul 23, 3:54 pm, darkflame darkfl...@gmail.com wrote: Ive noticed that if I change my links to just #! google interprets them as; _escaped_fragment_= Which is how its documented. However

Re: A couple of (probably) simple questions about using _escaped_fragment_ / ajax crawl-able.

2010-07-19 Thread darkflame
that this is the correct way to do it. -Rob On Jul 17, 8:12 pm, darkflame darkfl...@gmail.com wrote: Thanks for both your help I'm almost there now. The  $param= $_GET['_escaped_fragment_']; worked fine, now the rest of my php works. One other query, however; What should the links generated

Re: A couple of (probably) simple questions about using _escaped_fragment_ / ajax crawl-able.

2010-07-17 Thread darkflame
stuck to just using ? then it would make the site browsable for people with JavaScript turned of too. -Thomas On Jul 14, 10:05 am, RPB robbol...@gmail.com wrote: Hi darkflame, Not sure I fully understand your second question, but you should be able to just use $param= $_GET

A couple of (probably) simple questions about using _escaped_fragment_ / ajax crawl-able.

2010-07-10 Thread darkflame
a) As my server doesn't support server-side java, I'll be using php to generate the static/snapshot pages. How close do they have to be to the proper/GWT ones? Is it good enough if the text and links are exactly samebut not the images/layout? I dont want to be accused of spoofing, but

Best way to use Microdata in webpages generated by GWT?

2010-03-15 Thread darkflame
I was the recent google blog post about them now supporting this in their search results. http://www.google.com/support/webmasters/bin/answer.py?answer=146645 As I'm making a review website I thought it was a good idea to add this sort of metadata. Only I'm not sure of the best type to use, and

Re: our company is considering to use GWT

2010-02-23 Thread darkflame
I think he meant response time between reporting a potential bug, and getting it fixed. (or feedback for a workaround) On Feb 23, 5:03 pm, Anoop John anoopjoh...@gmail.com wrote: Thats good. GWT is the best way to develop the high speed web application. 1) Its response time is very less,

Dialog/Popup Panel + Firefox = broken scroll (old bug...is there a new workaround?)

2010-02-23 Thread darkflame
Ive recently come accross this issue; http://code.google.com/p/google-web-toolkit/issues/detail?id=399 Seems quite an old issue, but its still there...even in the kitchen sink. However, I cant get the discribed work-around to work, I think because the Dialog Box class has changed since 2007. Any

Is it possible to detect if a popup (opened by Window.open(..) ) has been closed?

2010-02-01 Thread darkflame
I'm integrating a OpenID system into my site, and for part of it, I'm triggering a popup to login to various openID providers. This popup is opened by a simple; Window.open(url, _blank, menubar=1,resizable=1,width=480,height=400); Is it possible to know when the user close's this popup? Either

Re: Is it possible to detect if a popup (opened by Window.open(..) ) has been closed?

2010-02-01 Thread darkflame
thanks, but I'm affaird I wasn't clear enough :( I meant a popup window, not a popup panel. (that is, an actual separate browser window triggered by a Window.open), and not a internal PopupPanel within the same window. Sorry for the confusion. On Feb 1, 1:42 pm, mariyan nenchev

Re: Is it possible to detect if a popup (opened by Window.open(..) ) has been closed?

2010-02-01 Thread darkflame
For other peoples reference I found a solution/work-around; Triggered from the popup window itself, I added code that could communicate back to that which opened it. Native javascript like this would trigger the history; window.opener.location.hash = meep2; Or something like this to trigger a

Trouble emulating a form in GWT with submit as a hidden field name (cause's crash..possible bug?)

2010-01-28 Thread darkflame
I'm trying to emulate a forms exact behavour in GWT. According to firebug, the form gives of the following parameters and values; action =verify openid_submit= Login openid_url = https://www.google.com/accounts/o8/id (that one varies, obviously) openid_username = submit = 1

Re: ImageBundle and dynamic content

2010-01-28 Thread darkflame
No, I dont think it is. Unless the 2.0 release added that ability, as I havnt looked fully into the new resource handling. Previously it definitely was only a compile-time operation though. On Jan 27, 7:21 am, Rafael rabelan...@gmail.com wrote: Hi, I have a question about the ImageBundle class.

Re: Detect when frame is loaded

2010-01-28 Thread darkflame
I dont think theres any neat way, but I -think- the two options you have are; a) Place some code in the loading page that will communicate back to the parent when done. (I had to use this recently) b) Work out some element in the child that will load last, or will have a certain property after

Re: GWT web application with multiple pages

2010-01-28 Thread darkflame
Do you really need multiple webpages though? Can't you have it all on the same webpage, but using a deck panel; http://examples.roughian.com/index.htm#Panels~DeckPanel Each page of the deckpanel can have your different screens on it, then you can flick between them fairly easily. On Jan 27, 5:59 

Re: Trouble emulating a form in GWT with submit as a hidden field name (cause's crash..possible bug?)

2010-01-28 Thread darkflame
, but apart from that great. Cheers for your help! :) On Jan 28, 4:04 pm, Thomas Broyer t.bro...@gmail.com wrote: On Jan 28, 12:32 pm, darkflame darkfl...@gmail.com wrote: I'm trying to emulate a forms exact behavour in GWT. According to firebug, the form gives of the following parameters

Re: Where to get started with GWT and Federated login? (php only)

2010-01-15 Thread darkflame
should this be what I'm using; http://code.google.com/p/gdata-samples/source/browse/#svn/trunk/hybrid ? On Jan 12, 7:04 pm, darkflame darkfl...@gmail.com wrote: I'm interested in adapting my site to work with a federated login system. (you can see a beta of my site here to get the general

Where to get started with GWT and Federated login? (php only)

2010-01-12 Thread darkflame
I'm interested in adapting my site to work with a federated login system. (you can see a beta of my site here to get the general idea; http://www_rateoholic.co.uk/test/Rateoholic/main/Rateoholic_Frame.html#titlepage ) Ive looked over the; http://code.google.com/apis/accounts/docs/OpenID.html

Easiest method to add a class to the bottom of a TagPanel?

2010-01-01 Thread darkflame
I wish to dynamically change a class in the bottom part of a Tag panel. (the bit that normally has gwt-TabPanelBottom). Any ideas? I tried navigating the dom but got rather confused. Basically I want to change the background behind it, without altering the background of a header. And I want to do

  1   2   3   >