[luci] TypedSection :exclude not working

Michael Fung mike at cmsweb.com
Mon Feb 9 05:53:18 CET 2009


Hi all,


With reference to the document  "Writing LuCI CBI models", the :exclude("name") function does not work for me.

I tried: 
s:exclude("loopback")

The error is:
attempt to call method 'exclude' (a nil value)

Am I doing wrong? 

Also, I cannot find docs for the filter() and validate() function in the example. Must I use "filter" to replace the "exclude" function?


Rgds,
Michael


More information about the luci mailing list