Verify_function doesn't display the error messge in oracle forms

We are planning to use the verify_function to validate the password when user password is expires.
The users are using Forms 6i on web.
When I set the profile to user verify_fucntion and then try to change the password with the default password change window , it doesn't display the error message if the crieteria doesn't match. Instead it just clears the screen. So the user doesn't get any idea what's going on.
has anybody seen this. We are trying to utilize the default password change functionality instead of coding our own.....in forms
Thanks,
Dj

It can be that the spry:content does not support the function::<syntax> or that your impelementation is wrong. You can try this:
spry:content="function::FormatDate"
Like you would implement the function statement in the spry:if statements.
If that doesn't do the trick you need to modify the SpryData.js if you need this kind of support.

Similar Messages

  • Automatically displaying the error text for a form field when the validator fails?

    Hi,
    Flex 2 has a very nice feature to display custom text next to
    a form field whose validation failed. But the user has to move the
    mouse over the form field to display the text. Is there a way to
    invoke this feature programmatically?
    What I would like to do is validate form fields on submit and
    - if validation fails for a form field - set focus on that form
    field and automatically display the custom error text in the red
    blurb. Focusing works fine but I cant' get the text to render...
    Markus

    Thanks Bregent.
    Weirdest thing...I just tried a Google search for a solution to this problem and came across another thread on this forum.  By the time I got to the bottom of it I realised one of those taking part was myself from years ago!  Jeesh, been here before or what!
    Changed my recordset to...
    <%
    Dim rsPROP__MMColParam
    rsPROP__MMColParam = "0"
    If (Request.Form("categoryID") <> "") Then
      rsPROP__MMColParam = Request.Form("categoryID")
    End If
    %>
    <%
    Dim rsPROP__MMColParam1
    rsPROP__MMColParam1 = "1"
    If (Request.Form("categoryID") <> "") Then
      rsPROP__MMColParam1 = Request.Form("categoryID")
    End If
    %>
    <%
    Dim rsPROP
    Dim rsPROP_cmd
    Dim rsPROP_numRows
    Set rsPROP_cmd = Server.CreateObject ("ADODB.Command")
    rsPROP_cmd.ActiveConnection = MM_cs_STRING
    rsPROP_cmd.CommandText = "SELECT prodid, product, categoryID FROM dbo.products WHERE ISNULL(?,0) = 0 OR categoryID = ?"
    rsPROP_cmd.Prepared = true
    rsPROP_cmd.Parameters.Append rsPROP_cmd.CreateParameter("param1", 5, 1, -1, rsPROP__MMColParam) ' adDouble
    rsPROP_cmd.Parameters.Append rsPROP_cmd.CreateParameter("param2", 5, 1, -1, rsPROP__MMColParam) ' adDouble
    Set rsPROP = rsPROP_cmd.Execute
    rsPROP_numRows = 0
    %>
    ...and it works fine.
    Appreciate the help. I would have taken your advice and done an If Else on the WHERE clause to acheive the same.
    Thank you.
    NJ

  • Why the validator can't display the error message on the popup dialog?

    I have input text with a validator and a custom ok button and a cancel button on the popup dialog.When I click the ok button,the validator will validator the input value on the input text,but it just close the popup dialog without display the message firstly.The point is it does validate the value but doesn't display the message.Can anybody help?

    It seems if I use the button which is associated with the dialog the validator works well,but if I use the custom button the error message doesn't display. the environment is 11g.
    the code of the page is :
    <af:form>
    <af:popup id="copyPopupDialog" contentDelivery="lazyUncached">
    <af:dialog title="validator" closeIconVisible="false" type="none">
    <af:inputText id="copyReportsetCode" styleClass="" label="code"
    value="11"
    validator="#{reportSetManagedBean.validatCode}"></af:inputText>
    <f:facet name="buttonBar">
    <af:panelGroupLayout layout="horizontal" halign="right">
    <af:commandButton text="ok"/>
    <af:commandButton text="cancel" immediate="true"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:dialog>
    </af:popup>
    <af:commandButton text="commandButton 1">
    <af:showPopupBehavior popupId="copyPopupDialog"/>
    </af:commandButton>
    </af:form>
    the code of the managedbean is:
    package david;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.validator.ValidatorException;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import java.util.regex.Pattern;
    import javax.faces.application.FacesMessage;
    import javax.faces.application.FacesMessage;
    import javax.faces.application.FacesMessage.Severity;
    public class ReportSetManagedBean {
    public ReportSetManagedBean() {
    public void validatCode(FacesContext facesContext, UIComponent uIComponent,
    Object object) {
    FacesMessage msg = new FacesMessage("eror");
    throw new ValidatorException(msg);
    }

  • WEB.SHOW_DOCUMENT sometimes doesn't display the generated PDF file

    Hi all,
    I'm using the following code to generated my report from Forms:<br><br>
    V_REPORT_ID := FIND_REPORT_OBJECT(V_REPORT_NAME);
    V_REPORT_SERVER_JOB:= RUN_REPORT_OBJECT(V_REPORT_ID,P_LIST);
        V_JOB_ID := substr(V_REPORT_SERVER_JOB,length(:GLOBAL.REPORTS_SERVER)+2,length(V_REPORT_SERVER_JOB));
        V_REPORT_STATUS := REPORT_OBJECT_STATUS(V_REPORT_SERVER_JOB);
    LOOP
       IF V_REPORT_STATUS = 'FINISHED' THEN          
          V_TMP_PDF := :GLOBAL.APACHE_HTML_FOLDER ||'rpt'|| V_JOB_ID  ||'.pdf' ;
         COPY_REPORT_OBJECT_OUTPUT(V_REPORT_SERVER_JOB, V_TMP_PDF );
        WEB.SHOW_DOCUMENT(:GLOBAL.AS_HOME_URL ||  'rpt'|| V_JOB_ID  ||'.pdf' ,'_BLANK');     
        END IF;
    END LOOP; <br><br>
    Everything works fine except the WEB.SHOW_DOCUMENT part. In some clients, this command does what it required from it and opens a new browser window with the PDF report displayed on it. In some other clients, this command does nothing: now window dispalyed. When I refer to the Application Server, I see the PDF report successfully generated there. When I put the URL of the generated report manually in the browser address, I can see the report.
    <br><br>
    <b>Why the WEB.SHOW_DOCUMENT doesn't display the generated PDF report in some clients?</b>

    I agree with the previous 2 posters.
    Also firefox and ie handle it differently. Make sure you test on what your clients use.
    Sometimes acrotray.exe is completely retarded and doesn't work.

  • Has Mozilla changed the way Firefox displays @font-face enbeded fonts? The site I'm codeing works in Safari, Chrome, and IE, but Firefox 8.0.1 doesn't display the embeded font.

    Has Mozilla changed the way Firefox displays @font-face enbeded fonts? The site I'm codeing works in Safari, Chrome, and IE, but Firefox 8.0.1 doesn't display the embeded font.

    No problems here with the H1 headers.
    Reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)

  • My iphone 6 doesn't display the battery duration values

    My iphone 6 doesn't display the battery duration and standby in battery settings, and replaces the values with - even if I completely charged my battery last time. Can someone help me?

    Try these two:
    Restore from backup
    Restore as new
    http://support.apple.com/en-us/HT201252

  • After updating iPhoto to 9.2 Photoshop CS2 doesn't display the photo I have opened.  The photo shows in the Navigator on the side panel, but not on the screen.  MFF

    After updating iPhoto to 9.2, Photoshop CS2 doesn't display the photo on the desktop screen, even though the image is shown in the Navigator pallet well to the right.

    No, that is the problem.  I don't see how it should be, but that is what happened after I did the upgrade, which was for iPhoto 9.2.  The upgrade then required that the Library be upgraded.  Then CS2 stopped showing the photo when I opened CS2.  Maybe there was a system upgrade for the whole system, that went along with 9.2.  Before the upgrade CS2 worked.  I even tried photos that I had on backup disks, and they wouldn't show in CS2 even though I had draged them to the PS icon in the dock.  These photos were not on my computer when the Library was upgraded.  I even tried photos fresh from the camera. Elements 9 does work to open the photos.

  • Bank transfers: the file DME doesn't display the name of the company

    Hi all,
    In the DME file created by t.code F110, the record 20, doesn't display the name of the company which orders the bank transfer.
    Where should I put it?
    Thanks

    Neeraj,
    Its ECC6.0 and I upload the file by going into their website and putting userid and password and then upload the fiel over there and click send.Is there any possibility the file contains any hidden characters which we dont see? where should I send you dummy file whats your email id.
    Regards
    Shaun

  • Every time I try to access the ASPX pages, the browser doesn't display the pages. Instead, a popup box asks if I want to open or save

    every time I try to access the ASPX pages, the browser doesn't display the pages. Instead, a popup box asks if I want to open or save

    What site is doing this? 99% of the time it is a problem with the headers sent from the web server.

  • Some browser doesn't display the MW page correctly

    after installing Maintenance Wizard 2.17, some browser doesn't display the MW page correctly, some menu function is missing. The display problem is not for everyone, some user's browser have no problem. Some user's IE are displaying it correctly. i.e. one user has both IE and firefox working, however, after she clear her java cache, both browser refuses to display the MW page correctly.
    The resolution of PCs is set to the same value. however, the size of the text isn't. after changing the size of the text, some of our pc start to work. The display web page for MW doesn't show the right most menu item. After resize the screen, we find it is because of the blue frame for the MW page that stop to dynamical stretch up to 20 inches.
    The menu item is been streched out of the blue frame, they are no longer displayable
    any ideas?

    We have the same problem.
    And find it is caused by a combination of your screen resolution, font size and browser window size.
    The blue frame that displays the Oracle Mainentance Wizard banner doesnt dynamical strech to the full window size.
    After experiment with it, MW can display much better in our case.

  • Re: my notebook doesn't display the red color

    I think I have the same or a similar problem.  I have a AMD A4-6210APU with radeon r3 graphics 1.8 ghz running 64 bit windows 8.1.
    Since updating the graphics driver last week I have noticed the colour red seems more pink or purple.  This is particularly notable as a lot of my buttons and icons contain scartlet as the principle colour.  I only purchased the laptop in August so I doubt this is due to a deteriation of the hardware and therefore seems to be an issue with either the display driver or the display settings.
    I have attempted to rectify the problem by resetting the display settings to default.
    This partidular model does not appear to have any contrast settings built into the controls, therefore I have no way to adjust the colours manually.

    Hello @pittstop,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I have read your post on how your notebook doesn't display the red color on the screen, and I would be happy to assist you in this matter!
    To ensure that your system is installed with the correct graphics software, I recommend installing the original software and hardware drivers that first came with your computer. This can be done by following the steps in this document on Using Recovery Manager to Restore Software and Drivers (Windows 8). Once the software is installed, please update the chipset and graphics drivers Using HP Support Assistant (Windows 8).
    I would also encourage you to post your product number for your computer. Below is a is an HP Support document that will demonstrate how to find your computer's product number. In addition, it will also help if you indicate whether your operating system is 32 or 64 bit. The more information you can provide, the better!
    How Do I Find My Model Number or Product Number?
    Is the Windows Version on My Computer 32-bit or 64-bit?
    Please re-post with the results of your troubleshooting, as well as the requested information above. I look forward to your reply!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • IMac running 10.8.6 doesn't display entire desktop?  Reset display to various options and it doesn't display the entire desktop.

    iMac running 10.8.6 doesn't display entire desktop?  Reset display to various options and it doesn't display the entire desktop.  (asking for a friend, not my iMac)

    I think you wanted to say 10.6.8. 10.8.6 does not exist.
    The first thing I think is that zoom may be enabled. On Mac OS X 10.6.8, a way to disable it is to hold the Control key and scroll down with the mouse or trackpad until you can see the whole display. Another way would be to disable zoom in System Preferences > Universal Access

  • My iphone 4 music player doesn't display the arabic songs names ?

    My iphone 4 music player doesn't display the ARABIC songs names ?

    ok i found the solution here by deleting the corrupted library
    http://portablevideo.blogspot.com/2008/12/music-player-database-problems.html 
    now one of these below is for the music and one for the photos and i didnt have a problem with the photos but did it anyways and now the player can see my music:
    these are the files that need deleting in order to get rid of the corrupted library.
    Storage Drives: (Mass storage E, Memory Card F)
    \private\101ffca9\harvesterdbvx_x.dat
    \private\10281e17\[string]mpxvx_x.db
    \private\10281e17\[string]pcvx_x.db 
    TIP: Connect the device in USB mass storage mode (File Transfer), to locate the private folder from the PC.
    TIP: STRING and x_x will change depending on your phone. (my files had slightly different names than above on the n97)

  • How to not display the error message ?

    hi everybody,
    I would like to know if it is possible to not display the error message in BO XI R2 when I try to refresh my reports ?
    (like "the query bla bla does not fetch any data...")
    Thanks for your help,
    Mario

    I've found this method to not display this error message but  the problem is that the prompt message when you refresh the report are not displayed:
    Has someone an idea ?
    Private Sub Document_BeforeRefresh(Cancel As Boolean)
    Application.Interactive = False
    End Sub
    Private Sub Document_AfterRefresh()
    Application.Interactive = True
    End Sub
    Edited by: Pascolo Mario on Oct 22, 2008 4:35 PM

  • How to create a task list view in c# that doesn't display the timeline

    How can I create a view for a task list using c# that doesn't display the timeline.  I want to do this using server side code but I can't seem to find a view property that will hide the timeline.  I know how to do it manually through the UI but
    I need to automate it.
    Caroline

    Hi Garoline,
    We can set ViewData of the view to empty to achieve your requirement. The following code snippet for your reference:
    using (SPSite site = new SPSite("http://sp2013sps/"))
    using (SPWeb web = site.OpenWeb())
    SPList list = web.Lists["TaskList"];
    SPViewCollection allviews = list.Views;
    string viewName = "Test View";
    System.Collections.Specialized.StringCollection viewFields = new System.Collections.Specialized.StringCollection();
    viewFields.Add("Checkmark");
    viewFields.Add("LinkTitle");
    viewFields.Add("Due Date");
    viewFields.Add("Assigned To");
    string myquery = "<where><gt><fieldref name='ID' /><value type='Counter'>0</value></gt></where>";
    allviews.Add(viewName, viewFields, myquery, 100, true, false);
    SPView view=list.Views[viewName];
    view.ViewData = "";
    view.Update();
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for