在哪里可以找到资源包

时间:2015-09-10 21:13:43

标签: jsp jsf

我正在看的JSP在顶部有这个标记

class MyNavigationController: ENSideMenuNavigationController, ENSideMenuDelegate {

    private let menuTableViewController = MyMenuTableViewController()

    override func viewDidLoad() {
        super.viewDidLoad()
        sideMenu = ENSideMenu(sourceView: self.view, menuViewController: menuTableViewController, menuPosition:.Left)
        //sideMenu?.delegate = self //optional
        sideMenu?.menuWidth = 180.0 // optional, default is 160
        //sideMenu?.bouncingEnabled = false

        // make navigation bar showing over side menu
        view.bringSubviewToFront(navigationBar)

        menuTableViewController.tableView.contentInset = UIEdgeInsetsMake(self.navigationBar.frame.height + self.navigationBar.frame.origin.y, 0, 0, 0)
    }

    override func viewWillAppear(animated: Bool) {
        super.viewWillAppear(animated)
        NSNotificationCenter.defaultCenter().addObserver(self, selector: "rotated", name: UIDeviceOrientationDidChangeNotification, object: nil)
    }

    override func viewWillDisappear(animated: Bool) {
        super.viewWillDisappear(animated)
        NSNotificationCenter.defaultCenter().removeObserver(self, name: UIDeviceOrientationDidChangeNotification, object: nil)
    }

    func rotated() {
        menuTableViewController.tableView.contentInset = UIEdgeInsetsMake(self.navigationBar.frame.height + self.navigationBar.frame.origin.y, 0, 0, 0)
    }

    // MARK: - ENSideMenu Delegate
    func sideMenuWillOpen() {
        println("sideMenuWillOpen")
    }

    func sideMenuWillClose() {
        println("sideMenuWillClose")
    }

    func sideMenuDidClose() {
        println("sideMenuDidClose")
    }

    func sideMenuDidOpen() {
        println("sideMenuDidOpen")
    }

}

使用它多次调用它:

<f:loadBundle basename="properties.marketing" var="marketID"/>

问题,我在哪里可以从第一个代码块中找到properties.marketing。

0 个答案:

没有答案