May 2, 2008

One annoying problem with jquery, ui.dialog plugin and Firefox

I have run into a small problem with jquery, ui.dialog and Firefox 2. If you just use the example code and the default plugin theme (flora) you will see the problem with Firefox - the middle of the dialog is empty. With IE 6 everything is working just fine. I spent some time pushing my head, trying to solve the problem. And then I came across the solution – the example that comes with the ui.dialog. The only difference with my code was the body tag that has class property. Just a css issue, not a dialog problem.
Quite nasty thing, not a bug, but it is not pleasant to make everything from the documentation and don’t get it working.

Sweating on a Web 2 Application

Have you asked yourself what is a good Web 2 application? What should it contain and what can be permitted to the users. I am working on a private configuration application, and I want to make it really useful for the users. Not just fancy picture sliding with JavaScript, in the matter of facts I don't have any pictures, but I have a lot of fancy JavaScript. My own opinion is that Java is the maturest language/technology for this kind of task. Java with Hibernate, Struts or maybe Spring. And of course JavaScript(give me a brake) for client scripting. JavaScript with JQuery, Mootools, Dojo or GWT. My personal liking goes for Mootools, but JQuery is a little more professional.

Strange exception

There is a new cry topic in one of the development forums I read, that make me think about this problem of the tomcat application server. The problem is about ojdbc14.zip(or any zip) in a web application. The exception was

org.apache.jasper.JasperException: JDBC Driver class not found: oracle.jdbc.driver.OracleDriver

despite the fact that ojdbc14.zip was in the project lib directory. I've just remembered how much time I spent on a similar problem, so I send him my answer. The reason for this bug is that tomcat have problems with zip archives. Renaming to jar will fix it. I haven't tested if the latest tomcat have zip problem though.

Popular Posts