[webmin-devel] questions about module configuration

marty leisner <[email protected]> Sat, 12 Apr 2014 15:34:11 -0400
Newsgroups gmane.comp.web.webmin.devel
Message-ID <CAPNO-hamutgMKKrLiqAkN39RQv+vd+zt4NtvV+J4oy0FB_SZ7A@mail.gmail.com>
--===============5487688320846163816==
Content-Type: multipart/alternative; boundary=001a11c136a448d0b304f6dd8bf2

--001a11c136a448d0b304f6dd8bf2
Content-Type: text/plain; charset=ISO-8859-1

1) can "webmin accounts" be involved in the module configuration.
i.e. can "some accounts" which can run the module be selected to "edit" the
configuration.
Can this be on an "option by option" basis?

2) Are there hooks to having a "parser" when free-form text is submitted
(i.e. if you want a "number" between 10 and 100, something which "confirms"
the text field is a number and within bounds (i.e. after a submittal, a way
to run a parser function)

3) Is there a way to hook a function after the module editor is "completed"
so "something knows"
editing has taken place (before the actions on the module are run?)

Any examples which accomplish this (possibly in alternate ways) would be
appreciated.

I'm thinking of having the "editor" as a webmin action so I can control it.

marty

--001a11c136a448d0b304f6dd8bf2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div>1) can &quot;webmin accounts&quot; be involved in=
 the module configuration.</div><div>i.e. can &quot;some accounts&quot; whi=
ch can run the module be selected to &quot;edit&quot; the configuration.</d=
iv>


<div>Can this be on an &quot;option by option&quot; basis?</div><div><br></=
div><div>2) Are there hooks to having a &quot;parser&quot; when free-form t=
ext is submitted</div><div>(i.e. if you want a &quot;number&quot; between 1=
0 and 100, something which &quot;confirms&quot; the text field is a number =
and within bounds (i.e. after a submittal, a way to run a parser function)<=
br>

<br></div><div>3) Is there a way to hook a function after the module editor=
 is &quot;completed&quot; so &quot;something knows&quot;<br>editing has tak=
en place (before the actions on the module are run?)<br><br>Any examples wh=
ich accomplish this (possibly in alternate ways) would be appreciated.<br>

<br></div><div>I&#39;m thinking of having the &quot;editor&quot; as a webmi=
n action so I can control it.<br></div><div><br>marty<br></div>
</div>

--001a11c136a448d0b304f6dd8bf2--


--===============5487688320846163816==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
--===============5487688320846163816==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel

--===============5487688320846163816==--