                 itemClass     : KDSelectBox 
                 type          : "select"
                 name          : "type"
-                defaultValue  : "JDatabaseMySql"
+                defaultValue  : "mysql"
                 selectOptions : [
-                  { title : "MySql",    value : "JDatabaseMySql" }
-                  { title : "Mongo",    value : "JDatabaseMongo" }
+                  { title : "MySql",    value : "mysql" }
+                  { title : "Mongo",    value : "mongo" }
                   # { title : "PostGre",  value : "JDatabasePostGre" }
                   # { title : "CouchDB",  value : "JDatabaseCouchDb" }
                 ]

  constructor:->
    super
    @account = KD.getSingleton('mainController').getVisitor().currentDelegate
    list = @getListView()

    list.registerListener

class AccountDatabaseListItem extends KDListItemView
  constructor:(options = {},data)->

    log "Create Item with Data", data

    options.tagName = "li"
    
    data.dbType   or= "mysql"
    data.color    or= if data.type == "mysql" then "yellow" else "green"
    data.title    or= if data.type == "mysql" then "MySql DB" else "Mongo DB"
    data.dbHost   or= "mysql0.db.koding.com"

    super options,data
    
