Integrating APEX items into an HTML Login Screen

I've just been presented with an attractive html login screen that our art department has created for our new application. The only problem is that the art department doesn't know a thing about APEX. They've drawn a nice looking screen using several images laid out into tables and even included an html form for the login credentials.<br>
<br>
I'd really like to use as much of their page as possible and I'm close to getting something that at least looks like it might work. I've encapsulated the entire thing into htp.p statements inside of a PL/SQL region on my Login page. I've removed their form elements and placed my own fields using HTMLDB_ITEM.TEXT calls. I also believe that I will be able to read back the values using calls to HTMLDB_APPLICATION.G.Fxx for each of my IDX values. I haven't tested that part yet, but it seems like it should work.<br>
<br>
The part that has me stumped right now is modifying the TEXT item into a PASSWORD item type. I've tried adding type="password" into the attributes parameter and I do see that in the page source, but it's after the default type="text" statement and is therefore ignored. The statement I'm executing for my password field is: <br><br><b>htp.p(htmldb_item.text(22,NULL,30, 100, 'type="password" onkeypress="return submitEnter(this,event)"', 22, 'Password:'));</b><br>
<br>
It doesn't seem like there is much reason to go on if I can't hide the contents of my password field, so I though I should ask for some advice before going too much further.<br>
<br>
Am I missing a better way to override the item type here, or is there a better way to place my login fields at specific locations inside of an existing html document? I can get the fields above, below or next to their page but that looks terrible. I could also break up their page into a top section and a bottom section with my fields in a middle region, but that would also ruin the look of the page.<br>

Hi, Etown88.
You've learned two important lessons:
1. Undocumented features are undocumented for a reason.
2. Never try "tricks" you read in magazines or on the Web unless they also clearly specify how to undo the trick. In fact, you should skip tricks like this: review Lesson 1 above.
The specific "trick" you cite was in Macworld recently and can be found on their web site here and here, the latter under the heading "Make your login window informative".
You'll also note at the end of the second article that it contains a correction: sometimes tricks have typos that can really ruin your day.
The "trick" probably originated as a post on the Mac OS X Hints site since the column was written by Rob Griffiths who runs that site.
To "undo" this, simply specify HostName, which is the default:
defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName
This is stated in the articles cited above, but one has to realize it as its stated subtly, e.g."• HostName to show the default display"Good luck!
Dr. Smoke
Author: Troubleshooting Mac® OS X

