runtime/WampClient.py
changeset 3856 054c4f1b2ea7
parent 3440 3770ded5db5c
child 3881 0b3ac94f494c
equal deleted inserted replaced
3855:beccb995b10e 3856:054c4f1b2ea7
   491     return static.Data(secret, 'application/octet-stream'), ()
   491     return static.Data(secret, 'application/octet-stream'), ()
   492 
   492 
   493 
   493 
   494 def RegisterWebSettings(NS):
   494 def RegisterWebSettings(NS):
   495 
   495 
   496     NS.ConfigurableSettings.addSettings(
   496     WebSettings = NS.newExtensionSetting("Wamp Extension Settings", "wamp_settings")
       
   497     WebSettings.addSettings(
   497         "wamp",
   498         "wamp",
   498         _("Wamp Settings"),
   499         _("Wamp Settings"),
   499         webFormInterface,
   500         webFormInterface,
   500         _("Set"),
   501         _("Set"),
   501         wampConfig)
   502         wampConfig)
   502 
   503 
   503     NS.customSettingsURLs[WAMP_SECRET_URL] = deliverWampSecret
   504     WebSettings.addCustomURL(WAMP_SECRET_URL, deliverWampSecret)
       
   505