How to refresh the Expired Login Form on the onChange event of the password

Hi,
In the Expired Login Form I have places a custom label. My requirement is that on the onchange event of the password field the label color should change to orange if the entered password meets the password policy else red.
I am trying the following code :
Custom label:
<Field name='Custom Label'>
<Display class='Label'>
<Property name='value' value='Custom label 1'/>
<Property name='noNewRow'>
<Boolean>true</Boolean>
</Property>
<Property name='color'>
<block>
<cond>
<isTrue>
<invoke name='checkStringQualityPolicy' class='com.waveset.ui.FormUtil'>
<rule name='EndUserRuleLibrary:getCallerSession'/>
<s>Default Password Policy</s>
<invoke name='decryptToString'>
<ref>resourceAccounts.password</ref>
</invoke>
<map/>
<list/>
<s>Configurator</s>
</invoke>
</isTrue>
<s>orange</s>
<s>red</s>
</cond>
</block>
</Property>
</Display>
</Field>
And on the password field i gave following in the onChange event:
submitCommand(this.form, "Recalculate")
But the above command is not refreshing the page. Instead on the onChange event its going back to the login.jsp.
Any idea how to resolve the above issue.
Thanks.

I got it working as below but i dont know is this best practices?
<%
    if(session.getAttribute("afterSet") != null){
         %>
    <div style="visibility:hidden">
      <iframe NAME="iframe1" src="/WebApplication2/TestController?fileDownload=test.pdf" WIDTH="40" HEIGHT="40"></iframe>
    </div>
    <%}       basically first time user visit the jsp page session attribute "afterSet" will be null so it wont create the hidden iframe tag . after it dispatched to the servlet controller and successfully processing the record it will set "afterSet" properties to some value and dispatch to itself
after that it will popup/dialog box for user to save the pdf.
this way the page already refreshes itself and wont have problem double clicking thing and so on

