runtime/WampClient.py
changeset 3881 0b3ac94f494c
parent 3752 9f6f46dbe3ae
parent 3856 054c4f1b2ea7
child 3883 a6e7dd8bac36
equal deleted inserted replaced
3880:89549813a6c1 3881:0b3ac94f494c
   488     return static.Data(secret, 'application/octet-stream'), ()
   488     return static.Data(secret, 'application/octet-stream'), ()
   489 
   489 
   490 
   490 
   491 def RegisterWebSettings(NS):
   491 def RegisterWebSettings(NS):
   492 
   492 
   493     NS.ConfigurableSettings.addSettings(
   493     WebSettings = NS.newExtensionSetting("Wamp Extension Settings", "wamp_settings")
       
   494     WebSettings.addSettings(
   494         "wamp",
   495         "wamp",
   495         _("Wamp Settings"),
   496         _("Wamp Settings"),
   496         webFormInterface,
   497         webFormInterface,
   497         _("Set"),
   498         _("Set"),
   498         wampConfig)
   499         wampConfig)
   499 
   500 
   500     NS.customSettingsURLs[WAMP_SECRET_URL] = deliverWampSecret
   501     WebSettings.addCustomURL(WAMP_SECRET_URL, deliverWampSecret)
       
   502