﻿/*
 *  SFS JavaScript framework, version 2.0.0
 *  FileName SFS.Data.JS
 *  Copyright (c) 2008 Chuxuewen
 *  Date: 2008-09-24
 *  For details, see the Prototype web site: http://www.sfs-jfm.cn/
 *
 *--------------------------------------------------------------------------*/
 

Class("sfs.data.source", {//数据源

    url: null,

    name: null,

    params: null,

    mark: null,

    source: function () {
        this.params = [];
        this.onCallBack = new sfs.delegate();
    },

    open: function () {
        sfs.ajax.invoke(
            this.url, 
            this.name, 
            this.params, 
            this.onCallBack.execute.bind(this.onCallBack), 
            this.mark
        );
    },

    onCallBack: null

});

Class("sfs.data.list", {//列表
    list: function () {
        
    }
});