lua - Why luci can not execute dispatcher target for entry -
i new in luci/lua,work on luci 15.05-154-gb81a22b , lua 5.1 face problem execute view show me bellow error
controller syntax bellow
e=entry({"admin","network","macclone"},arcombine(template("admin_network/mac_clone")),_("macclone"),14) e.leaf=true
controller call view page.
view
<%# copyright 2008-2009 steven barth <steven@midlink.org> copyright 2008-2015 jo-philipp wich <jow@openwrt.org> licensed public under apache license 2.0. -%> <%-+header-%> <div id="cbi-network"> <h2>hello</h2> </div> <%-+footer-%>
view execute error
why error appear?how solve error?
note: header load necessary css files like:bootstrap
it says cant find template admin_network/mac_clone. need add model page mac_clone. change arcombine(template("admin_network/mac_clone"))
cbi("mac_clone")
Comments
Post a Comment