Thursday, April 28, 2011

swinghtmltemplate builder tool with groovy

I've just uploaded an updated version of builder tool for swinghtmltemplate project. Now it supports binding html form to groovy class.

This way you can create dynamic forms with custom logic in java (groovy actually) at runtime.





Animated screenshot is under cut

Tuesday, April 26, 2011

swinghtmltemplate builder tool

I've made a simple form editor for swinghtmltemplate project. It is available usung webstart from here.

webstart on google code

To keep webstart app on google code you can make the following trick:

1. create folder 'jnlp' on googlecode svn
2. check it out
3. copy all webstart files into checked out folder, add them to svn and commit
4. in the jnlp set codebase="http://application-name.googlecode.com/svn/jnlp/"
5. set mime-type property for jnlp file to the application/x-java-jnlp-file value. Without it browser will just show the content of jnlp file instead of opening it.

swinghtmltemplate 0.4 released

I've released version 0.4 of my swinghtmltemplate project.

This release includes new tag <ui:composition>, so it is possible to create templates for your forms. The example of usage can be found here.

Monday, April 25, 2011

dataTable usage

I've commited the wiki page with the description of usage. You can read it here.

This tag allows you to bind Collection of items to the JTable row, so adding and removing items will immediately update table's content.

Thursday, April 21, 2011

Beans binding with human face

In my previous article I've showed how to easily compose swing forms with html markup. Since that time my swinghtmltemplate library moved to version 0.3 with beans binding support. Here I'll show basic examples of using binding.

swinghtmltemplate 0.3 released

Happy to announce the 0.3 version of my swinghtmltemplate project.
New version includes beans binding support, new tags (dataTable, formTable etc), bug fixes.

Check documentation for this release here

You can download jars here, or you can use maven:


  
    com.googlecode.swinghtmltemplate
    swinghtmltemplate
    0.3
  



  
    swinghtmltemplate
    Swing html template repo
    http://swinghtmltemplate.googlecode.com/svn/maven-repository
    
       true
       never
    
    
       false
    
 

Wednesday, April 6, 2011

Maven repo for a googlecode's project

Here is the setup description (with wagon-webdav plugin), allowing to place maven repo on google's svn hosting.