[luci] a validation problem

Jo-Philipp Wich xm at subsignal.org
Wed Feb 10 01:12:08 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

You can try to compare  self.section  against  d['.name']  in the
foreach() iterator callback, that should allow you to skip the range
belonging to the option the validator is called on.

~ JoW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktx+dcACgkQdputYINPTPNb8ACfXcwLNF7SNH7kYtI/8MfHX9WS
2QsAn0FYrIiSum5+axTnufLWHbwyokKV
=7JfA
-----END PGP SIGNATURE-----


More information about the luci mailing list