Changeset 1423 for HelpIM3

Show
Ignore:
Timestamp:
02/24/11 04:27:20 (15 months ago)
Author:
winfried
Message:

Fixing editable pages in full.xml config. Make the application fall back
on the 'key' if no 'location' is defined for a resource.

Location:
HelpIM3/branches/chatgroups
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • HelpIM3/branches/chatgroups/HelpIM/appl/application.py

    r1308 r1423  
    311311                scriptName = resourceConfig.script 
    312312                location = resourceConfig.location 
     313                if not location: 
     314                    location = resourceConfig.key 
    313315                packageName, className = self.getPackageName(site, location) 
    314316            else: 
     
    316318                scriptName = resourceConfig.Class.script 
    317319                location = resourceConfig.Class.id 
     320                if not location: 
     321                    location = resourceConfig.key 
    318322                packageName, className = self.getPackageName(site, location) 
    319323             
  • HelpIM3/branches/chatgroups/config/sites/full.xml

    r1422 r1423  
    2525 
    2626 
    27         <importFile name="/etc/HelpIM3/sensoor/import.xml" /> 
    2827        <listOf__actionPerformed> 
    2928 
     
    181180                <page location="" module="auth" script="ShowLoginPanel" 
    182181                        allowCookies="True" /> 
    183                 <page location="setupSite" module="setup" script="setupSite" /> 
    184                 <page location="ImportSensoor" module="setup" script="ImportSensoor" /> 
    185182                <page location="login" module="auth" script="ShowLoginPanel" 
    186183                        authenticationNeeded="False" allowCookies="True" /> 
     
    192189 
    193190                <!-- Intranet --> 
    194                 <page location="EditNationalNews" module="intranet" script="EditNationalNews" 
    195                         allowCookies="True" /> 
    196                 <page location="ShowNationalNews" module="intranet" script="ShowNationalNews" 
    197                         allowCookies="True" /> 
    198                 <page location="EditRegionalNews" module="intranet" script="EditRegionalNews" 
    199                         allowCookies="True" /> 
    200                 <page location="ShowRegionalNews" module="intranet" script="ShowRegionalNews" 
    201                         allowCookies="True" /> 
    202                 <page location="EditManual" module="intranet" script="EditManual" 
    203                         allowCookies="True" /> 
    204                 <page location="ShowManual" module="intranet" script="ShowManual" 
     191                <page location="EditNationalNews" module="intranet" script="EditTextPanel" 
     192                        allowCookies="True" /> 
     193                <page location="ShowNationalNews" module="intranet" script="ShowTextPanel" 
     194                        allowCookies="True" /> 
     195                <page location="EditRegionalNews" module="intranet" script="EditTextPanel" 
     196                        allowCookies="True" /> 
     197                <page location="ShowRegionalNews" module="intranet" script="ShowTextPanel" 
     198                        allowCookies="True" /> 
     199                <page location="EditManual" module="intranet" script="EditTextPanel" 
     200                        allowCookies="True" /> 
     201                <page location="ShowManual" module="intranet" script="ShowTextPanel" 
    205202                        allowCookies="True" /> 
    206203 
     
    328325 
    329326        <Flow key="RequestWebChat" module="chat" script="RequestWebChat" 
    330                 authenticationNeeded="False" domain="Public"> 
     327                authenticationNeeded="False" domain="Public" > 
    331328                <Task key="1" refid="GenerateSessionId" /> 
    332329                <Task key="2" refid="CheckChatOpen"> 
     
    504501                <AuthorizedLocation key="AddIPBlock" /> 
    505502                <AuthorizedLocation key="DeleteIPBlock" /> 
    506                 <AuthorizedLocation key="setupSite" /> 
    507                 <AuthorizedLocation key="ImportSensoor" /> 
    508503        </RoleAuthorization> 
    509504 
     
    632627        <Text id="EndCareSeekerChatText" value="Bedankt voor de antwoorden, je kan nu het venster sluiten" /> 
    633628        <Text id="EndCareWorkerChatPanelText" value="Dit venster is offline." /> 
    634         <Text id="organisationName" value="Sensoor"/> 
     629        <Text id="organisationName" value="Veilig Samen"/> 
    635630        <Text id="chatName" value="chat"/> 
    636631