Monthly Archives: August 2008

Teaching an old Framework new tricks!

In summary, I want to discuss an alternative approach for developing a rich, dynamic UI using Struts1. The basic approach is: Java Object to JSON string JSON String consumed by Javascript Manipulate UI, update Javascript model On submit of form serialize Javascript model to JSON string Set value of hidden input to JSON string JSON string to Java Object on [...]
Tagged , , , | Leave a comment

Javascript getFirstDescendantBy()

Update – Jan 22, 2009 A new native YUI function is in the works, and does this job better Recently I was working on optimizing some javascript, and found a slow area that was trying to find the first focusable input in a certain area of the page, and it was taking anywhere from 100 – 500 [...]
Tagged , | 4 Comments