Archive for the ‘web-design’ Category
Wednesday, February 28th, 2007
YUI has been my favorite AJAX library for two reasons: its unintrusiveness to the server side, and the excellent documentation. It is interesting and encouraging to see Yahoo offer free hosting for YUI. While there are obviously valid reasons for some sites not to use this service (external dependency etc.), the power of yahoo’s server facility, the advanced cache control, and the on-the-fly file size reduction (up to 90% according to the announcement linked) are in no doubt going to be very appealing to many others. more…
Posted in java, web-design | No Comments »
Thursday, August 17th, 2006
YUI Connection Manager throws this error when the ajax url passed to it is invalid (invalid as in, like, “I forgot to set the value!”). What makes it more obscure is it prints out the page url, which often looks alike, if not the same, the ajax url:
uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]” nsresult: “0×80070057 (NS_ERROR_ILLEGAL_VALUE)” location: “JS frame :: http://localhost:8080/myapp/foo.do :: anonymous :: line 0″ data: no]
Posted in java, web-design | No Comments »
Tuesday, July 11th, 2006
One AJAX page I’ve been playing with has this UI flow that emulates a desktop form dialog - the user clicks on a link, a modal dialog shows up with a usual form, which the user fills out and submits to the server. Now, a successful response from the server can be one of these: if there are any form validation errors, the response is the same form annotated with the error message(s), in this case the response should be used to refresh the dialog. If there are no errors, the dialog is closed, and the response from the server should contain some content to update the area above the original link the user clicked on. more…
Posted in java, microsoft, web-design | 3 Comments »
Sunday, June 4th, 2006
I’ve been using the Panel component in YUI(Yahoo UI Library) to build an AJAX page, which as part of the whole web application is wrapped by the standard boilerplate via sitemesh. It worked out all well and fairly straightforward - well, at least in Firefox and Opera, but in the dreaded, we-render-pages-with-lots-of-imagination IE 6, the panel showed up with a totally messed up layout, and worse, under the modal mode the entire page, including the panel itself, was masked with a 0.5 opaque layer and refused to take any input. more…
Posted in java, web-design | 2 Comments »
Thursday, April 20th, 2006
An IE quirks mode issue I ran into: more…
Posted in web-design | No Comments »
Wednesday, January 25th, 2006
For me, other than the browser supporting issues cited by Brennan, one major and (I think) fairly practical obstable to adopting XML Strict is the difficulty to pop up a new browser window, simply because the ‘target’ attribute is being phased out. Of course, we can work around it with some Javascript stunt, just like what I’ve been doing with this blog site (I was in this “I’ve got to be strictly compliant” mode when I was putting together this site), but it just feels a bit silly after all the hoops, doesn’t it?
Posted in java, web-design | 2 Comments »
Thursday, September 15th, 2005
meebo is an AJAX-based instant messenger a few guys just launched. It’s still in “alpha”, but the idea is cool (some idea can be not really new, but still cool, ok?
.)
Posted in fisheye, java, web-design | No Comments »