[luci] Field Validation question

George Sifnios gsifnios at gmail.com
Thu Sep 30 17:23:56 CEST 2010


Hi

I m playing around with Luci and OpenWrt lately and i m try to create a new
tab with some new functionality.

Everything works fine except from the validation of the fields. I thought
that having a valid scheme of the data

in the lib directory where the schemas are placed would be enough to get the
validation of the fields (integer , ipaddr4 etc)

However I can not work this out.

What additional code should I add to bind the models with the schema and get
the validation of the fields ?

Regards

G.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.subsignal.org/pipermail/luci/attachments/20100930/8e536c64/attachment.htm 


More information about the luci mailing list