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

enter image description here

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

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -