Using the documentation reference from here, I am trying to create a setup screen for my application which uses both the default end-points and some custom endpoints. I'm just getting started, but i have a few questions already.
handlerfile = MyApp_python_handler.py
admin.init(ConfigApp, admin.CONTEXT_NONE)
Are there some type of delimiter which tells the python interpreter that this is not part of the def handleEdit
from above? I'm not really accustomed to the python syntax as I come from the C# world.props.conf
Thanks in advance, I can use all the help I can get. klee310
# Add the transform
confEncoding = {}
confEncoding["CHARSET"] = "CHARSET=ISO-8859-7"
# Write out the conf file
self.writeConf("props", "host::GreekSource", confEncoding)
# Add the transform
confEncoding = {}
confEncoding["CHARSET"] = "CHARSET=ISO-8859-7"
# Write out the conf file
self.writeConf("props", "host::GreekSource", confEncoding)
thanks for the help LukeMurphey. Exactly what I was looking for.
in my setup.xml, i specify the endpoint under the block attribute. For example
can I override these values if only one of my input beneath this uses another endpoint (for example the default admin/roles endpoints)?
and for the second question, regarding python delimiters, it seems there is no such thing as the ';' semicolon, like in C#. However indentation seems to make all the difference in python. Please correct me if i'm wrong. thanks
ok, for the first question, handlerfile=...py can be anything... just figured that out. Was having problems earlier because of a typo in the restmap.conf (typed handleaction instead of handleraction) lol.