public String getType ( ) { String mode = A . asString ( getAttributes ( ) . get ( "mode" ) , "badge" ) ; return mode . equals ( "edit" ) ? "text" : "hidden" ; }
Method added to prevent AngularFaces from setting the type