Similar Messages

  • Upgraded Mavericks 10.9.4 reverted to old OS X Lion Server login screen on cold boot

    Mac Pro
    Early 2008
    Model Identifier: MacPro3,1
    Processor  2 x 2.8 GHz Quad-Core Intel Xeon
    Memory  16 GB 667 MHz DDR2 FB-DIMM
    Graphics  ATI Radeon HD 2600 XT 256 MB
    Software  OS X 10.9.4 (13E28)
    Boot ROM Version: MP31.006C.B05
    SMC Version (system): 1.25f4
    This is the first time I've encountered this. Upon cold booting the machine it went directly to the legacy Mac OS X Server login screen from before the upgrade to Mavericks. It would not let me login with current credentials. I had no choice but to hard power off. It returned to normal operation on restart.
    It could be a possible bug.

    This happened for the second time today. Another thing I noticed was there was no Apple chime on boot. Upon restart the machine started with the Apple chime and went into the Mavericks login screen.

  • Lion old login screen

    Hi All,
    After drain the battery charge completely, and reset SMC and recharge the battery fully -- the login screen sometimes comes in the new version (Lion) and sometimes comes in the old version (Leopard).
    It seems that the old version comes after the screen turn off automatically or after start of screeen saver.
    Anyone know why is it happening and how to fix it to always come the Lion login screen ?
    Note: As an attempt at solution the Combo update 10.7.3 was reinstall.
    Many thanks in advance.

    This happened for the second time today. Another thing I noticed was there was no Apple chime on boot. Upon restart the machine started with the Apple chime and went into the Mavericks login screen.

  • Hi...m using a mac pro quad core.....its not booting up...i can only  see the apple logo and a circle loading...could not get into the login screen

    hi...m using a mac pro quad core.....its not booting up...i can only  see the apple logo and a circle loading...could not get into the login screen...any suggestions please.....m in the middle of a project and now i have got this one
    regards,
    v.s.bharan

    Welcome to Apple Discussions!
    Do you keep your data backed up?
    If not, you should always do so*:
    http://www.macmaps.com/backup.html
    You never know when a hard drive or a directory might go bad.  Having a bootable clone is a must.
    That link also shows you some tools you can use to recover data.
    If you aren't backed up, try buying those tools first, before attempting to repair the directory.
    Directory issues can be fixed with these tools*:
    http://www.macmaps.com/directoryfaq.html

  • Putting HTML around APEX items

    Gday,
    I am trying to convert the following HTML to APEX. I am trying to put the html around the APEX items but I cannot get them to sit properly in the tables.
    Can I put html around the APEX items? Or can I put in the HTML and access the objects via APEX?
    <TABLE WIDTH="100%" HEIGHT="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
       <TR ALIGN="CENTER">
          <TD HEIGHT="100%" VALIGN="MIDDLE" ALIGN="CENTER" WIDTH="100%" >
             <TABLE WIDTH="250" BORDER="0" CELLSPACING="0" CELLPADDING="0">
                <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
                <TR>
                   <TD COLSPAN="3" HEIGHT="2" BGCOLOR="#336699"><IMG SRC="/i/spacer.gif" HEIGHT="2" BORDER="0"></TD>
                </TR>
                <TR>
                   <TD WIDTH="2" BGCOLOR="#336699"><IMG SRC="/i/spacer.gif" WIDTH="2" BORDER="0"></TD>
                   <TD>
                      <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" ALIGN="CENTER" BORDERCOLOR="#336600">
                         <TR>
                            <TD VALIGN="MIDDLE" ALIGN="CENTER" ROWSPAN="3" bgcolor="#000000">
                               <img src="/i/logo.gif" border="0"  alt="logo" title="logo"><br>
                               <h3><font color="#FFFFFF">Login Page</font></h3>
                            </TD>
                            <TD WIDTH="2" BGCOLOR="#336699" ROWSPAN="3"><IMG SRC="/i/spacer.gif" WIDTH="2" BORDER="0"></TD>
                            <TD VALIGN="MIDDLE">
                               <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
                                                      <TR>
                                                           <TD HEIGHT="5"><IMG SRC="/i/spacer.gif" HEIGHT="5" BORDER="0"></TD>
                                                      </TR>
                                                      <TR>
                                                           <TD VALIGN="MIDDLE"> Username: </TD>
                                                           <TD VALIGN="TOP"><INPUT TYPE="text" NAME="p3_username"></TD>
                                                      </TR>
                                                      <TR>
                                                           <TD VALIGN="MIDDLE"> Password: </TD>
                                                           <TD VALIGN="TOP">
                                                  <INPUT TYPE="PASSWORD" NAME="p3_password" maxlength=15>
                                     </TD>
                                                      </TR>
                                                      <TR>
                                                           <TD HEIGHT="5"><IMG SRC="/i/spacer.gif" HEIGHT="5" BORDER="0"></TD>
                                                      </TR>
                                                      <TR>
                                                           <TD> </TD>
                                                           <TD HEIGHT="25" VALIGN="BOTTOM">
                                                              <INPUT NAME="p3_submit" TYPE="submit" value=" Login ">
                                                           </TD>
                                                      </TR>
                                                      <TR>
                                                           <TD HEIGHT="5"><IMG SRC="/i/spacer.gif" HEIGHT="5" BORDER="0"></TD>
                                                      </TR>
                                 </TABLE>
                            </TD>
                         </TR>
                               <TR>
                                            <TD HEIGHT="2" BGCOLOR="#336699" COLSPAN="4"><IMG SRC="/i/spacer.gif" HEIGHT="2" BORDER="0"></TD>
                                       </TR>
                                       <TR>
                            <TD HEIGHT="34" COLSPAN="3" ALIGN="LEFT" NOWRAP>
                                Enter Username and Password 
                               <br>
                               <center>
                                  <A href="security.changepass" title="Change Password">Change Password</a></center>
                            </TD>
                         </TR>
                      </TABLE>
                   </TD>
                   <TD WIDTH="2" BGCOLOR="#336699"><IMG SRC="/i/spacer.gif" WIDTH="2" BORDER="0"></TD>
                </TR>
                <TR>
                   <TD COLSPAN="3" HEIGHT="2" BGCOLOR="#336699"><IMG SRC="/i/spacer.gif" HEIGHT="2" BORDER="0"></TD>
                </TR>
             </TABLE>
    <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>Cheers

    And like I said I basically want to put APEX text items inside Oracle HTMLAPEX can only handle items [created declaratively through the App Builder|http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/app_comp.htm#CHDGFCGB] or programmatically using the [APEX_ITEM API|http://download.oracle.com/docs/cd/E14373_01/apirefs.32/e13369/apex_item.htm#CACEEEJE].
    It looks like you want to create a Login Page. This is a standard APEX page type that can be created from the application home page: click Create Page >, select Login Page, and complete the wizard. The look and feel of this page is controlled by standard APEX [page layout techniques|http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/ui.htm#BABJIECG], and the [themes, templates and CSS|http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/themes.htm#CJABAEIE] applied. To achieve the required appearance in APEX, page and region templates and CSS can be modified to contain the necessary HTML and properties.
    Try experimenting a bit with the above. If you hit problems, raise new threads dealing with specific, discrete issues...

  • I am unable to get past the apple login screens on my iPad to access my settings menu for a new home network. My password is not recognized so I cannot even get into the settings mode to make a chance. How can I get past the Apple logins?

    I am unable to get past the apple login screens on my iPad to access my settings menu for a new home network. My Apple password is not recognized so I cannot even get into the settings mode to make a chance. How can I get past the Apple logins?

    Hey Dpcupcake,
    If you can not get past the sign in screen on your iPad, you will need to use the steps in this article to recover use of your iPad -
    Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support
    Thanks for using Apple Support Communities.
    Happy computing,
    Brett L 

  • How to pass apex item value into custom xml for chart or guage?

    Re-opening the old thread : Re: How to pass apex item value into custom xml for chart or guage?
    Which was not answered.
    Roel - Thanks. Its working - but in a semi quotes in the custom XML
    <pointers>
    <pointer value= '&P5_RUNNING_TOTAL.'
    <label enabled="true">
    <position placement_mode="ByPoint" x="50" y="15" />
    <format>{%Value}{numDecimals:1}</format>
    <background enabled="false" />
    </label>
    </pointer>
    </pointers>This question was helpful for us to resolving one recent thread : AnyChart - set Dial axis intervals dynamically?
    (Re: AnyChart - set Dial axis intervals dynamically?
    Edited by: P.Ranish on Dec 13, 2012 6:23 AM

    P.Ranish wrote:
    Is there any update for this question ???
    Edited by: P.Ranish on Dec 13, 2012 3:36 AMNo, And there won't be in the future.
    Please stop posting followup's to old threads, if you have a real problem please search the forum first and post a new question with all information
    Roel wrote:
    Try using &P5_RUNNING_TOTAL. or #P5_RUNNING_TOTAL#Just to make it clear - this will only work if page is reloaded after setting the item values dynamically via AJAX

  • Cannot enter password into Windows 8.1 login screen

    I hve  brand new Pavilion 15-P016AX notebook, runnign Windows 8.1.
    I have not used it, simply gone through the user setup and connected to th internet. I assume some HP and/or Windows updtes have probably installed themselves in the meantime, but that would be the only change from the factory settings.
    On power-up, the first screen which comes up is the standard scren with a clock and the date. I click on this screen and a second screen appears, asking for my login password.
    I can click in to the password box, but any typing on the keyboard does not result in any entry to the password box. No asterisks appear at all.
    All other icons on this page are active, however. Even the icon (the right facing arrow) to submit the password is active.  I can submit the password, and I am told I have entered the wrong password. Other icons like the on/off icon are also active.
    Now, if I put the notebook into sleep mode, then awaken it, the same startup routine happens, but this time I can enter the password and log on.
    The onyl solution I can find is to disable passwords on my account, however I would prefer to have password protection.
    Any ideas?

    I unplug the keyboard from it's USB  socket, then re-plug it into the same, or another USB socket. This always works for me. The problem only occurs during approx20% of my login attempts seemingly at random.  I  bought new keyboard but this made no difference. I have a "power on" password set (in the BIOS) on my computer. There is never a problem typing this. The problem only occurs at the Windows login screen. I understand that this problem has been around since Windows XP. Maybe Windows 10 will fix it - or maybe it won't.
    I have an HP computer running Windows 8.1 that is set up to install updates automatically.

  • Bypass  login screen when parse HTML

    Hello all and hope you can help or point me to the right direction
    I have a simple application that reads all HTML Link from a given URL, open that URL�s and parse the text in these pages using HTML EditorKit.
    Some URL�s invoke a login screen which of course terminates the program.
    Is there any way I can bypass login information? Or automatically pass the right parameters?
    Is there any way that a browser can be invoked when encounter login pages, fill the right credentials and continue with the program?
    Thanks

    Is there any way I can bypass login information? No... kinda defeats the point of having a login page if you could.
    Or automatically pass the right parameters?
    Is there any way that a browser can be invoked when
    encounter login pages, fill the right credentials and
    continue with the program?Yes... if you know what those parameters are, it should be possible. You can submit form information to a URL using Java so provided you can get the form's URL when parsing the logon page then you can post the parameters necessary to get the redirect link.
    Whether it will actually work in a practical sense as the redirect maybe to a secure connection etc I don't know as I've never tried.

  • Integrating jQuery into my HTML

    So, I have a piece of test code which I created in jQuery and I would like to integrated/combine/link with my HTML already web design.
    The web-site created has a table with cells(fields) that I need to change dynamically.  I created test code in jQuery(Ajax) to achieve the
    dynamic feel and now I would like to integrate/combine into the existing cells(fields).
    I don't know if this is the correct/right way of doing things, but I created a file within my project folder called Ajax.js and here is where I
    would like to place my Ajax test code. 
    What is right way of calling this code from my index.html to run the script created in the Ajax.js?
    Thank you,
    Neil P.

    I am still getting the same error, here is where they are coming from:
    <div id="Config">
        <form action="index.html" method="post">
         <fieldset>
           <table>
               <tr>
                  <th>Selection</th>
                  <th>Wash Name</th>
                  <th>Dollar Amount</th>
                  <th>Bonus Tokens</th>
               </tr>
               <tr>
                  <td>#1</td>
                  <td>
                    <label for="Name1"></label>
                    <input name="Nb_var01" type="text" size="10" maxlength="8" value="Nb_var62">
                  </td>
                  <td>
                    <label for="Amount1"></label>
                    <input name="Nb_var66" type="text" size="10" maxlength="7" value="Nb_var66">
                  </td>
                  <td>
                    <label for="Bonus1"></label>
                    <input name="Nb_var70" type="text" size="10" maxlength="2" value="Nb_var70">
                  </td>
                </tr>
                <tr>
                  <td>#2</td>
                  <td>
                    <label for="Name2"></label>
                    <input name="Nb_var02" type="text" size="10" maxlength="8" value="Nb_var63">
                  </td>
                  <td>
                    <label for="Amount2"></label>
                    <input name="Nb_var67" type="text" size="10" maxlength="7" value="Nb_var67">
                  </td>
                  <td>
                    <label for="Bonus2"></label>
                    <input name="Nb_var71" type="text" size="10" maxlength="2" value="Nb_var71">
                  </td>      
                </tr>
                <tr>
                  <td>#3</td>
                  <td>
                    <label for="Name3"></label>
                    <input name="Nb_var03" type="text" size="10" maxlength="8" value="Nb_var64">
                  </td>
                  <td>
                    <label for="Amount3"></label>
                    <input name="Nb_var68" type="text" size="10" maxlength="7" value="Nb_var68">
                  </td>
                  <td>
                    <label for="Bonus3"></label>
                    <input name="Nb_var72" type="text" size="10" maxlength="2" value="Nb_var72">
                  </td>
                </tr>
                <tr>
                  <td>#4</td>
                  <td>
                    <label for="Name4"></label>
                    <input name="Nb_var04" type="text" size="10" maxlength="8" value="Nb_var65">
                  </td>
                  <td>
                    <label for="Amount4"></label>
                    <input name="Nb_var69" type="text" size="10" maxlength="7" value="Nb_var69">
                  </td>
                  <td>
                    <label for="Bonus4"></label>
                    <input name="Nb_var73" type="text" size="10" maxlength="2" value="Nb_var73">
                  </td>
                </tr>
           </table>
           <p> </p>
           <p> </p>
           <table>
              <tr>
                <th>Location Name</th>
                <th>
                   <label for="Location"></label>
                   <input name="Nb_var65" type="text" size="45" maxlength="38" value="Nb_var65">
                </th>
              </tr>
           </table>
           <table>
              <tr>
                <th>Welcome Message</th>
                <th>
                   <label for="Welcome"></label>
                   <input name="Nb_var74" type="text" size="45" maxlength="25" value="Nb_var74">
                </th>
              </tr>
           </table>
           <p> </p>
           <div class="center2">
             <input type="submit" name="Submit" id="Submit" value="Submit Changes"/>
           </div>
           <p> </p>
         </fieldset>          
        </form>
       </div>
    The whole code snippet is encapsulated in a <div>, in a <form>, in a </fieldset> so I don't know where the error is coming from?  Because
    <label for="Name1"></label>
    for="Name1"   is an element of that form that encapsulate the entire table.  I even includeded the fieldset encapsulation, which I don't think was necessary, but
    nevertheless is there.
    By the way, I also removed the sprytextfield of.
    Can you see what am I doing wrong or is W3 causing this to be an error when it shouldn't be?

  • I updated my iMac to lion and now when i leave my desktop and it goes into stand by it like a picture is taken of the screen and when i want to log in the mouse point removes pixels so i can get to the user login screen this never happened ith snow leopar

    i upgraded my iMac to lion and now when i leave my desktop and it goes into stand by mode, its like a picture is taken of the actice desktop and when i want to log in the mouse point removes pixels so i can get to the user login screen this never happened ith snow leopard. does anyone else experience this and is there a fix?

    I have an iMac 8, 1 that I upgraded Leopard to Snow Leopard.  It was totally updated with the latest from Apple when I bought and tried installing Lion.  The upgrade failed, shot my OS and I couldn't boot.  Had the constant spinner on a grey screen..  did a format of the drive, hdd repair and everything came back clean... got back to Snow Leopard and all the updates on it again and then retried the Lion thing... same bs... dead duck.  Crashed my system one too many times.  I can't see where a few small changes, mostly app related can be classified as an OS upgrade and is not compatible with my iMac.  I have the stuff running on my Mac Pro but have yet to notice anything impressive.  I've always used F3 and really didn't require Mission Control.  Just open you app folder for launch pad... duh?  I use the hot corners anyhow.  As far as Safari is concerned... as a power user, Apple missed the boat on that for me.. full screen etc.. Wow.  I don't like the new Mail either..
    As you can see/read, I'm less than impressed with this release from Apple but I own so many of their products that I will have to put up with it for now... somehow the MS logo should apply to this release Steve.

  • Login screen comes up repeatedly, booting into safe mode by default

    Good Morning,
    I have an iMac (Lion 10.8) that is having a lot of trouble.  I manage an Elementary School's IT fleet.  At the end of last year, the computer was booting into Safe Mode by default.  Once the system came up, the teacher could use it - but it took so long to boot that she chose not to.  The teacher left the school, and I was planning to just format it and reimage.  Here is what I have happening. 
    Boots into safe mode on it's own
    Once it's done booting, the login screen shows up - but entering any credentials just gets a grey screen, and the login screen comes right back.  Even root.  Which means I can't get logged into the computer at all. 
    Recovery mode will not allow me to erase the drive, says failed and not able to access the drive. 
    Target mode will also not allow me to erase the drive, nor will it allow me to push over an image.  Scanning the drive failed, busy. 
    Disk repair says unable to repair disk - please format. 
    These are the things I have tried. 
    Reset PRAM (three times over the course of troubleshooting)
    Replaced the RAM completely
    Unplugged 15 seconds trick
    Accessing via Target mode - Drive is greyed out, but shows up
    Ran FSCK manually, and it completed
    Tried to do a netinstall, but the disk does not show up in netboot as an option. 
    I thought maybe the drive was bad, but considering that it will boot into safe mode eventually (although you can't login), and FSCK completed successfully -  I'm just not sure!  I just thought I'd pick your brains.  I'm usually a Windows \ Linux Administrator, so this Apple business is new to me   I'm learning!  Although I find them frustrating.  Any help would be greatly appreciated! 
    Thank you

    I thought maybe the drive was bad, but considering that it will boot into safe mode eventually (although you can't login),
    Some part of the disk may be bad while others are good.  i/o could be trying multiple times and eventually succeeding.
    Ran FSCK manually, and it completed
    You run FSCK in single user mode?  This is very surprising.  FSCK verifies the filesystem is in order.  Actual data blocks could be bad. Would be a surprise if no file system blocks were not also bad.
    Except for this fact, it seems like a hd problem.  Intermediate problem.  Heat problem, etc.
    Time to try a different hd.  See if that works.  Could be some other hardware problem.  Try external drive/flash drive, etc.
    Mac OS X is BSD Unix.

  • I am trying to log into my account but get stuck at the login screen

    Whenever I try to log into my account it starts thinking for a minute or two and then brings me back to the login screen.Is there something wrong with the account access?

    There is a known problem and I am having exact same issue. Power cycling and internet cache does not fix the issue. When a connection to a server fails it has nothing to do with caching issues. It is a network issue on AT&Ts end in a localized region. It works in multiple towers in various locations but does not work where I am. I have reported this to AT&T.

  • Problem establishing login screen when ethernet plugged into NetComm NB5Plu

    Problem establishing login screen when ethernet plugged into NetComm NB5Plus4
    I get a flashing folder that does not allow the login page to appear.
    If I remove the ethernet connection then boot-up the system establishes the login page and I can plug the ethernet back in and the system logins in.
    Where should I look to identify the problem, I am thinking it is the OS X install.
    Regards
    Si

    Hi hoydj,
    It might be a driver problem. Check out this FAQ from Wacom's Knowledge Base:
    http://www.wacom.com/faqs/knowledge_search.cfm?id=335

  • When I boot into Win7 I see the windows boot up logo, the. I see my mouse and the screen goes black! It goes black in the login screen, I type my password and I hear the login sound but when I press F2 the brightness won't change! Please help!!!

    When I boot into Win7 I see the windows boot up logo, the. I see my mouse and the screen goes black! It goes black in the login screen, I type my password and I hear the login sound but when I press F2 the brightness won't change! Please help!!!

    Hi Emma,
    Thank you for using Apple Support Communities. 
    I understand that your Thunderbolt display is just showing a black screen when you boot your computer. The following article should be of help in troubleshooting your display. 
    Apple computers: Troubleshooting issues with video on internal or external displays - Apple Support
    Cheers, 
    Jeff D. 

Maybe you are looking for

  • Selected resource does not exist

    Trying to download a file my teacher has posted for a Live Lesson. Get that the selected resource does not exist, gives link to Adobe Connect, I make sure I have latest download, but does not help, Don't know what to do?

  • Complaint

    Please help am at the end of my tether feel very stressed and worried, having been a loyal customer of bt for 15 years I upgraded to bt vision with broadband only to find it never worked , I complained over twenty times often being on the phone for u

  • How do I organise bookmarks so they appear in a permanent column at the left side of the Firefox window?

    I use Windows 7

  • Territory management -acount assignment

    hi Gurus, I want to use territory management so be able to successfully establish relationship between Accounts & Territory. to see the automatic determination of territories to which account is assigned under 'Territories' assignment block on Accoun

  • Edit with Photoshop inactive

    Hi Folks, Didnt find anythin about this problem so maybe someone can help. Currently Using Lightroom 3.0 64b Photoshop CS5 Extended 12.01 64bit All the Options in Lightroom for Editing in Photoshop are inactive. Means, i cant use 'Edit in Photoshop'