We have problem with showing warnings "Inline with Field"s.

We have problem with showing error messages "Inline with Field"s.
1. We have a package ERROR, that collects all errors/warnings. It has a procedure PUT, that saves errors in the variables of the package.
Package ERROR
procedure put(ptable in varchar2, pcolumn in varchar2, pcode in varchar2, pmsg in varchar2);
end;
2. We have a database table. Its values are validated by a trigger (saving business rules).
If an error occurs, then the trigger calls the procedure PUT ( to save an error message).
For example ...
CREATE TRIGGER ...
--- Rule 21
if substr(:new.ka_kood,1,1) != :new.s_kat then
error.put('TABLE1','COLUMN1', -20167, ' MESSAGE 1 !');
end if;
END;
3. I have a form of HTML DB that updates the table TABLE1
I want to show this error message with the field COLUMN1 (Inline with Field) .
I need same validations before and after updating values.
Before update - to validate same input; after update - to show errors saved in the package ERROR.
I also tried to use the global variables. For example ...
WWV_FLOW.g_validation_ids_in_error(1):= 192645056564169139;
WWV_FLOW.g_item_ids_in_error(1):= 192644674113169137 ;
WWV_FLOW.g_validation_message(1):='MESSAGE1';
And this did not help.
To rise errors in programs - is there same API ?
Or there is some other solutions ?
How can I do this in HTML DB?

Andres,
I'm not sure exactly what you are trying to do. But perhaps this will help some. If your after-submit process runs DML that causes triggers to fire, which result in error messages to be accumulated in package variables, you could create a branch on the page that would be conditional on the existence of error messages in the package variables. The branch could be back to the same page or to a more customized error page. The page you branch to would use the error messages in the package variables to determine how to format the page with the error text. The key to doing this is to run it all in the same database session. The way to do that is to use a "direct" branch, i.e., one that does not do a URL redirect. You create this type of branch with the Create Branch wizard (Branch to Page) and do not check the "Branch to page using redirect" checkbox when you see it.
Be sure to roll back any changes you do not want committed before the branch.
Using HTML DB global package variables for anything like what you described is not supported.
Scott

