Validation not working when application is in portal

hi i have a stuation where my unique validation are working when i run application as standalone but when i put application in portal is working ,am adding my application in portal by creating ADF JAR and aadd the jar in my portal,am in jdeveloper 11.1.1.6.0

am doing validation in entity level
<validation:UniqueKeyValidationBean
    Name="UamOrganisations_Rule_0"
    ResId=".model.entities.UamOrganisations_Rule_0"
    KeyName="AltKey">
    <validation:OnAttributes>
      <validation:Item
        Value="Organisationname"/>
    </validation:OnAttributes>
  </validation:UniqueKeyValidationBean>
is still not working even if i set immediate=true
<af:inputText value="#{bindings.Organisationname.inputValue}"
                                  simple="true"
                                  columns="20"
                                  maximumLength="#{bindings.Organisationname.hints.precision}"
                                  shortDesc="#{bindings.Organisationname.hints.tooltip}"
                                  id="it1" autoSubmit="true" required="true"
                                  immediate="true">
                      <f:validator binding="#{bindings.Organisationname.validator}"/>
                    </af:inputText>

Similar Messages

  • Breadcrumb in BSP is not working when application is called inside Portal.

    Dear All,
                We have implemented SAP Learning Solution by integrating it with SAP EP 7.0.
    We called the BSP Application HCM_LEARNING inside portal  using BSP iView template.
    The problem we are facing is, the breadcrumbs in the BSP application "HCM_LEARNING"  is working fine when it is called as a standalone application. But the same is not working when it is called inside portal framework page.
    Enterprise Portal breadcrumbs are working fine.
    How could we resolve this.?
    Regards,
    Eben Joyson.

    this is the radio button
    <af:selectOneRadio value="#{bindings.Gender1.inputValue}"
                                                     label="#{bindings.Gender1.label}"
                                                     required="#{bindings.Gender1.hints.mandatory}"
                                                     shortDesc="#{bindings.Gender1.hints.tooltip}"
                                                     id="sor5">
                <f:selectItems value="#{bindings.Gender1.items}" id="si7"/>
              </af:selectOneRadio>
    i use this sample
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF_Insider_Essentials/ADF_Insider_Essential_YesNoRadio/ADF_Insider_Essential_YesNoRadio.html

  • Validation not working when clearing an open item

    Hi SAP Gurus,
    We have a interesting scenario to discuss with you. We are using Legal Dunning Procedure so once legal action is intiated against the customer notifications are sent to the legal department if payments are received.
    Unfortunately this can happen only during the next dunning run which of course can occur in varying time intrevals. Therefore we need a validation to occur if a payment is received from a customer against whom legal action has been initiated.
    We tried using the following fields Date of the legal dunning proceedings, Dunning block, Dunning key, Dunning level but are not able to get the validation to work when attempting to clear the open item. These all work when trying to post a new document but fail when trying to clear a open item. Points will be given for helpful answers.
    Regards,
    Siva

    this is the radio button
    <af:selectOneRadio value="#{bindings.Gender1.inputValue}"
                                                     label="#{bindings.Gender1.label}"
                                                     required="#{bindings.Gender1.hints.mandatory}"
                                                     shortDesc="#{bindings.Gender1.hints.tooltip}"
                                                     id="sor5">
                <f:selectItems value="#{bindings.Gender1.items}" id="si7"/>
              </af:selectOneRadio>
    i use this sample
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF_Insider_Essentials/ADF_Insider_Essential_YesNoRadio/ADF_Insider_Essential_YesNoRadio.html

  • Validation not working when Issue is modified

    We have picklist field Action on which we have put a field validation which will ensure that depending on the Job title of the logged User, he will be able to select appropriate Action value.
    The problem we are facing is : The validation is not triggered when an Issue is opened and saved without any changes to Action picklist.
    for eg: If User 1 with Role A creates an Issue with Action values as per his Role. Now User 2 with Role B opens the Issue , he is displayed with the Action value saved by User 1. Now if User 2 changes the details of the Issue and doesn't change the Action, the Issue is saved. The validation doesn't work in this case, as Action is not modified.
    Validation is as follows:
    Left([<Action>],4) = Left(JobTitle(), 4) OR Left([<Action>],4) = IIf((JobTitle()="Manager" OR JobTitle()="Executive"),"Fact" ,"xxxx") OR Left([<Action>],4) = IIf(JobTitle()="Executive","Mana" ,"xxxx")
    Also we cannot restrict users using Access control because, if we Restrict Issue modification by making Issues read-only for non owners , then Users cannot add related information like attachments and solutions.
    Any ideas would be welcome in this regard.
    Sandy

    I have a similar situation that I had to create a workflow rule that is triggered "before a modified record has been saved" and the rule looks for a change on record like;
    PRE('<ModifiedTimestamp>')<>[<ModifiedTimestamp>] AND PRE('<Action>')=[<Action>] this checks to see if the record has been modified but the Action hasn't.
    Then you want to have the workflow rule "Update Value" of the "Action" field with the same value that it had at the beginning of the operation, like;
    [<Action>] in the "Value" formula field and ensure the "overwrite existing values" check box is selected.
    In essence you're sending the same value to the "Action" field but it will trigger the Validation rules each time there is any change on the record.
    Let me know if you have questions...
    Dan

  • MS office report not working when application is compiled (application builder)

    I'm finishing up an application that includes several MS office reports (opens a MS Word template). The template is opened, the bookmarks are filled, then the file is saved (to our internal network) as a .doc file. The New Report.vi is used to open the .doc file, the Print Report.vi is used to print the file, then the SMTP send file.vi is used to email the file.
    Everything has been working fine then I decided to build the application for distribution. Big mistake! An installer is made. When I install the application I get "File not found" (error 7) errors each time I attempt to run this section of code. Incidentally, This app. also uses the SQL database toolset to read and write to a database. No problems with the database.
    I thought it might have something to do with the Word templates being on the network. I copied everything to my local PC and built another application. Same problems.
    I suspect I'm doing something wrong in the Source Files tab of the Build Application or Shared library window.
    I'd really appreciate your help.
    thanks,
    todd

    Most likely, you're looking at a path problem to the template file from the applicaiton.
    When you build a VI into an applicaiton, the path to that applicaiton changes. If originally the VI that calls the template file was located "c:\app\caller.vi", after you build the executable, that same VI will now be located at "c:\app\toplevelVI.exe\caller.vi".
    The executables name will now actually be a part of the path. So you may need to add an extra "Strip Path" function somewhere to get you to the real path to the Excel file. Of course this is just a guess without seeing your code. You could try going back to the LabVIEW code and add a path indicator where you are building the path, then re-build the application and run it so you can see what the path is after it's built.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Href link not working when accessed through wireless portal (ptg/rm)

    Hi,
    I have a simple J2EE application in which when clicking on a link, the request should forward to another jsp page. I am using Oracle 10g Application Server wireless. I am accessing the application in IE via oracle wireless portal gateway (ptg/rm).
    The code is as follows (title.jsp page)
    <%
    // setting the content type according to the browser.
    if(request.getHeader("User-Agent").indexOf("MSIE") > 0){
    response.setContentType("text/html");
    } else if(request.getHeader("User-Agent").indexOf("PTG") > 0){
    response.setContentType("application/vnd.wap.xhtml+xml; charset=UTF-8");
    response.setHeader("Cache-Control", "no-store"); // HTTP 1.1
    response.setHeader("Pragma", "no-cache"); // HTTP 1.0
    response.setHeader("Expires", "0"); // prevents caching at the proxy server.
    if("".equalsIgnoreCase(request.getParameter("ch"))){
    %>
    <jsp:forward page="hello.jsp" >
    </jsp:forward>
    <%
    %>
    <html>
    <body>
    <form name="" action="title.jsp" method="post" >
    <table>
    <tr>
    <td>
    <%
    String check = "Link";
    %>
    <href="title.jsp?ch="<%=check%>">Link
    </td>
    <tr>
    </table>
    </form>
    </body>
    </html>
    When the title.jsp page is accessed for the first time the URL is http://<server name>:<port no>/ptg/rm
    When i click on the link it shows error page (Page cann't be found" but in the deployed EAR file the "hello.jsp" was included.
    But when i click on the Link, the URL changes to
    http://<server name>:<port no>/ptg/title.jsp?ch=
    Here the rm of ptg/rm got misplaced.
    but according to my experience it should be
    http://<server name>:<port no>/ptg/rm with some postfix string.
    can any one please tell me what could be the reason?
    How can i forward the request to "hello.jsp" page?
    Thanks well in advance.
    Shrikant

    Sorry all,
    I just want to clarify one thing, that the Link's href code is
    <href="title.jsp?ch="<%=check%>"> Link
    Thanks
    Shrikant

  • ABAP Program is not working when we integrate to portal

    Hi,
    We created an ABAP program and created a transaction for that program.
    we integrated that porgram into portal and we are using SAP gui for HTML for displaying that in portal.
    we have a field with f4 help on the program and when we click the f4 on that field it shows a blank screen with letter M.
    But when we change the f4 help option to structure search insearch of search term it shows f4 values and program executes fine .But client doesnot want structured search on the field
    How do we resolve this
    Thanks
    Bala Duvvuri

    You need to go back to basics and figure out why they are failing.
    The simple answer is to implement exception handling and decide whether to bail out of the program or go into some kind of loop hoping the link will fix itself or be fixed. That simple answer can cause a lot of pain and suffering.
    My preference in your situation would be to fix the underlying networking issue that causes the failures.
    One additional thought ... your code, though likely incomplete, never commits. Make sure it does and make sure it doesn't do it inside of a loop.

  • SetForegroundWindow(IntPtr hWnd) not working when application in notification area.

    Hi All,
    I create a singleton WPF application, when the application is minimize in the notification area. I double click the application's shortcut to call the application. The application cannot show the Main Window in Screen.
    Here is the code:
    App.cs
    public partial class App : Application
    [DllImport("user32.dll")]
    private static extern bool ShowWindow(IntPtr hwnd, int nCmdShow);
    [DllImport("user32.dll")]
    [return: MarshalAs(UnmanagedType.Bool)]
    public static extern bool SetForegroundWindow(IntPtr hWnd);
    private bool _isNewInstance;
    public App()
    string appName = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
    Mutex mutex = new Mutex(true, appName, out _isNewInstance);
    if (!_isNewInstance)
    Application.Current.Shutdown();
    Process process = Process.GetProcessesByName(appName).FirstOrDefault();
    if (process != null)
    ShowWindow(process.MainWindowHandle, 1);
    SetForegroundWindow(process.MainWindowHandle);
    MainWindow.cs:
    private WinForms.NotifyIcon _notifyIcon;
    private WinForms.ContextMenu _contextMenu;
    private WinForms.MenuItem _openWindow;
    private WinForms.MenuItem _closeApp;
    private System.ComponentModel.IContainer _iContainer;
    private bool _internalClosing;
    public MainWindow()
    _contextMenu = new WinForms.ContextMenu();
    _openWindow = new WinForms.MenuItem() { Text = "Hiden" };
    _closeApp = new WinForms.MenuItem() { Text = "Exit"};
    _iContainer = new System.ComponentModel.Container();
    WinForms.MenuItem[] menuItems = new WinForms.MenuItem[] { _openWindow, _closeApp };
    _contextMenu.MenuItems.AddRange(menuItems);
    _openWindow.Click += _openWindow_Click;
    _closeApp.Click += _closeApp_Click;
    _notifyIcon = new WinForms.NotifyIcon(_iContainer);
    _notifyIcon.Icon = new System.Drawing.Icon("Todolist.ico");
    _notifyIcon.Text = "Todolist";
    _notifyIcon.Visible = true;
    _notifyIcon.MouseDoubleClick += _notifyIcon_MouseDoubleClick;
    _notifyIcon.ContextMenu = _contextMenu;
    InitializeComponent();
    private void _notifyIcon_MouseDoubleClick(object sender, WinForms.MouseEventArgs e)
    this.Show();
    ChangeMenuText(false);
    private void _openWindow_Click(object sender, EventArgs e)
    this.Show();
    ChangeMenuText(false);
    private void _closeApp_Click(object sender, EventArgs e)
    _internalClosing = true;
    this.Close();
    _internalClosing = false;
    private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
    if(!_internalClosing)
    this.Hide();
    e.Cancel = true;
    ChangeMenuText(true);
    private void ChangeMenuText(bool flag)
    _openWindow.Text = flag ? "Show" : "Hiden";
    The Screenshot:
    Thanks,
    The future belongs to those who believe in the beauty of their dreams.

    The FindWindow method should get you the handle to the main window. Try to add the following Startup class to your project and set it as Startup object under Project->Properties:
    public partial class App : Application
    class Startup
    [DllImport("user32.dll", EntryPoint = "FindWindow")]
    private static extern IntPtr FindWindow(string lp1, string lp2);
    [DllImport("user32.dll")]
    private static extern bool ShowWindow(IntPtr hwnd, int nCmdShow);
    [DllImport("user32.dll")]
    [return: MarshalAs(UnmanagedType.Bool)]
    public static extern bool SetForegroundWindow(IntPtr hWnd);
    [STAThread]
    static void Main()
    string appName = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
    using (var mutex = new Mutex(false, appName + "xyz"))
    if (!mutex.WaitOne(TimeSpan.FromSeconds(2), false))
    IntPtr handle = FindWindow(null, "MainWindow");
    if (handle != IntPtr.Zero)
    const int SW_SHOW = 5;
    const int SW_RESTORE = 9;
    ShowWindow(handle, SW_RESTORE);
    ShowWindow(handle, SW_SHOW);
    SetForegroundWindow(handle);
    return;
    App app = new App();
    app.MainWindow = new MainWindow();
    app.MainWindow.Show();
    app.Run();
    Please remember to close your threads by marking helpful posts as answer.

  • Development buttons not working when application running

    Hi,
    I am using Apex 4.1. For a new application that i created the buttons which come in the bottom of page (Edit Page1, Application 1, debug etc) are not clickable. They workked for another app in the same workspace.
    Any idea what could be the issue and how to fix it?

    PoojaC wrote:
    Hi,
    I am using Apex 4.1. For a new application that i created the buttons which come in the bottom of page (Edit Page1, Application 1, debug etc) are not clickable. They workked for another app in the same workspace.
    Any idea what could be the issue and how to fix it?It seems you have those buttons but they were not clickable? This suggests that some of your custom JavaScript broke them.
    Do you have any custom js code in your app? try disabling that code and see if the buttons work

  • My App Store does not work when trying to update applications

    My Apo store does not work when I try to update applications that need to be updated

    There are a number of other threads from people reporting a problem with a blank Updates tab in the App Store app - it looks like there is a problem at Apple's end which they need to fix.
    Some posts are suggesting that you if you go into the Purchased tab in the App Store app you might be able to update the apps from there, though you will need to scroll through the list to find those with updates and individually update them.

  • Application is not working when changing of oracle server domain name

    Hi friends
    We decided to change oracle server domain name due to some reason .. we changed the domain name but application running on the other server cannot connect to this domain i don't know whats the problem . I change the enterprise manager ( emca -config dbcontrol db -repos recreate_) according to the new domain but some of the future not working like date,etc. can anyone help me how to rectify it plz.

    Mohd khalid wrote:
    Hi friends
    We decided to change oracle server domain name due to some reason .. we changed the domain name but application running on the other server cannot connect to this domain i don't know whats the problem . I change the enterprise manager ( emca -config dbcontrol db -repos recreate_) according to the new domain but some of the future not working like date,etc. can anyone help me how to rectify it plz.I am really confused that what's not working? What I have understood is that you recreated the EM repository. So where does "some of the future not working like date,etc." come into it? Are you checking date from EM ? Which application is not working, your application or EM or both or somethingn else? Tell us the complete version, error information and also post the output of
    emctl status dbconsoleHTH
    Aman....

  • HP ProBook 440 G2, Finger print reader not working when I upgraded form Win 7 Pro to Win 8.1 Pro

    My HP ProBook 440 G2, Finger print reader not working when I upgraded form Win 7 Pro to Win 8.1 Pro.
    In device manager showing that biometric reader is working properly. But actually the finger printer reader is not reading or senseing. It seems like "dummy" part. Please help me to correctly configure step by step for this issue.
    thankyou
    Hillet
    This question was solved.
    View Solution.

    Have you installed the Validity Sensor Fingerprint driver software for Windows 8.1?
    http://h20564.www2.hp.com/hpsc/swd/public/detail?sp4ts.oid=6943811&swItemId=ob_134806_1&swEnvOid=415...
    See page 64 in the following Windows 8.1 user manual for Validity Fingerprint setup information
    http://h20565.www2.hp.com/hpsc/doc/public/display?sp4ts.oid=6943810&docId=emr_na-c04371762&docLocale...
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Validation not working on Qualified Field!!!! is this Normal!!!

    Hi All,
    I have an Integer field in the Qualified table.
    Name-> Non Qualifier -> Type Text
    Code -> Qualifier -> type Integer
    Now, i need to write a  validation which throws error If user enters a number whose length is  less than 4 or greater than 4.
    The business requirement is User should enter Exactly 4 Numeric values. Not less and not more.
    As integer type field done not control Field length i have written a validation.
    I have written a validation..
    IF(IS_NULL(MAINLOOKUP.Code),1,IF(LEN(MAINLOOKUP.Code)<4 , 0 ))
    But this is not working.
    this works for a Normal Integer field which is in Main table, But this is not working when Code field is in Qualified table!!!
    Is this the normal Behaviour of MDM??
    Or am i missing something!!!
    Experts please provide your suggestions.
    Note: i changed the Code field to Text and made length as 4 in field property, But this is not controlling if user keys in only 2 values.
    So written the above validation on text field as well, But it does not work.
    Kind Regards
    Eva

    Hello Eva
    Ok
    Just imagine
    you have some record in your main table with some QLUT
    Qlut contain next fields
    item_name - type text
    item_value - type integer qualified = yes
    and list of values
    q1
    q2
    q3
    q4
    your main table contain next fields
    name-text
    Qlut->your Qlut
    qlut_code->text
    qlut_value_>text
    For qlut_code create assignment like Qlut.code
    For qlut_value create assignment like Qlut.value
    add some records to main table like this:
    name=test1
    in qlut select next:
    item name =Q1
    item value=1
    item name =Q2
    item value=2
    item name =Q3
    item value=3
    and another one record in main like this:
    name=test2
    in qlut select next:
    item name =Q1
    item value=1
    item name =Q3
    item value=3
    item name =Q4
    item value=4
    item name =Q3
    item value=33
    select both records and run both assignments
    If your assignments is correct
    In first main record you have got
    qlut_code=3:Q1;Q2;Q3
    qlut_value_>3:1;2;3
    for second main record you have got
    qlut_code=4:Q1;Q3;Q4;Q3
    qlut_value_>4:1;3;4;33
    Then you can use records values from qlut_code and qlut_value for validation
    This is work fine.
    I hope, you have got my point
    Regards
    Kanstantsin Chernichenka
    Edited by: kanstantsin_ch on Oct 6, 2011 1:35 PM

  • Spry Validations not working javascript:Spry.Widget.Form.destroyAll() in popup

    iam using spry to validate controls in a popup.in that
    validations are working fine but the problem is when we click
    cancel button also thse validations are firing...
    i am using
    javascript:Spry.Widget.Form.destroyAll() to destroy
    validations...but it is not working.
    when we click on cancel button how to destroy the validations
    as well as hide the popup...
    can anyone help me...

    Thanks! (While I'm REALLY not comfortable with code yet (working on it :-) I atleast understood that it was a PHP issue (yay).
    Studied the code in the examples in the book. And added:
    <pre>
    <?php if ($_POST) {print_r($_POST);} ?>
    </pre>
    It worked.  (I'm local testing, with no connection to a database yet. Just trying to get the basic pages to work first.)
    Hopefully the more I work on all of this, the more I'll begin to "get it"! And I'm almost up to the Chapter on PHP. So, I'm hoping to will become clearer as I read on.
    Thanks for the help in pointing me in the right direction!!!
    -- Jami

  • Approve link not working in ESS/MSS UWL portal

    Hi experts,
    we are using portal 7.3 with ess/mss.
    in mss when user is approving a leave request, he is not ale to proceed
    after few steps as one link "pprove another request" is not working.
    this i a standrd portal scren in UWL. please suggest.
    Thanks a lot in advance.

    Hello,
    This should be possible with some UWL configuration. Please check the following forum post: http://forums.sdn.sap.com/thread.jspa?threadID=1677777
    Kr,
    Julien

Maybe you are looking for

  • Using Sony Bravia 32" TV as a monter with my mac book colour problem

    Hello, I have connected my mac book pro 13 to the tv with a genuine apple hdmi cable adaptor and a hdmi cable. I have mirrored the display in settings and can see the display on my mac on the tv. The problem is the colour is awful. The colour is over

  • Sending Mail to all E-Mail Accounts for a Contact

    Hi all, When I'm sending mail to someone in Address Book, is there a way I can send the mail to all of their email accounts? Thanks

  • 'Plant' field now requires input - why is that?

    Hello all, Here is my issue: when inputing Vendor Invoice (transaction FB60), the system now requires an entry in the 'Plant' field. I am using a regular P&L account which is also a regular cost element the context is that some changes are brought in

  • ABOUT Badi with run MD04

    I have the implementation of the BAdI method CHANGE_MDPSX_MDUP and avtive it , but the indicator 'BAdI active' in the header details of the stock/requirements list (MD04) is also blank , how to set it ?.

  • Missing pages when printing images

    Hi, I'm fightig against a very strange problem when printing. When drawing images with g2.drawImage often everything is ok. But sometimes the output is incomplete - perhaps all pages after # 2 or # 7 are missing. Or no pages are missing but some imag