tel8618217223380 / prado3

Automatically exported from code.google.com/p/prado3
Other
0 stars 0 forks source link

Validators break styles over ssl #228

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Please see the attached code snippet and screenshots. 

When view normally (port 80) everything looks as expected, when viewed 
over ssl, style colours are applied to wrong labels, occurs in both ie 8 
and chrome 4 beta..

Using version Version 3.1.5, May 24, 2009 on Centos 5.2

(sorry if this has already been fixed but I didn't spot this mentioned 
already (bigger soz if its me being a numpty))

Code:

    <com:TPanel ID="panelSettings" >
      <h1>Change settings</h1>

      <table cellpadding="2">
        <tr>
          <td><com:TLabel Text="Password:"/></td>
          <td><com:TTextBox ID="editPassword"  TextMode="Password"  /></td>
          <td>(Min 6 chars at least 1 number)
            <com:TRegularExpressionValidator Style="color:#F00;" 
ValidationGroup="GroupEdit" RegularExpression="(?=^.{6,}$)((?=.*\d)|(?
=.*\W+))(?![.\n])(?=.*[a-zA-Z]).*$"   ControlToValidate="editPassword" 
Text="Password not complex enough." /></td>
          <td><com:TRequiredFieldValidator ValidationGroup="GroupEdit" 
Style="color:#F00;"  ControlToValidate="editPassword" Text="Field 
required." /></td>
        </tr>
        <tr>
          <td><com:TLabel Text="Renter Password:"/></td>
          <td><com:TTextBox ID="editPassword2"  
TextMode="Password"    /></td>
          <td><com:TCompareValidator ControlToCompare="editPassword" 
ValidationGroup="GroupEdit" Style="color:#F00" 
ControlToValidate="editPassword2" Text="Passwords do not match." /></td>
          <td><com:TRequiredFieldValidator ValidationGroup="GroupEdit" 
Style="color:#F00;"  ControlToValidate="editPassword2" Text="Field 
required." /></td>
        </tr>
        <tr>
          <td><com:TLabel Text="Phone Pin:"/></td>
          <td><com:TTextBox ID="editPin"  /></td>
          <td>(Numbers Only 5 digits)
            <com:TRegularExpressionValidator Style="color:#F00;" 
ValidationGroup="GroupEdit" RegularExpression="^[0-9][0-9][0-9][0-9][0-9]
$"   ControlToValidate="editPin" Text="Bad Pin" /></td>
          <td><com:TRequiredFieldValidator ValidationGroup="GroupEdit" 
Style="color:#F00;"  ControlToValidate="editPin" Text="Field 
required." /></td>
        </tr>
        <tr>
          <td><com:TLabel Text="First Name:"/></td>
          <td><com:TTextBox ID="editFirstName" /></td>
          <td><com:TRequiredFieldValidator ValidationGroup="GroupEdit" 
Style="color:#F00;"  ControlToValidate="editFirstName" Text="Field 
required." /></td>
          <td></td>
        </tr>
        <tr>
          <td><com:TLabel Text="Surname:"/></td>
          <td><com:TTextBox ID="editSurname" /></td>
          <td><com:TRequiredFieldValidator ValidationGroup="GroupEdit" 
Style="color:#F00;"  ControlToValidate="editSurname" Text="Field 
required." /></td>
          <td></td>
        </tr>
        <tr>
          <td><com:TLabel Text="Drivers Licence"/></td>
          <td><com:TTextBox ID="editDriversLic" /></td>
          <td>(Used to recover lost passwords)</td>
          <td><com:TRequiredFieldValidator ValidationGroup="GroupEdit" 
Style="color:#F00;"  ControlToValidate="editDriversLic" Text="Field 
required." /></td>
        </tr>
        <tr>
          <td><com:TLabel Text="Date Of Birth"/></td>
          <td><com:TTextBox ID="editDOB" /></td>
          <td>(Used to recover lost passwords)</td>
          <td><com:TRequiredFieldValidator ValidationGroup="GroupEdit" 
Style="color:#F00;"  ControlToValidate="editDOB" Text="Field 
required." /></td>
        </tr>
        <tr>
          <td><com:TLabel Text="Secret Question:"/></td>
          <td><com:TTextBox ID="editSecretQuestion" /></td>
          <td>(Used to recover lost passwords)</td>
          <td><com:TRequiredFieldValidator ValidationGroup="GroupEdit" 
Style="color:#F00;"  ControlToValidate="editSecretQuestion" Text="Field 
required." /></td>
        </tr>
        <tr>
          <td><com:TLabel Text="Secret Answer:"/></td>
          <td><com:TTextBox ID="editSecretAnswer" /></td>
          <td>(Used to recover lost passwords)</td>
          <td><com:TRequiredFieldValidator ValidationGroup="GroupEdit" 
Style="color:#F00;"  ControlToValidate="editSecretAnswer" Text="Field 
required." /></td>
        </tr>
        <tr>
          <td><com:TButton  ID="Canceledit" Text="Cancel" 
Style="color:#454545;font-family:tahoma;font-size:11px;line-height:13px" 
OnClick="onClickLogoutButton" /></td>
          <td><com:TButton  ID="Saveedit" Text="Save" 
Style="color:#454545;font-family:tahoma;font-size:11px;line-height:13px" 
OnClick="onClickSaveedit" ValidationGroup="GroupEdit" /></td>
          <td><com:TActiveLabel ID="LabeleditSaveError" Text="" 
Style="color:#FF4545;"/></td>
        </tr>
      </table>
    </com:TPanel>

Original issue reported on code.google.com by kactus...@gmail.com on 25 Feb 2010 at 2:48

Attachments:

GoogleCodeExporter commented 9 years ago
I have to say that this ticket sounds quite weird. Anyway, i tested it on both 
ff3, ff4, ie8 and chrome11 and they worked as expected using prado 3.1.9. 
I guess some corruption (page state, dom, ??) was happening on your side. 
Please test it using prado 3.1.9 and reopen the ticket if it's still broken on 
your side.

Original comment by ctrlal...@gmail.com on 16 Jun 2011 at 8:44