[luci] how to transform multi input to one uci cfgvalue

Michael Fung mike at cmsweb.com
Mon Feb 23 07:23:14 CET 2009


Dear All,


I have a config file which includes a time option:
config 'schedule' 'schedule1'
    option 'time' '16:55'
    option 'blah' 'blah...blah...'

config 'schedule' 'schedule2'
    option 'time' 02:00'    
    option 'blah' 'blah...blah...'

I want to use CBI form, with 2 input box, one for hour, one for minute. How can I do this? Which functions must I override? I cannot find similar example in the trunk so I ask here.


Thanks,
Michael



More information about the luci mailing list