Configure Lucee within your Application
Configure Lucee within your application
Lucee provides a web frontend to configure the server and each web context, but you can also do this configuration from within your application (For per request settings, please check out the" Application.cfc" section in the Cookbook).
Administrator.cfc
Lucee is providing the component "Administrator.cfc" in the package "org.lucee.cfml" a package auto imported in any template, so you can simply use that component as follows
admin=new Administrator("web","myPassword"); // first argument is the admin type you wanna load (web|server), second the password for the Administrator
dump(admin); // show me the doc for the component
admin.updateCharset(resourceCharset:"UTF-8"); // set the resource charset
cfadmin Tag
The component "Administrator" is far from being feature complete, so if you miss a functionality, best consult the unofficial tag "cfadmin" (undocumented) and check out how this tag is used inside the Lucee Administrator. Of course, it would be great if you could contribute your addition to the "Administrator" component.