Similar Messages

  • I haven't used my desktop iMac in a long time and can't get pass the opening login...I thought I remembered my password, but, apparently not.  How do I change it.  I don't THINK I have a "master password" on the thing.  I've never used one on any of

    I haven't used my IMac in a long time and went to boot it up, and I find I don't remember the correct username and password (I use several computers..I try to keep the passwords similar, with a number for the chronological order in which I started using them) I've tried all the others I use for passwords. The 'hint" keeps coming up for the password I am pretty sure is the correct one, but, still cannot get in.  I also don't remember whether I changed my surname on the computer...it was changed legally a little while ago, but some of my older devices still have my birth-name in there)
    HELP
    I don't think I ever set up a "master password" on the thing...I never use those.  I am the only person with access to my personal devices.
    thanks

    Forgot Your Account Password
    For Lion, Mountain Lion, or Mavericks
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see:
           Reset a Mac OS X 10.7 Lion Password
           OS X Mountain Lion- Reset a login password,
           OS X Mavericks- Solve password problems,
           OS X Lion- Apple ID can be used to reset your user account password.
    For Snow Leopard and earlier with installer DVD
         Mac OS X 10.6- If you forget your administrator password,
         OS X- Changing or resetting an account password (Snow Leopard and earlier).
    For Snow Leopard and earlier without installer DVD
        How to reset your Mac OS X password without an installer disc | MacYourself
        Reset OS X Password Without an OS X CD — Tech News and Analysis
        How To Create A New Administrator Account - Hack Mac

  • How to create a simple input form in BPC 10.0 and the details are below

    Hi Experts,
    I would like to know how to create attached input form and what are the dimension would require to use in order to populate correct report
    Please provide your comments and the sample report has been attached.
    MGA Index
    Column
    Head Count Planning Required
    Approver authority
    Asset
    Row_Cost Center
    Business Development
    Finance
    Procurement -
      C&P
    Legal
    HSS &  Environment
    Petroleum Engg
    Drilling
    Subsurface
    Thanks in advance.
    Regards,
    SK.

    Hello,
    The new update of Muse allows you to use the Webforms widget with a non Business Catalyst host as well.
    However, Captcha is something which currently cannot be used via Muse without using Business Catalyst as host.
    This document might be of some help : http://forums.adobe.com/docs/DOC-3581
    Regards,
    Sachin

  • Where can i find the user login form

    Hi everyone
    Do you know the name of the end user login form? I want to add a button on it but i don't know where i can find it.
    Somebody has an idea?

    Thanks everyone
    I found the solution in the login.jsp (idm/user/login.jsp). I will just add a link which will execute a workflow.
    I needed to have the number of failed login attemps. So I uses this code in the login JSP
    com.waveset.server.Server _server = com.waveset.server.Server.getServer();
        com.waveset.repository.Repository _repo = _server.getRepository();
        com.waveset.object.WSUser uo = (com.waveset.object.WSUser)_repo.getIfExists(com.waveset.object.Type.USER, "test");
        int nb = 0;
        if (uo != null ) {
            com.waveset.object.ObjectCache _serverCache = _server.getCache();
            uo.setCache(_serverCache);
            nb = uo.getFailedPasswordLoginAttemptsCount();
            %>
                The user is not null <BR>
                nb == <%=nb %>
            <%
        else{
            %>the user is null <BR><%
        }good luck.

  • How do you use a different form of payment on iBooks than the one on the family sharing account?

    With family sharing, the Family Organizer is the only one that can pay for items in iBooks and other stores. Is there a way to use your own individual form of payment instead?

    Archive the contacts you have in Address book, then delete them, they will be removed from iCloud as well. Restore the archive

  • Executed as user: ADMIN\abc-SQLServer. Linked servers cannot be used under impersonation without a mapping for the impersonated login. [SQLSTATE 42000] (Error 7437). The step failed.

    Hi All, 
    We have verified permissions on both sides,current server and linked server, the user has sysadmin.
    Another key piece of information is that this is happening when executing a SQL Job.
    Thanks.

    Related:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/328616e9-42cb-40d7-a4b1-671d6a492d8f/linked-servers-cannot-be-used-under-impersonation-without-a-mapping-for-the-impersonated-login?forum=sqldatabaseengine
    https://support.microsoft.com/kb/2492477?wa=wsignin1.0
    http://sshakespeareblog.co.uk/2013/07/31/sql-linked-server-and-sql-server-agent/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • How can I reserve resources or rooms when creating an event in the Calendar (Exchange)?

    On our Exchange server we have configured a number of conference rooms and other resources that users can book/reserve through Outlook when creating events.  When I create an event in the iPhone on my Exchange calendar, if I add a location the option does not exist to book rooms/resources (even if I add in the resource word-for-word as it exists on Exchange server). I am also unable to book it if I invite the "Contact," if I may call it that, from our Global Address List.   Does this capability exist in the iPhone?

    I can't seem to do this successfully. I use the GAL to select the room, but when I send out the meeting I immediately get an automated response back that the delivery failed. I heard this may be because the iPhone OS does not distinguish between a normal attendee and a resource. Yet you seem to have it working. What version of Exchange are you using. Is it on Mac or PC?  We are about to upgrade from Exchange 2003 to 2010, maybe that will help solve this?
    Also, (this may just be semantics) on the iPhone under "Mail, Contacts, Calendars" the Exchange configuration is set to "on" to sync calendars. Is this the same as having the Exchange calendar "set as the default calendar" mentioned above?

  • Tabular Form : Select list : onchange event

    I need a method / example to apply an Onchange event to a Select List in Tabular form.
    Whenever an item from the select list is selected, the data from other column of the same or different Table should get displayed,
    in a Textfield of the Tabular form.
    Yogesh

    Hi,
    Here is one example
    http://apex.oracle.com/pls/otn/f?p=31517:176
    Br, Jari

  • I am synching my ipad and iphone with icloud. Events put in calendar go to the iphone, but if i enter an event on the iphone, it does not go to the ipad. What do i do to get this to work both ways?

    I am synching my ipad and iphone with icloud. Events put in calendar on ipad  go to the iphone calendar,, but if i enter an event on the iphone calendar, it does not go to the ipad. What do i do to get this to work both ways?

    OK Vicky, good clues...
    See if this helps...
    Open Keychain Access in Utilities, use Keychain First Aid under the Keychain Menu item, then either check the Password under that item, change it, or delete it and start over. See if there are duplicates, should be one for Incoming & one for Outgoing.
    Resetting your keychain in Mac OS X...
    If Keychain First Aid finds an issue that it cannot repair, or if you do not know your keychain password, you may need to reset your keychain.
    http://support.apple.com/kb/TS1544

  • What is the Oracle 12c Forms & Reports relase? what are the key benefits of Product?

    Hi All,
    Actually I heard from Oracle learning streams . Oracle 12c forms builder planned to release.  what are the key features of release . when it is available in OTN ?
    I have the following questions : (  Any one can answer me )
    1. In Forms Builder PL/SQL Editor why don't we implement the CODE / syntax checker?
    2. Is it possible to have the PL/SQL in built features automatically popup as soon as input the command by user ?
    3. Is it possible to implement the Forms product without web browser help , I mean independent controller contacts through back end web logic server ?
    4. Is It Possible to have more user friendly forms product, I mean fields editing at run time? or more features?
    5. Will be getting the Migration assistance tool for 11g r2 to Oracle 12c ?
    Many thanks in advance, will appreciate your highly attention on the same .
    Thanking you & Best Regards
    Purushotham M

    Find out the answer to all your questions today April 30th at 1pm eastern time when Oracle Forms PM Michael Ferrante does a webinar with AuraPlayer (www.auraplayer.com) with a sneak peak of Forms 12c.
    You can register here
    https://attendee.gotowebinar.com/register/8223447940783281921

  • Does the default login entry point have to be on the leftmost tab?

    I have a page that is within the role at the rightmost position of my top-level navigation, and I want that page to be displayed first when a user logs into the portal.
    Is it posible to override the default landing page being the entry point of the leftmost tab?

    Hi John,
    Why cant a "quick link" be established.
    When logging into portal use the quick link to login. I think using this concept you role can be opened by default when logged in.
    Check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/97/b0ef8b24a64ae884f0ab246e54cae5/frameset.htm
    Search for quick link in help.sap.com
    Regards
    Arun

  • Firstly please fix the freaking login redirect loop to sign in to the forums in Safari and Chrome particularly... This is IMMENSELY frustrating!

    I think the title is self explanatory...

    Although I prefer FF,  when FF gives me trouble, I switch to Chrome and it works just fine on this forum. No loops with the log-ins for me.
    Are you running any browser add-ons?
    Are Ad Blockers turned on? Try turning them off.
    Have you disabled Cookies?  Try turning them on.
    EDIT.  JavaScript is essential to use this forum.  If it's disabled, you won't get very far.
    Nancy O.

  • Will the expiring CCNP route exam still be valid with the newer Troubleshoot and switch 2.0 exams?

    Hi everyone,
    I plan on taking my CCNP (route) exam within the next month but I just notice that the exam will only be valid until Jan of 2015. Now my question is that if I take the exam older exam will it still be valid to combine the newer  "Trouble shoot 2.0" and "Switch 2.0"? I would like to take the current route test instead of the newer version becaue I've been studying it but I like to know if it will be uselss or not when combining the other to make myself an official CCNP certification holder. 

    I have found on search:
    Q. Can I mix the current exams with newer exams to achieve CCNP Routing and Switching?
    A. Yes, it is possible to mix version 1 and version 2 exams, but if you completed version 1 exams for ROUTE or SWITCH, then you will need to prepare version 2 ROUTE & SWITCH as well in order to pass the TSHOOT v2 exam because the TSHOOT v2 exam assumes knowledge of ROUTE v2 and SWITCH v2 topics.
    The answer is unclear, yes you can mix, but you will have to prepare for version 2. I hope it's wrong information.

  • What is the best application to sync meetings and events through the iPhone and iPad with Outlook work e mail

    i need my secritart to place events on my calendar through an application without having to go through my works calendar ,,
    for example if there is an event sceduled for tomorrow i want them to just log into the app assign the event date and time on the calendar and it will automatically be synced on my iphone's / ipad's calendar and alurt me without me having to accept the event
    is there such an app?

    Note, I'm on the latest iOS - not 6.1.1 as the original post suggests.

  • Customize expired password login form

    Hi,
    On the expired login form I don't want to display the resource accounts table so the user can change only Lighthouse password if the password is expired.
    since expired login form uses User Form Library, I copied the default one and renamed it and modified the customized User Form Library accordingly. I managed to removed the resource accounts table so that it displays only 2 text boxes Confirm Password and Confirm New Password. After entering the password and when I click on the Change Password button it displays error "Must Select Atleast one resource account".
    The Change Password button is doing some validation, and I am not sure in which form library this button is defined. I checked in Change Password Form it contains buttons but I don't see any validation on these buttons.
    Where exactly the Change Password button is defined?
    Is there any other way to customize the expire login form?
    Any ideas please..
    Thanks
    Edited by: idmus on May 19, 2010 1:24 PM

    What you describe should work, you just need to simulate the user selecting one or more resources.
    So somewhere on the form put code like:
        <Field name='resourceAccounts.currentResourceAccounts[RESOURCE].selected'>
            <Expansion>
                <s>true</s>
            </Expansion>
        </Field>This acts as if the user has selected a resource. Kind of a weird way to do it, but there you go.
    Edited by: etech on May 24, 2010 4:38 PM
    Edited by: etech on May 24, 2010 4:39 PM

Maybe you are looking for