[luci] Simple form input on a CBI page

Deric Panet-Raymond dpraymond at satcomdirect.com
Thu Jan 8 22:51:04 CET 2015


We managed it figure this out, added a SimpleForm  to the page so we can manage the static content that’s not associated with the map there.

The return at the bottom returns both the SimpleForm and the Map, that’s what was hanging me up, I didn’t realise you could have both on the same page.


From: Deric Panet-Raymond <dpraymond at satcomdirect.com<mailto:dpraymond at satcomdirect.com>>
Reply-To: "luci at lists.subsignal.org<mailto:luci at lists.subsignal.org>" <luci at lists.subsignal.org<mailto:luci at lists.subsignal.org>>
Date: Thursday, January 8, 2015 at 4:13 PM
To: "luci at lists.subsignal.org<mailto:luci at lists.subsignal.org>" <luci at lists.subsignal.org<mailto:luci at lists.subsignal.org>>
Subject: [luci] Simple form input on a CBI page

I’m trying to add a simple text box input field with a button that calls a function which takes the value from the form field and runs it through some scripts on the box.  The output from those scripts is some entries in a UCI file I want to display with a simple tblsection on the same page.  Is this possible?

I’ve managed to get something working but I had to use the save & apply button which felt clunky, I’d really like to have a simple input box that I can control the width of and a button that executes my callback.

Thanks,
Deric.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsignal.org/pipermail/luci/attachments/20150108/973791b5/attachment.html>


More information about the luci mailing list