Simulate password masking in a XUL dialog's textbox

Due to a Flash bug in CS5 & CS5.5, I've been forced to generate a dialog with straight XUL instead of XUL opening a swf. I'm trying to stylize the textbox textfield to mask the password entered and I'm having issues coming up with a solution for this. It seems the most straight-forward way to mask would be to assign the textfield a strange font which would serve this purpose - like WingDings. However, i'm not sure of the correct way to stylize a textbox via CSS. I'd like to be able to have the CSS inline in the XUL's XML file, similar to how you can have inline script:
<style type="text/css">
          .passMask {
                    font-family:WingDings;
</style>
Am I on the right track or can anyone give me insight on how I might go about accomplishing a password mask in a textbox?
Thanks in advance!

http://dl.dropbox.com/u/27779953/test.mxp
I've set up a test windowSWF - this will show up as a panel when you open Flash after installing this. Simply double-click it on a machine where the CS suite is installed - extension manager will open and install it. Then open Flash (if it was already open, re-open it). Open the test panel in Windows > Other Panels > test. Once open, you'll notice that it will have one button in the panel called "Launch" - press it. Notice the resulting dialog that shows up - this dialog will contain three textfields to input data. If you're on a Mac on CS5 or CS5.5, notice that you can't type the letter "a" more than once. This is the bug I'm referring to. If you're on a PC, you won't exhibit this behavior.
To get around this bug, I took the swf dialog out of the equation and built the dialog strictly in XML2UI / XUL - xml below. The problem is, I can't mask the password textbox. I can't do an "onchange" on this textfield because if I replace what the user is typing, the textbox registers that replacement as a change = infinite loop. Flash crashes immediately. The only thing I can think of is to change / stylize the font for just that textbox to something strange like WingDings, so when a user is typing, they can at least keep track of how many characters they are typing but not the actual characters they've typed.
<?xml version="1.0" ?>
<dialog id="settings" title="Server Login" buttons="accept,cancel">
          <grid>
          <columns>
                    <column />
                    <column />
          </columns>
                    <rows>
                              <row>
                                        <label value="Username" />
                                        <textbox id="username" value="" tabIndex="1" width="200" />
                              </row>
                              <row>
                                        <label value="Password" />
                                        <!-- Here's my problem textfield below -->
                                        <textbox id="pass" value="" html="true" tabIndex="2" width="200" />
                              </row>
                              <row>
                                        <label value="Server Domain " />
                                        <textbox id="serverAddy" value="" tabIndex="3" width="200" />
                              </row>
                    </rows>
                    <separator/>
          </grid>
</dialog>
Message was edited by: mythprod2004 - took out the onchange="init()" since that function doesn't exist in this test file

Similar Messages

  • Password Masking Symbols

    one more question...
    i want to use password masking symbols in apex text field items.., is it possible?

    choose item type Password

  • Password Masking & Background Color for Multiple Rows in Tabular Form

    Hi all,
    I have a requirement of making a column in Tabular form, having multiple rows, masked(password field). I also want to give bg color to this field indicating that its a mandatory field.
    I am unable to accomplish both at a time in my page. I am using Apex 3.2.
    Waiting for your valuable comments. Thanks,
    Regards,
    Sandeep

    APEX_ITEM API doesnot have a password function, but input fields of type password are available in HTML.
    So you would have to change the field type to password in JS
    That is from :
    <input type="text" ...change it to
    <input type="password" ...If you were using jQuery it would have been simpler, but to do it in native JS it is a bit more hard work.
    Anyway here goes (a quick check in a tabular form seens to work fine)
    var password_array=document.getElementsByName("f04");
    for(var i=0;i<password_array.length;i++)
       password_array.type = 'password';
    password_array[i].style.backgroundColor = 'RED';
    +Replace the "f04" with your password field's array name(use firebug to identify the field name)+
    Does that solve your problem ?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How can I keep Firefox from keeping my login name and password from being in the dialog boxes when I sign on on gmail? It allows anyone to log into my email account

    When signing on to my gmail account the two dialog boxes, one for account name and the other for the password are already filled in. The password box has dots for the password but anyone who clicks on the sign in box can read my mail. How do I change this? It appears to be a Firefox related issue because it doesn't happen if I sign in on Safari or Internet Explorer. I would appreciate your help.

    See [[Remembering passwords]], you can turn this feature off.
    You also can [[Remembering passwords#Viewing and deleting passwords|view or delete the saved passwords]].
    Please let us know whether that works for you.

  • What is the corresponding DOM property to control the "Simulate Paper Color" option on Print dialog

    I want to simulate the following manual steps in script:
    Manual steps:
    1. File->Print->Color Management
    2. Click "Proof" radio button
    3. Uncheck "Simulate Paper Color"
    Script:
    2. app.documents[0].printPreferences.sourceSpace = SourceSpaces.PROOF_SPACE;
    3. ??? here I can't find the corresponding property or method to uncheck "Simulate Paper Color"

    I think I have figure out the corresponding property, it is PrinterPreset.intent
    Assigning PrinterPreset.intent to RenderingIntent.absoluteColorimetric equals to checking "Simulate Paper Color", assigning it to RenderingIntent.relativeColorimetric equals to unchecking the box.

  • Password Dialog

    How can I use the password dialog to start an application ? I mean, the procedure to call the dialog first, if user/pass are correct then start the main program.
    Thanx in advance.

    public class prog extends Frame
    public prog()
    super();
    pwdia d=new pwdia(this);
    if (!pwdia.accept)
    System.exit(0);
    here is the actual constructor of your frame
    public class pwdia extends Dialog implements ActionListener
    public boolean accept=false;
    public pwdia(Frame f)
    super(f,"Password",true);
    here desing how dialog looks
    pack();
    show();
    public void actionPerformed
    here if password ok
    if ok
    accept=true;
    else
    accept=false;
    setVisible(false);

  • Firefox will not save my user name and password for one of my sites. How can I fix this problem. It is getting annoying having to reenter every time I check this site. Is there a solution.

    I had my user name and password saved for my library site. My grandson hit something and now the saved user name and password are gone. It asks me every time to enter it and it is getting annoying. How do I fix this. I want Firefox to remember these codes.

    You can create a bookmark with the JavaScript code via a right-click on the "Remember Password" link on the squarefree.com website and choose "Bookmark This Link" and select the "Bookmarks Toolbar" as the destination folder for easy access.
    * https://www.squarefree.com/bookmarklets/forms.html#remember_password
    You need to use the "Remember Password" bookmarklet before or after filling the name and password field on the website with the <u>login form</u>, but before submitting the login form by clicking a button on the web page.
    If the site is using autocomplete="off" then you see a number not equal to 0 (i.e. attributes were removed) in the pop-up alert from the bookmarklet and Firefox should offer to remember the name and password via a drop down dialog of the key icon that will appear on the location bar (Firefox 4+) or via an info bar at the top (Firefox 3).

  • My HP office jet 6500 printer is stuck on pause. I do not have an admin name or password as it is a wireless printer and I never had to set one up.  It keeps asking me for admin name and password...

    My HP office jet 6500 printer is stuck on pause.  I do not have an admin name or password that it keeps prompting me to give, as it is a wireless printer and that info was not required when we set up the printer.  I have checked all diagnostics and connections and they are all good/passed.  I am so frustrated!!!    This has never happened in the past.

    What is asking you for an admin name and password? What does the dialog say, exactly?
    What model iMac are you using, and which OS version?
    If it is earlier than Lion or Snow Leopard, try deleting the printer and adding it again as explained in this document
    http://support.apple.com/kb/TS3140
    Otherwise you can "reset the printing system" as explained here
    http://support.apple.com/kb/HT1341
    and here
    http://support.apple.com/kb/TS3147
    Download the latest drivers here (Lion, Snow Leopard)
    http://support.apple.com/kb/DL907

  • Why does Outlook keep prompting for password

    We have seen our community members ask questions about Outlook keeps prompting for credentials many times. This issue could be caused by numerous reasons. Below is a list of the most common reasons for this problem:
    Outlook is configured to prompt you for credentials
    Incorrect password cached in credential storage
    Required Authentication Settings for outgoing server and incoming server
    Outlook Anywhere is not configured to use NTLM Authentication
    Corrupt Outlook profile
    Slow or unstable network connection
    Antivirus programs
    Shared calendars
    Outlook is configured to prompt you for credentials
    If you are using an Exchange account, there is a setting in your Outlook profile to always prompt for logon credentials. To find the setting, please follow:
    1. In Outlook 213, go to File tab > Info >
    Account Settings > Account Settings…
    2. Highlight your Exchange account and click Change button.
    3. Click on More Settings button.
    4. Select the Security tab.
    5. Under the User Identification, make sure the “Always prompt for logon credentials” option is not selected.
    If you are using other types of email, please make sure you have ticked the option “Remember password”.
    Incorrect credential cached in Credential Manager
    Your Windows system stores user credentials on your computer. If the cached credentials are incorrect, you will be prompted for password. This issue usually happens after the password for your domain user account is changed. Before your password changed,
    you saved your credentials. The stored credentials are not overwritten when Outlook triggers the authentication prompt even if you enable the Remember my credentials option.
    To fix this issue, you need to remove the corrupted credentials, follow these steps:
    Click Start,      click Control Panel, and then click Credential Manager.
     Note If View by is set to Category, click User Accounts first, and then click Credential Manager.
    Locate  the set of credentials that has Outlook in the name.
    Click the name to expand the set of credentials, and then click Remove from Vault.
    Repeat step 3 for any additional sets of credentials that have the word Outlook in the name.
    Required Authentication Settings for outgoing server and incoming server
    Different email provider may need different authentication settings. Please make sure you have set the server settings correctly. You can contact your email provider to gather the information.
    In general, we select the “My outgoing server (SMTP) requires authentication” option and the first bullet “Use same settings as my incoming mail server”.
    In addition, click on the Advanced tab and check if you have enter the correct Server Port Number and select the correct encrypt type. Below is a screenshot for an IMAP account:
    Outlook Anywhere is not configured to use NTLM Authentication
    The Outlook Anywhere feature allows you to access your Exchange account remotely from the Internet when you are working outside your organization's firewall.
    When using Outlook Anywhere to connect to your Exchange server, we need to choose
    the authentication method among Basic Authentication, NTLM Authentication and Negotiate Authentication. The difference among them is the way that the passwords are sent when connecting to the server. With Basic Authentication,
    the password is sent in clear text. Using NTLM Authenticationcan significantly reduce the number of password prompts.
    To check the authentication setting, please go to File > Account Settings > Account Settings,
    select the Exchange account, and then click
    Change. In the Change Account wizard, click
    More Settings, and then click the Connection tab. Click the Exchange Proxy Settings button and now, you can see the settings under
    Proxy authentication settings. Try to change the authentication to
    NTLM Authentication and then check the issue again.
    Slow or unstable network connection
    If your network connection is slow or unstable, Outlook may lose connection to the mail server. When Outlook try to reconnect, it will prompt for the credentials. To verify this, please switch to a stable network environment and then check if this issue
    persists.
    Corrupt Outlook Profile
    Corrupt profile may cause Outlook to no longer remember your password. Please try to create a new mail profile in Control Panel and reconfigure your email account in the new profile to fix the issue. To create a new mail profile, you can refer:
    http://support.microsoft.com/kb/829918
    Antivirus software
    Antivirus software usually integrates into your Outlook and it may cause some conflicts. Try to temporarily turn off your antivirus software to check if the issue will be gone.
    Shared Calendar
    Shared calendars can impact the user credentials, this issue may also occur if you have shared calendars opened in Outlook. You can try to unselect the shared calendar to check the result. It’s recommended to not open the shared calendar unless you want
    to view them.
    If you have any comments, welcome to post in the forum. Thank you.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Nope...
    I went through point by point by point, top to bottom, checking and verifying every single item as a possible cause for why my system (Outlook 2013 running on Windows 8.1 and connecting to Exchange 2010) insists on prompting me for my password every single
    time I start Outlook.  None of the solutions worked, my system still prompts me.  I don't even have to supply a password.  When the prompt dialog appears, I just cancel it.  Within a few seconds, the bottom Outlook status bar changes to
    "Need Password" with a key icon to the left.  Then I just click on that message and immediately Outlook connects to Exchange.
    The freaking software is BROKEN!  Period.

  • Problems with creating a mask in AE 4.1

    Hi all,
    Yes, I'm using After Effects 4.1... not CS4... that's version 4.1 from 13 years ago.
    I'm having a problem creating a simple mask and I can see from a more current AECS5 tutorial that creating a mask on a layer is similar to creating one in AE4 based on a comparison to an old AE4 tutorial.  I've read instructional material and it seems simple enough, but for some reason its not working for me... I know I'm doing something wrong.  I'm an advanced Photoshop user and I know the concept of layer masks and how to create them.
    I create the mask on a layer and I can see and adjust the bezier points to adjust the shape of the mask... adjusting the shape of the mask by the bezier points is a little tricky since it stretches in both directions when you grab a single point, but that's okay,
    But no matter which mask mode I try, Add, Subtract, Intersect, Lighten, Darken or Difference, it is not masking the layer that it is attached to even when I preview the timeline.
    I don't want to just create a color layer on top of the layer I want masked to simulate a mask (which I can otherwise do) because I want to stack layers with masks and have the unmasked parts showing through (like in Photoshop), without rendering separate layers and re-importing them with blue screening or black screening... I should just be able to mask the parts that I don't want to show up on each layer and only have the unmasked parts of each layer show through each other for my final render.
    Thanks for any input,
    digi

    Thanks for writing back Dave and Rick,
    I think there is something in what Dave said about opening a new layer window, but it still isn't working right.  Please see the screenshot of two full project windows below.
    One thing that could be giving me problems is my layer content... it is a numbers layer attached to a solid layer, as you can see.
    In the comp window at the top of each screenshot below, you can see the bezier points from my original mask that I created by clicking on 'Shape' next to 'Mask' on the left in the timeline window after selecting 'Layer>Mask>New Mask'... but I can see that this isn't the right way to do it because (1) it isn't masking, it only shows bezier points. (2) When I try to adjust those bezier points in the comp window it only stretches the numbers. And (3) when I'm in the comp window, I don't have access to the layer shape square and oval tools... they are grayed-out.
    So in the layer window after double-clicking on my numbers layer, in screen #2 below, you can see that it isn't showing anything... just black, but you can see the bezier points from my original masking attempt that also show up in the comp window.  But in that layer window I do have the square and oval tools available to me and you can see that I tried creating a new experiment with a triangle mask, but that only shows bezier points and no masking effect.  When I close that window, as Dave said, after making the new triangle mask, it only broadens out my original mask besizer points in the comp window to encompass both masks now, but does not reflect either masks actual shape, nor is it actually masking anything.
    Let me know what you think.
    Thanks again,
    digi

  • Firefox 3.6.15 Windows 7 not saving passwords

    When I enter a user name and a password, just as I did a moment ago to create my login for this forum, the information is not being saved by Firefox. The pop-up bar appears with the three buttons, Remember, Never for this Site and Not Now. However, clicking on Remember does nothing and the bar stays on my screen. If I recall, this bar used to go away after saving the password. I am using the latest version of Firefox (3.6.15) . What is new is this computer and the Windows 7 operating system. I am not really interested in a work-around, but instead why Firefox is not working correctly. I have read numerous articles and posts, but most of them are older and I suspect don't take into account the Windows 7 (with SP1 applied) issue.

    I have no passwords stored yet as this is a brand new installation of Firefox, on this brand new computer running Windows 7.
    When I try to save a password, nothing happens! That is the problem.
    When the "Do you want Firefox to remember the password...." dialog box shows me 3 action buttons, none of them respond to clicking on them. Consequently, the passwords are not being saved.

  • APEX username and password

    Hi,
    I have ORACLE XE with APEX 3.1. I have had no problem with the setup until today when I accessed the image folder via http://127.0.0.1:8080/i now if I try and log in before I even get the home page with workspace, username and password I get a windows dialog box pop up saying: The server 127.0.0.1 at APEX requires a username and password.
    any ideas what it is looking for?

    Never mind. I restarted the database and it seemed to rectify itself.

  • Seahorse won't accept a blank password

    I want to set up automatic login, so I'm trying to blank the password on my login keyring. When I go through the change password flow in seahorse, though, it refuses to accept the blank password. I get a dialog with a grayed-out continue button, and all I can do is cancel. Is this a configuration issue? Any help appreciated.

    Correct. Most of the talk online seems to be about how to get to this point (View -> by keyring, etc.), but everything I've read suggests I should be seeing that button now.

  • Now Mail Won't Send eMail (self imposed password)

    Apple's Mail has a known bug that it deletes your mail passwords sporadically. Now Mail has not only refused to pick up email while deleting the password, but has "deleted" the non existent password to send email.
    Before when Mail deleted the password I could put it in again (and again) until it caught and worked again. But there is no outgoing email password, the server does not require one. If I put it a password it doesn't work because it can't. Does anyone have experience with this problem. It did this the first time last week and it went away after a few hours. But I do need to send email for my business.
    Is there anything to do other than wait for it to go away again?
    Anyone care to recommend a commercial email program to replace Mail? I have a few thousand emails in a few dozen folders that I would like to import. Is there any?
    History, read this before asking any questions.
    Mail has for years sporadically deleted incoming pop account passwords. They are deleted in Mail. The copy of the password in Keychain is still there, but Mail will fail to pick up your mail and ignore Keychain. This has been posted many times in this forum. The problem occurs randomly and goes away after awhile, but will return. If one has several pop accounts on the same server, some, all, or none of the accounts will have this problem at any given time. When the dialog pops up requesting the password the best thing to do is click cancel. Mail takes the account off-line. After awhile click the icon to the right of the "inbox" and click the button "Take all accounts online." It will usually work again. Sometimes it will not work. Delete the Keychain entry and put in (the same) password the next time the dialog comes up, check the "save in keychain" box and click okay. Usually it will take in then. Not sure why, but if you put the password in the first time the dialog appears, it almost always fails. some users have surmised that Mail sees any delay in the mail server response as a failed password and this problem is more frequent with webmail accounts than email accounts.
    After ten years of OS X Mail use, and a year of off and on receiving problems, I have only this week started to have problems sending email. I have checked with my provider and there is nothing wrong with their servers and they have not suddenly changed the required Mail setup.
    Below is the Connection Doctor report:
    CONNECTED May 31 11:45:24.629 [kCFStreamSocketSecurityLevelNone] -- host:smtp.west.cox.net -- port:587 -- socket:0x11ecf26b0 -- thread:0x11efb70e0
    READ May 31 11:45:24.653 [kCFStreamSocketSecurityLevelNone] -- host:smtp.west.cox.net -- port:587 -- socket:0x11ecf26b0 -- thread:0x11efb70e0
    220 fed1rmimpo02.cox.net bizsmtp ESMTP server ready
    WROTE May 31 11:45:24.698 [kCFStreamSocketSecurityLevelNone] -- host:smtp.west.cox.net -- port:587 -- socket:0x11ecf26b0 -- thread:0x11efb70e0
    EHLO [nnn.nnn.nnn.nnn]
    READ May 31 11:45:24.722 [kCFStreamSocketSecurityLevelNone] -- host:smtp.west.cox.net -- port:587 -- socket:0x11ecf26b0 -- thread:0x11efb70e0
    250-fed1rmimpo02.cox.net hello [68.5.148.34], pleased to meet you
    250-HELP
    250-AUTH LOGIN PLAIN CRAM-MD5
    250-SIZE 28672000
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250-STARTTLS
    250 OK
    I blocked out my local IP address, it is correct though.
    The last READ from the server does not contain any error that I can see, but I don't know what one would look like. At this point the dialog is up requesting a password.

    Apple's Mail has a known bug that it deletes your mail passwords sporadically.
    Sounds awfully definitive. Has Apple verified this for you?
    I will, from time to time, be prompted for a password. I cancel and try again five minutes later. 90% of the time, it works fine the second time. The other 10% of the time, I have to wait for an indeterminate amount of time, sometimes several hours. This indicates, to me, that there was a problem contacting the server. I used to see similar behavior with Eudora years ago before I switched to Mail.
    I never have to actually re-enter the password. At no time have my passwords been deleted.
    None of this answers your questions, but hey... you come on here and cry "bug" and you're going to get challenged if others aren't seeing a bug.

  • Why cannot I view my passwords in keychain after having set up parental controls?

    I used to be able to open keychain, click on any particular key, click on the box "view password" and see the password after entering my administrator name and master password. Then, I set up parental  controls on my macbook pro because I got tired of seeing all the pornographic ads and such that would often pop up when I did a google search. Now, any time I need to see one of my passwords, I only get a dialog box stating that "access is denied."  Any ideas on how to solve this frustrating problem?

    hello gstout, you can use the no squint extension - it allows you to set a global zoom level for all sites: https://addons.mozilla.org/firefox/addon/nosquint/

Maybe you are looking for

  • How to populate data from bol to assignment block.

    Dear experts, I saw on sdn discussion similar questions, but have not found the suitable answer. I need to add fields for BP using EEWB and to work with this field in WEB UI. For achievement of it I have executed following steps: 1. Using EEWB has ad

  • Unable to recognize the server status in OEPE, shows error alert

    Hi, On windows 32 , I installed the WSL 10.3.3 + OEPE and the OSB 11g. I have configured the a base_domain with a dtabse of 10g (10.3) Express edition. When I try to start the server from OEPE (Eclipse), the server starts and the console show the ser

  • How can I change wiki print.css to print the banner?

    We want to create a wiki containing instructions for students and staff that can be viewed online or printed. If an instruction sheet is printed we would like the banner (showing the College's logo) to appear at the top of the page to make it look mo

  • Spry submenue not displaying correctly  on IE

    Hello fellows, I have tested my site on many browsers it looks ok on all except IE. It's the way the sub menus are displayed in Internet explorer. If you click on landscape -->getty photos ( the getty tab is far to the right and is disconnected from

  • Itunes ignores library file

    I don't think this problem is caused by itunes, rather by some OS X system/memory problem. Anyway, I have itunes on the powerbook G4 (OS X 10.5.4) but all my music is kept on an external HD, so my route folder is specified in itunes pref as G//.....i