Tuesday 28 February 2012

Clean CSS Layout without HTML Table

body {
 padding: 0px;
 margin: 0px;
}

#header {
 position: absolute;
 top: 10px;
 left: 10px;
 right: 10px;
 height: 100px;
 overflow: hidden;
 background-color: yellow;
}

#side {
 position: absolute;
 top: 120px;
 left: 10px;
 bottom: 10px;
 width: 130px;
 background-color: orange;
}

#main {
 position: absolute;
 top: 120px;
 left: 150px;
 bottom: 10px;
 right: 10px;
 background-color: lightgrey;
}

Friday 24 February 2012

Unified EL

Unified EL 2.2 is part of JSR-245 MR2 (JSP 2.2) and therefore not included in Tomcat 6 nor Jetty 6.
EL 2.2 is part of Tomcat 7 and Jetty 7, but with a few manual steps, you can use EL 2.2 even in current containers.

Tuesday 21 February 2012

Eclipse Plug-Ins

Note: importing Maven projects in Eclipse: Maven > Update Project Configuration (Facet, Assembly ..)

Friday 3 February 2012

Flex & Spring

ChannelSets must be defined explicitly, e.g.:

    // Init channel sets using values from service-config.xml
    remotingChannelSet = new ChannelSet();
    remotingChannelSet.addChannel(ServerConfig.getChannel("my-amf"));
   
    pollingChannelSet = new ChannelSet();
    pollingChannelSet.addChannel(ServerConfig.getChannel("my-polling-amf"));