[luci] Third argument of Button taboption

Tek Wiz tx2023 at gmail.com
Mon Dec 16 11:39:48 CET 2013


What does the third argument of the Button taboption do?

    btn31 = s:taboption("general", Button, "btn31Lua")
    btn31.title      = translate("CS31")
    btn31.inputtitle = translate("Start")
    btn31.inputstyle = "apply"

    function btn31.write()
        luci.http.redirect(luci.dispatcher.build_url("admin", "system",
"services"))
    end

Is it that if you press one button with third argument "btn31Lua", then all
buttons with third argument "btn31Lua" are "pressed"?

Is this documented anywhere?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsignal.org/pipermail/luci/attachments/20131216/4a1adade/attachment.html>


More information about the luci mailing list