java
Vaadin 6.3 widget and GWT dev mode
Vaadin 6.3-pre1 is just around the corner, so I decided to give the package a try and make an own custom component which includes a client side widget. Then I'll do some debugging of the client side code.
Vaadin 6.3 includes GWT 2.0, so the old Vaadin 6.2 + GWT 1.7 way of using OOPHM does not work as is any more.
- My environment is:
- Mac OS X 10.5.8
- Java 5 or 6
- Firefox 3.5.8
- Eclipse 3.5 Galileo
- Vaadin Eclipse Plug-In (Experimental)
- Tomcat 6.0.20
Step-by-step how I did it:
Vaadin framework website released!
IT Mill Toolkit has been renamed to Vaadin and the new website has been released together with a preview version of the RIA framework.
If you're even slightly into Java-based developing of Ajax web pages, please check out this project since it might just make your life much easier. Especially if you make rich internet applications.
Check out the site: http://www.vaadin.com
Eclipse ${user} variable
I've grown tired of changing the template for my Eclipse projects which uses the built in ${user} variable while generating JavaDoc comments. Mostly this variable is not my real name and often not even a proper nick name, so I like to change it to be my real name.
So, by editing the eclipse.ini file and adding a flag
-vmargs ... -Duser.name=Jonas Granvik
I get this changed and now the ${user} variable is my real name instead of my user name which I logged in to the OS with.
Invalid <META> tag in Transformer output with Java
I have a Java String with some xml-formatted xhtml code. First I parse this into a Document with
public Document getDocumentFromString(String xml) throws SAXException, IOException, ParserConfigurationException { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); return db.parse(new InputSource(new StringReader(xml))); }