Similar Messages

  • TS3276 Hey. I have problems to send e-mail with Mail. The problems is I need to un active ssl ,... but when I do this,... automatically,. its active again????. Whta can i do

    Hey. I have problems to send e-mail with Mail. The problems is I need to un active ssl ,... but when I do this,... automatically,. its active again????. Whta can i do

    Try posting this in the 10.7 Mail forum. You'll get more help there.
    DALE

  • I have problems connecting to Wi-fi with my iPhone since I upgrade to iOS 6

    Hi
    Did anyone have problems with iPhone wi-fi connection since upgrading to iOS 6? I can't connect to wi-fi network. The option to turn on the wi-fi is grey out. Did anyone know this is a common problem in people using iOS 6? Did Apple is already working in a solution? I'm worry about consuming all my cellular data plan because of this issue. If anyone could help providing some information on these matter I would really appreciated. 

    Did you already try the troubleshooting mentioned here:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim

  • Just upgraded from a 3gs to a 4s. Now I have problems getting on the internet with the 4s.

    Just upgraded from a 3gs to a 4s and now have problems getting on the internet.

    If your backup is encrypted and you don't know the password anymore, you'll have to start from the beginning and set up the phone without the backup. An encrypted backup can't be used anymore without the correct password.

  • My PSD CS6 have problem when show blue tone colour

    (Example from extract picture)
    When I use my photoshop CS6 I have problem of blue tone colour look like Gamut warning
    but when i save to jpg. or other export file it normally.

    Do you have an ATI video card?  A while back there was a problem like this that was ultimately attributed to the display driver.  Basically, anywhere in the image that the red channel went to 0, the entire color would go to black.
    Visit the web site of the maker of your video card and see if they offer a newer display driver than the one you have.  If so, download and install it.
    -Noel

  • [Solved]Problem in showing ADF tables with 50,000 Records and more in TP4

    Hi,
    When I tried to view readonly ADF table in TP4, it loaded perfectly, but when i tried to run the vertical scrollbar to bottom record, it showed Fetching Data .... for few minutes and finally it showed a message. java.lang.OutOfMemoryError: Java heap space.
    When I tried to view normal ADF table in TP4, it loaded perfectly, but when i selected one row a popup Error message came and reported all the columns in the table with java.lang.NullPointerException.
    Similar functionality works beautifully in JDeveloper 10g version. Seems to be a serious problem in handling cached rows.
    Regards,
    Santhosh
    I am also getting a warning in OC4J console as given below:
    WARNING: Application loader current-workspace-app.web.SRApplication-ViewController-webapp:0.0.0 may not use /D:/Appl/jdevstudio1111/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\Appl\jdevstudio1111\j2ee\home\oc4j.jar)
    Message was edited by:
    Santhosh1234
    Message was edited by:
    Santhosh1234

    Hi!
    You have two ways:
    1. build your own table CollectionModel that will use TopLink paged data source access (see Pedja's thread here Paging of large data sets - SOLUTION
    2. use new Paged EJB finders that started to appear with TP4 when you use wizard to generate SessionBeans (named something like "query<Entity>FindAllByRange") . I posted already question about this new paged finders here How to use new "query<Entity>FindAllByRange" EJB finders? but no answers from devs yet :)
    Personally, I opt for no. 2 (paged finders) as it looks more platform-supported that writing custom CollectionModels for each finder... But until devs enlighten us with details how the paged finders are to be used (the af:table is not [yet?] supportive for drag-and-drop of paged finders), we are stuck with 1. option.
    Regards,
    Pavle

  • I HAVE PROBLEMS CONECTING MY MB PRO WITH MY INSIGNIA TV

    HI EVERYONE.
    I HAVE A MACBOOK PRO THAT JUST BOUTH AND I WANT TO CONECT IT WITH MY INSIGNIA 24 INCHES TV THAT I HAVE.
    I ALREADY HAVE THE "Dynex DX-AP160 - Video / audio adapter - DisplayPort / HDMI - mini-DisplayPort (M) - 19 pin HDMI" TO CONECT THEM.
    THE PROBLEM IS, WHEN I CONECT THE HDMI CABLE WITH THE LAPTOP.....IT DOESN'T WORK.
    THE TV SCREEN SAYS "NO SIGNAL" AND THE LAPTOP SCREEN ONLY GETS BLUE LIKE 2 SECONDS JUST WHEN I CONECT THE CABLE IN IT.
    PLEASE, IF SOMEBODY COULD HELP ME, I'LL BE VERY GRATEFUL.

    NO, I HAVEN'T TRIED OTHER CABLES... BUT I'VE BEEN READING THAT IS GOOD TO USE THIS CONECTOR: Kanex iAdapt 51 Mini DisplayPort to HDMI with 5.1 Channel Digital Audio, BECAUSE WITH THE OTHER ONE YOU CAN'T GET THE AUDIO.
    THE PROBLEM IS THAT I BOUGHT THAT DYNEX BY AMAZON AND I'M NOT SURE THAT THEY GIVE ME MY MONEY BACK.
    ANYWAY...THANK YOU FOR YOUR HELP

  • Does anyone have problems upgrading Premiere Elements 12 with the latest update that will fix bugs and improve the stability of the program?

    Hi there!
    I can´t update my software, it starts to download and everything but when it is supposed to start the update I only get an error message.
    The update is to the 12.1 version of the software and with a size of 67 MB.
    The error message that I get is like follows:
    "Adobe Premiere Elements 12.1-update
    An error has occurred during the installation of this update. Cancel and try again later. Error code: U44M1I210"
    Can anyone help me to find a solution of this problem please?
    I run 64-bit version of Windows 7. (And I have the 64-bit version of Premiere Elements 12)
    Best regards!

    lily
    Please look at the following possible Premiere Elements 12 solution for the 12 to 12.1 Update.
    I am assuming that you are using Windows 7, 8, or 8.1 64 bit. If others, please supply more details.
    Do you have Premiere CC or any Creative Cloud products on this same computer?
    Right click the Premiere Elements 12 desktop icon and select Run As Administrator. Also, assure that you are running your
    computer and Premiere Elements from a User Account with Administrative Privileges.
    Disable the antivirus and in particular the firewall(s).
    Then open Premiere Elements 12 to Expert workspace Help Menu/Update and determine if you can Update from 12 to 12.1.
    Thank you.
    ATR

  • I have problems to conect my Huawei with Mac OS X

    I have trouble connecting my model's broadband Huawei E226 telcelwith my Mac after you install the software for Mac OS X 10.7 as I cancorrect this problem as the previous version if I could connect

    You've probably received an answer to this already, but I just purchased an iMac and had similar problems with my Huawei 02 Broadband dongle. There was a really great answer to these problems posted recently under the heading: Getting your Huawei modem working with Mac OS X Lion. Tom Meegan posted it and he should be working for the best tech company in the world. However, I didn't actually use his solution because I discovered that the reason my service was cutting in and out after I had ieasily and successfully installed the 02 dongle, was because even though I had bought enough credit in the store, I apparently needed to have 02 activate the account! That was apparently the big problem, easily solved, although they should have told me that in the store when I bought it instead of me having to spend lots of time trying to get through to speak to an 02 tech.

  • I have problem to connect oracle DB with SQL developer

    I try connect to my oracle db with oracle SQL developer and received that message:
    http://ioj.com/v/camkp
    (pictures 1 and 2)
    if i try connect with sql plus, all well.
    command : select userenv('LANGUAGE') from dual; result: Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> select userenv('LANGUAGE') from dual;
    *USERENV('LANGUAGE')
    RUSSIAN_RUSSIA.CL8MSWIN1251*
    in SQL DEVELOPER: (picture 3)
    check\uncheck "Skip NLS Settings", nothing changed.
    what the issue is?

    Then apparently it's still not getting the OS settings right; try to add these to \sqldeveloper\bin\sqldeveloper.conf (maybe region is enough):
    AddVMOption -Duser.language=en
    AddVMOption -Duser.country=US
    AddVMOption -Duser.region=USHope that helps,
    K.

  • Tran.FBL1N - problem with showing correct amount regarding partial paymants

    Hello,
    Every day at my workplace I use transaction FBL1N which I use to see how much money I own to vendors and also to se how much is payed. However I have problem whit showing payed amounts for partial paymants (transaction F-59). For example:
    I own some vendor EUR 20.000,00 and I decide to pay him EUR 15.000,00 using partial paymant option (transaction F-59) because that's amount I have at the moment on my bank account. After that, when I choose that vendor using transaction FBL1N (with enabled option Open items on current date) so I coiuld see how much it is left to pay him, amount EUR 15.000,00 is not subtracted and reprt is still showing me that I own him EUR 20.000,00 which ofcourse is not correct.
    I also must note that in case I payed that vendor full amount I wouldn't have this problem and transaction FBL1N would show correct amount.
    I hope someone can advise me about this and help me solve my issue.
    Any help is appreciated and many thanks in advance for prompt replys.
    Cheers;)
    Adi
    Edited by: samnovice on Jul 18, 2011 1:22 PM

    thnx loky46, I understand it better now - I hva one more important question regarding this:
    Is there any way I can found total amount I own to one or more vendors (_regardless_ if it is full or partial paymant or combination of both paymants)? For example:
    Line 1 || VENDOR I || Eur 20.000,00 RE
    Line 2 || VENDOR I || Eur 15.000,00 AB
    TOTAL                     Eur   5.000,00
    but without using this option:
    you have to add the field "invoice reference" to your line layout and make a subtotal on it.
    Also, is it possible for line Eur 15.000,00 to become Close item because that part is payed and for rest of amount of Eur 5.000 to be Open item because is still not payed. I assume this can't be done but on this way I could now exact total amount of money which I own to my vendor(s) and it would be a of great help to me in every-day work.
    Thank you.
    Edited by: samnovice on Jul 19, 2011 3:26 PM

  • TS1702 Does anyone have problems on their iPad with the Pinball HD Collection freezing up on the screen regularly.as I am having it happen and it's annoying to cancel and reinstall.

    Does anyone have problems on their IPad 2 with an app called Pinball HD Collection freezing up on a regular basis and I then have to remove the app and then reinstall it. Most frustrating

    Thankyou, but the shop said that they spoken to apple and that they have now changed their policy and that they do not give a replacement.  So are you telling me that their information is false.  Also what should they have done.  This problem has existed since i bought it.?????  What should i do?????

  • Problem in aligning dynamic UI with the static UI

    Hi All,
    I have problem in aligning dynamic UI with the static UI, I am using Matrix layout.
    Static fields are spread over 2 colums and 3 rows:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    Now when a value is selected in C, than E becomes visible, and depending on the values selected in E, there are dynamic UI generated, i.e dynamic lables and depending on some validation it will be either a dropdowns or input fiels or both.
    at run time screen is like this:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dynaSPACEdropdown
    dynbSPACEinput field
    if I change my selection in E than layout looks like:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dynaSPACESPACEdropdown
    dynbSPACESPACEinput field
    Requirment: I need all the lables as well as dropdown/ input fiels in line with the static fields irrespective of my selection in E.
    Something like this:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dyna   SPACEdropdown
    dynbSPACESinput field
    dyncSPACESdropdown
    All this elements are in a group and that group has 2 transparent containers, 1 for static and for holding dynamic UI.
    I tried playing with the container properties, and also tried fixing width of dynamic UI but still the alignment issue is encountered.
    Can U guys plz give in ur valuable inputs as i need to fix this urgently.
    Regards,
    JJ

    Hi Armin,
    Can you please elaborate your solution ?, I do not have an idea of InvisibleElement & IWDView.resetView() ,
    If you can give me the exact pointer than it would be great and a good learning exp. for me.
    Thanks for the action assignment part, it worked.
    if (wdContext.nodeMaterialClass().size() > 0 && wdContext.currentContextElement().getActionMatCls()) {
         if (wdContext.currentMaterialClassElement().getMaterialClass_Description() != null || !wdContext.currentMaterialClassElement ().getMaterialClass_Description().equalsIgnoreCase(" ")) {
               IWDGroup Searchgroup = (IWDGroup) view.getElement("DynGroup");
    Searchgroup.destroyAllChildren();
    view.getContext().reset(false);
                                                      for (int i = 0; i < wdContext.nodeMaterialCharateristcs().size(); i++) {
                                  //this for label
         IWDLabel CharLabel = (IWDLabel) view.createElement(IWDLabel.class, "label" + i);
         CharLabel.setText(wdContext.nodeMaterialCharateristcs().getMaterialCharateristcsElementAt(i).getDescr_Char());
         CharLabel.setDesign(WDLabelDesign.EMPHASIZED);
         CharLabel.createLayoutData(MatrixHeadData.class);                              CharLabel.setWidth("154px");                              Searchgroup.addChild(CharLabel);
                 further there are conditions to create either dropdown or input field
    Can you please point where and how to apply your solution.
    Regards,
    JJ

  • Inline with text not working in pages 5

    I just upgraded to Pages 5.0. A lot of functionality has been removed, but also at least one feature that is there is not working for me. Inserting an image onto a document and setting up the image to "move with text" and "inline with text" is not working, as the image is staying fixed, and there is text wrapping around it. The interesting thing is that old images inserted and setup the same way using Pages 4.3 are moving with the text correctly, and there is no wrapping. Help!

    You will have to use File > Revert to or File > Export to > Pages '09.

  • I have problem on my iphone

    I have problem on my iphone 5 with activation i singh with my email and the passwred and it doesn't singh .pleas help me

    Hi hattanam7,
    If you are having activation issues with your iPhone, you may find the following article helpful:
    iPhone: Troubleshooting activation issues
    http://support.apple.com/kb/ts3424
    Regards,
    - Brenden

Maybe you are looking for

  • Folder Actions will not work - tried everything

    Recently Folder Actions simply stopped working on 10.6.4. They worked fine before then recently just stopped working. I've tried everything I can think of, including: 1. completely removing enabling & disabling & enabling folder actions through the s

  • List of Proforma Invoices

    How to get  list of Proforma Invoices? If i use VF05N  t code to see F8 or F5 list of billing docs system is not giving. is there any separate t code for profroma invoices? thanks In advance Rajendra

  • White line artifacts from PowerPoint 2007

    We are testing Windows 7 x64 in our graphics department and have installed Acrobat 9 Pro (from CS4) When creating a PDF from certain powerpoint files, some of the images land up split up with white lines through them. The same powerpoint file convert

  • Apple mail and Gmail

    Strugging through setting up Gmail in my Apple mail environment. I stumble across the set up gmail when adding an account. Can I start over, delete my gmail account in Apple mail, then re-add it? Then bring all my email folders (with their email) bac

  • Lookup query in OIM 11g R2

    Hi, I am written a lookup query in  child form to filter the lookup in designconsole . but the lookup query is not getting executed, The old lookup name is shown when i am opeing the form in web ui (systemadmin) formdesigner. Any suggestion why the l