Friday, December 9, 2016

Friday, June 24, 2016

Thursday, October 29, 2015

Setting width Inplace Component Primefaces

In an hour ago I have a  problem with inplace component then Aceh Gayo coffee was gave me the idea. taken from www.foodspotting.com There is no properties for setting width in inplace component, but if you look at html code that produced by primefaces you will find the span element for...

Saturday, October 10, 2015

Jsf, Getting url parameter value

Source image: wallpaperseries.com Good morning, people! Have you drink your coffee today? I'm drinking a cup of americano from nearby store. :) Let say you have to get param value in http://localhost:8080/apps/faces/test.xhtml?param=hello. All you need is just add view param in your xhtml...

Saturday, September 26, 2015

Securing Web Application in Tomcat 7 using jdbc realm and j_security_check

Use case :  a Web Application contains master and transaction modules. Those modules need to be secured using Admin role. Implementation :  Prepare database table, we can use either table or view. The following script is the minimum requirement, we can use either table and view. CREATE TABLE "USER_MANAGEMENT" ( "ID" NUMBER(5,0) NOT NULL ENABLE, "USER_ID"...

Wednesday, September 2, 2015