portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roger...@apache.org
Subject cvs commit: jakarta-jetspeed-2/applications/demo/src/webapp/WEB-INF/view database-edit.vm
Date Wed, 02 Feb 2005 19:48:12 GMT
rogerrut    2005/02/02 11:48:12

  Modified:    applications/demo/src/webapp/WEB-INF/view database-edit.vm
  Log:
  SSO- Disabling code fixed. SSO fields were editable
  
  Revision  Changes    Path
  1.5       +4 -3      jakarta-jetspeed-2/applications/demo/src/webapp/WEB-INF/view/database-edit.vm
  
  Index: database-edit.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/applications/demo/src/webapp/WEB-INF/view/database-edit.vm,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- database-edit.vm	2 Feb 2005 00:49:05 -0000	1.4
  +++ database-edit.vm	2 Feb 2005 19:48:12 -0000	1.5
  @@ -82,13 +82,13 @@
   <tr>
       <th class="portlet-section-alternate"><font class="portlet-form-field-label">$MESSAGES.getString("label.jdbc.driver")</font></th>
       <td>
  -      <input type="input" name="SSOJdbcDriver" $!disableSSO  value="$!prefsMap.get('JdbcDriver')"
size="60" maxlength="60" class="portlet-form-field-label"/> 
  +      <input type="input" name="SSOJdbcDriver" $!disableSSO  value="$!prefsMap.get('SSOJdbcDriver')"
size="60" maxlength="60" class="portlet-form-field-label"/> 
       </td>
     </tr>
     <tr>
       <th class="portlet-section-alternate"><font class="portlet-form-field-label">$MESSAGES.getString("label.jdbc.connection")</font></th>
       <td>
  -      <input type="input" name="SSOJdbcConnection" $!disableSSO value="$!prefsMap.get('JdbcConnection')"
size="60" maxlength="60" class="portlet-form-field-label"/> 
  +      <input type="input" name="SSOJdbcConnection" $!disableSSO value="$!prefsMap.get('SSOJdbcConnection')"
size="60" maxlength="60" class="portlet-form-field-label"/> 
       </td>
     </tr>
     <tr>
  @@ -160,7 +160,8 @@
     function disableSSO(flag) 
     {
       document.forms['J2DBEdit'].SSOSite.disabled = flag;            
  -    document.forms['J2DBEdit'].SSOPrincipal.disabled = flag;                
  +    document.forms['J2DBEdit'].SSOJdbcDriver.disabled = flag;            
  +    document.forms['J2DBEdit'].SSOJdbcConnection.disabled = flag;                   
     }
   
     function presave()
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message