Problem with Parcial trigger on master Datail

my Entities :
group: gId,parentId,name
roles : pId,name
permission: gId,pId
my Associasions:
GroupToGroupAssoc -> group.gId & group.parentId
GroupToPermissionAssoc -> group.gId & permission.gId
and i have a view on Group (that is shown as a tree on a page).
and a view on permission (that is shown as a read Only table on the same page with the tree)
the tree Binding is something like "myApp.model.view.GroupView(<GroupView_2>)"
my question :
I want the permission table to be refreshed on tree node selection change.
but the problem is when I set parcialTrigger of the table to point to the "tree",It only get refreshed on first level selection change of the tree.
and when inner nodes get selected no refresh happens!!!(that's because the tree seems to have two iterators)
please advice,
Thank you,
Shahab

Me once again, and I've got the solution!
1. Put the text boxes where you want them on your Master.
2. Go to the "Pages" panel and highlight all pages.
3. In the "Pages" panel options pull-out, choose "Override all Master Page Items".
Now all your pages have a free-floating text box!
Cheers!
Mikey

Similar Messages

  • Problem with this trigger

    Hello, I am new to Oracle and I am having problems with this trigger:
    CREATE OR REPLACE TRIGGER myTrigger
    AFTER INSERT OR UPDATE OF aField ON myTable
    DECLARE
    myVariable NUMBER(2);
    BEGIN
    SELECT COUNT(keyColumn) INTO myVariable
    FROM myTable
    WHERE TO_CHAR(myTableDate,'mm') = (SELECT TO_CHAR(SYSDATE,'mm') FROM DUAL);
    IF myVariable > 4 THEN
    RAISE_APPLICATION_ERROR(20605, 'Here is an error.')
    END IF;
    END;
    Every time the trigger is executed, this error happens:
    ORA-06502: PL/SQL: numeric or value error: number precision too large
    ORA-06512: at line 10
    How do I resolve this problem?
    Thank you.

    Hi,
    user12120979 wrote:
    Hello, I am new to Oracle and I am having problems with this trigger:
    CREATE OR REPLACE TRIGGER myTrigger
    AFTER INSERT OR UPDATE OF aField ON myTable
    DECLARE
    myVariable NUMBER(2);
    BEGIN
    SELECT COUNT(keyColumn) INTO myVariable
    FROM myTable
    WHERE TO_CHAR(myTableDate,'mm') = (SELECT TO_CHAR(SYSDATE,'mm') FROM DUAL);
    IF myVariable > 4 THEN
    RAISE_APPLICATION_ERROR(20605, 'Here is an error.')
    END IF;
    END;
    Every time the trigger is executed, this error happens:
    ORA-06502: PL/SQL: numeric or value error: number precision too large
    ORA-06512: at line 10
    How do I resolve this problem?
    Thank you.Are you sure the code you posted is what's actually running?
    I would expect the missing semicolon after:
    RAISE_APPLICATION_ERROR(20605, 'Here is an error.')to keep this from even compiling.
    Error numbers are supposed to be negative. That will cause a run-time error when you try to raise the error.
    This isn't actually an error, but there's rarely a need to use dual in PL/SQL.
    WHERE TO_CHAR(myTableDate,'mm') = (SELECT TO_CHAR(SYSDATE,'mm') FROM DUAL);can also be done this way:
    WHERE TO_CHAR(myTableDate,'mm') = TO_CHAR(SYSDATE,'mm');Actually, the condition above would work even outside of PL/SQL.

  • Problem with a trigger

    I have a problem with a very simple trigger:
    CREATE OR REPLACE TRIGGER contratos_factuali
    AFTER UPDATE OF descrip,fautori,origpeso,origdls,
    montopeso,montodls,aant,aact,fifiobserva,pedsap
    ON ulises.contratos
    FOR EACH ROW
    BEGIN
    UPDATE contratos SET factuali=TO_DATE(SYSDATE,'DD/MM/YYYY HH24:MI')
    WHERE ncontra=:NEW.ncontra;
    COMMIT;
    END;This trigger update the column 'factuali' of this table everytime any other column of this table is updated. But returns me an error:
    SQL> update contratos set montodls=1 where ncontra='ODPS-086/00';
    update contratos set montodls=1 where ncontra='ODPS-086/00'
    ERROR at line 1:
    ORA-04091: table ULISES.CONTRATOS is mutating, trigger/function may not see it
    ORA-06512: at "ULISES.CONTRATOS_FACTUALI", line 2
    ORA-04088: error during execution of trigger 'ULISES.CONTRATOS_FACTUALI'What's happening?

    (1) You cannot use DML to update the table on which the trigger is based. Think about it: your trigger fires on UPDATE so each time fires, it updates the table and fires again. This is what is known as mutation.
    What you should do is create a trigger that executes BEFORE the update and simply do
    :NEW.factuali := SYSDATE;
    If ncontra is not a unique column and you genuinely want all rows of the same value to have the same factuali timestamp, well, it's very difficult, indeed I don't think it can be done. You could try submitting a DBMS_JOB to do the update, passing in the factuali value as a parameter; that DBMS_JOB would have to disable the trigger before doing the update (to prevent the recursion) and then re-enable it afterwards. Which seems like a lot of work: are you sure your design is correct?
    (2) You don't need the commit statement: the triggere exectutes within the commit phase of the original update.
    HTH, APC

  • Numerous Problems with New TV@nywhere Master

    Greetings all.  A few days ago, I purchased a TV@nywhere Master card.  I own two MSI mainboards and an MSI video card that I think are great, but so far this product has been nothing but junk.  I am having numerous problems with it that I have not been able to resolve:
    1.  The remote control just plain doesn't work.
    2.  I am unable to adjust the TV volume within the MSIPVR tuner software.  Turning it up and down or muting it does nothing.  However, whenever I exit the program, it mutes the line-in jack on my sound card and doesn't unmute it when I run the program again!  I have to run the Creative Surround Mixer and unmute the jack before I get any TV audio.
    3.  Originally when I booted up, the radio tuner kicked in with a fuzzy feed, even though the software was not running.  I had to run the software and exit it to make this stop.  I believe this has resolved itself.
    4.  The MSIPVR software seems very unstable.
    I have tried updating all the software from the official MSI drivers page and I also tried the unofficial releases of both the drivers and the MSIPVR 3.0 beta from this forum.  The 3.0 beta build seems even more unstable (though it is a beta so this is understandable), but none of my other problems have been resolved either.  I've perused the forums looking for ideas, but haven't found anything that's worked.  I've also tried all these steps on two different systems that I have with the same results.
    I'm really shocked that MSI would release such a low-quality product as most of their other things are quite well made.  I am looking to see if anyone has suggestions I can try to resolve this.  I am interested in keeping this card if these can be fixed, but if not, I'll be returning this unit and picking up something from ATI instead.  There's absolutely no reason for a card to be runnign this poorly and be in a shipping state.
    Below are my system specifications should they be of any help:
    AthlonXP 2800+ FSB333
    MSI K7N2 Delta-L nForce 2
    1024MB PQI PC3700 LL
    Sound Blaster Audigy
    ATI RADEON 9600XT
    Promise FastTrak TX2000
    2x40GB Western Digital 8MB (In RAID 0 Stripe)
    Windows XP Professional Service Pack 2
    All Latest Drivers/Updates for Windows and All Hardware

    Quote from: TunerFAQ on 17-February-05, 10:17:47
    One more note (great stuff Stu:))... with regards to the remote... try to give it a slight extra push into the socket :D.
    As stupid as it sounds, it happens :p... at least with me it did. I kept on trying to get the remote to work in the beginning, only to find out in the end that I hadn't played it ALL the way into the input socket. After the click, it worked.
    I hope you can get the sound stuff working though. That's definitely a pain :(. I'm personally having issues with the original card and new software now... but yeah, I shall wait on your feedback first:).
    OK, I've finally had some time to try out the various other suggestions that have been made and unfortunately, have met with no success.  I tried changing my audio to CD In on my Audigy which still has the same sound problems.  I also checked out the connection with the remote and it is in all the way.  Still no go on that one.  My power supply ratings are:
    +5V:  35A Maximum/0A Minimum
    +12V:  24A Maximum/0.8A Minimum
    +3.3V:  28A Maximum/0A Minimum
    -5V:  0.5A Maximum/0A Minimum
    -12V:  1.0A Maximum/0A Minimum
    +5V SB:  2.0A Maximum/0A Minimum
    At this point, I'm pretty much at my wits end.  If anyone has other ideas, I can entertain them, but tomorrow if I don't have this up, I'll be taking it back.  This card is demonstrating itself as just poorly designed and built.  Thanks for your help all!

  • A problem with plsql trigger in my form

    i created two text field and a button(insert) to take the value of the text feild at run time and insert it in the table
    this is my procedure
    CREATE OR REPLACE PROCEDURE insert_value
    (brn_id_in_p IN branch.brn_id%TYPE,
    brn_name_in_p IN branch.brn_name%TYPE)
    IS
    BEGIN
    INSERT INTO branch (brn_id,brn_name)
    VALUES (brn_id_in_p, brn_name_in_p);
    END insert_value;
    and in the form button trigger (when button pressed ) i wrote this
    EXECUTE insert_value(:BRANCH.BRN_ID_TF,:BRANCH.BRN_NAME_TF);
    but it gave me plsql error but i dont know why?
    note BRANCH is the datablock name and BRN_ID_TF,BRN_NAME_TF is the name of the items

    Only write
    insert_value(:BRANCH.BRN_ID_TF,:BRANCH.BRN_NAME_TF);
    and then give me the error which is prompted...
    another problem may occur with the data type which you declared in the properties of the text items
    :BRANCH.BRN_ID_TF and :BRANCH.BRN_NAME_TF
    in your forms.

  • Problem with search forms in master-detail structure

    According to JHeadstart error message i cant generate 2 search forms in one page, BUT i generated master table in one page and master form + detail table in another so WHY i cant put search forms for both tables?? They are on the different pages!
    How can i solve this problem?

    Sasha,
    The reason this is not allowed, is because when you use Layout Style table-form, the same UImodel is used for both the table and the form page, and each UImodel can have only one advancedSearch binding (which is also used for quick search). Each advancedSearch binding can be linked to only one iterator, and that is either the iterator of the master table or the iterator of the detail table.
    An enhancement request to remove this limitation is high on our wish-list, but didn't make it in the 10.1.2.1 release.
    You could try to make post-gen modifications to add an extra search. I have not tried it, but here is what I would do:
    - generate with search for master, and backup the generated pages and ui model
    - generate with search for detail, and backup the generated pages and ui model
    - merge the pages and ui models, renaming one of the advancedSearch bindings
    - for the page where the renamed binding should be use, make a subclass of JhsDataAction and override onQuickSearch and/or onAdvancedSearch, to use the other binding name
    Hope this helps,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • CS 5.5 problem with PDF links of master page TOC

    Hi
    Lately i moved from ID CS5 to CS5.5 working on Windows 7.
    All spreads of my document are based on a master page. This mater page includes a pane with a TOC. This TOC serves as navigation pane.
    When exporting the document to interactive PDF, the TOC appears on all spreads but the TOC links function well on the first spread and will not function on the next pages.
    The interactive PDF export settings include: "open in full screen mode" and "buttons and Media = include all".
    I made a test, and added hyperlink on the master page next to the TOC, now the TOC links turnned active on all pages but the PDF will not open in full screen although i did not change the export settings. If i remove this extra hyperlink the TOC links problem returns.
    I used the same document a lot in the past (with CS5) and did not have any such problem.
    Hope i managed to describe this case well.
    Highly appreciate your help.
    RGDs
    Tamir

    Thanks Steve
    I trashed the two preference files as instructed.
    Expoerted the file to IDML.
    Opened the IDML file and saved it as an ID file.
    The problem still exist.
    RGDs
    Tamir

  • Why would connection pooling cause problems with a trigger?

    This is a strange one. We have an app that deletes a row in a database table, and this table has a delete trigger on it. The row gets deleted every time the app is run, yet the trigger only fires intermittently. It's not that the trigger is failiing in some way - it just doesn't get called at all. If I issue the same delete command in PL/SQL developer then the trigger fires every time.
    Several hours later and out of desparation I tried turning off connection pooling via the app's connection string, and found that the trigger now fires every time. Any ideas what might be causing this behaviour? I can reproduce/fix the issue every time simply by setting "Pooling" to true or false!
    We are using Oracle 11g and ODP.Net v4.112.2.0.
    Thanks in advance
    Andrew

    More information: I've now been able to reproduce this issue in a small .Net app, and can make it fail in a more consistent manner (which I'll explain later). While it's still too large to post the entire code here, I can summarise what the app does in pseudo-code:-
    for(int i = 1; i <= 10; i++) // Run the test a number of times
    // Step 1 - Delete rows from the table with the delete query in question
    Execute non-query "delete from test_table";
    Wait 1 second
    // Step 2 - Check that the delete actually happened
    Execute reader "select count(*) from test_table"
    Display the count
    // Step 3 - Check that the delete trigger inserted some rows into a "logging" table. This is my method of "tracing" - I added a basic insert to the start of each trigger section, as mentioned in my previous post.
    Execute reader "select count(*) from my_logging_table"
    Display the count
    // Reinstate the test data
    Execute non-query "<insert rows back into test_table>"
    Wait 1 second
    For info the connection string is fairly basic:- "Data Source=<tns name>;User Id=<foo>;Password=<bar>"
    Some points of interest:-
    - When running the above test app, the trigger successfully fires on the very first iteration (i.e. "Step 3" displays a non-zero count from the logging table). All subsequent iterations fail ("Step 3" displays the same count each time).
    - If I turn off connection pooling (by adding "Pooling=false" to the connection string), the trigger runs on every iteration (i.e. "Step 3" displays an ever-incrementing record count).
    - Regardless of whether it works or fails, the deletion in step 1 does take place (confirmed by "Step 2" displaying a count of zero).
    - I added the waits after the non-query calls to see if that made a difference, but it doesn't. I can change these to 10 seconds or more and it will have no effect on the issue.
    The "Execute non-query" method uses code along these lines:-
    using (var conn = new OracleConnection(ConnString))
    conn.Open();
    using (var cmd = conn.CreateCommand())
    cmd.CommandText = sql;
    cmd.CommandType = CommandType.Text;
    result = cmd.ExecuteNonQuery();
    conn.Close();
    return result;
    While the "Execute reader" method looks like this:-
    var conn = new OracleConnection(ConnString);
    conn.Open();
    var cmd = conn.CreateCommand();
    cmd.CommandText = sql;
    cmd.CommandType = CommandType.Text;
    return cmd.ExecuteReader(CommandBehavior.CloseConnection);
    The calling code in the for loop, wraps the returned reader in a using clause like this:-
    using (var reader = ExecuteReader("<sql>"))
    This will dispose of the reader, which will in turn close/dispose the connection (due to the CommandBehavior.CloseConnection parameter passed to ExecuteReader).
    Interestingly, if the reader isn't disposed of then the problem becomes more intermittent (the trigger will fire perhaps 25% of the time). This is what's happening in our unit test harness. By ensuring the reader/connection is closed and disposed (which common sense would say should improve matters), the trigger only fires on the very first iteration of the loop. The plot thickens.

  • Problem with serial number Adobe master collection

    Well i bought the adobe master colection sc6 for school since im studying media and web design, but strangly what i got was a trail versin serialnumber that expired and i cant use my programs any more, where as i paid to get the rea deal yeat i got this
    what am i to do now i dont want t owaist more money and end up getting another trail version

    i really have nothing on that page, its teling me to do the axect same thing ive been doing :locate theserial number  which is: xxxx-xxxx-xxxx-xxxx-xxxx-xxxx
    Re-enter the serial number  which ive done and
    (Launch) Reinstall the product with the serial number  to which i also did but got the same error thing back
    what happened to the live chatt on their site where i spoke to one of the people from the site whom gave me that serial number.

  • Problem with BAPI of Material Master creation

    Hi,
    I am creating material master(mm01) through BAPI_MATERIAL_SAVEDATA.
    Program is working fine but when i m checking in MM03 to display uploaded data through BAPI, i cant able to see material which i created to through BAPI but i can see in MARA table.
    i dont know wht is the problem ?
    can anybody let me know abt this ?

    then u are not committing the work.
    flow will be like this
    call ' BAPI'
    if return[] is initial.
    commit work.
    else.
    endif.
    Regards
    peram

  • Problem with Updating of Routing Master data

    Hi,
        My requirement is I have to download Routing Master data into excel sheet. Once downloading is over, user can change some fields data in excel sheet. Again u’ll upload the changed excel sheet data to SAP. Finally these changes will effect to  the Routing Master data.
    I am  downloaded routing master data using FM ‘CARO_ROUTING_READ’.
    I changed some fields in excel sheet. I tried so many FM’s for updating the routing master data, but system not allow to me to change the Master data.
    I tried with ‘CP_BD_DIRECT_INPUT_PLAN’,
                 ‘CP_BD_DIRECT_INPUT_PLAN_EXT’,
                 ‘CP_BT_PLPO_UPDATE’, for updating Routing Master.
    And  Standard program RCPTRA02 also.
    Please send me one function module which can update the Routing Master data. But that FM have the same structure of CARO_ROUTING_READ. Otherwise type conflicts will come.
    System throws error ‘YOU CANNOT  EDIT TASK LIST OBJECTS WITH ACTIVITY TYPE&’.
    Regards
    Shaik

    Hi,
    I have found in OSS the following programs to download and upload routings:
    - Note 107242: You can create the sequential input file with report RCPDIRO1
    - Note 106965: Direct input routings: reading datasets
    Maybe this can help you to upload your routings in another way. Unfortunately I haven't figured out yet how the program exactly works. So if somebody can give me some info about that one, it would be great.
    Thanks,
    Steve

  • Problem with Insert process in Master Forms?

    Hi Patrick,
    It will be very greatful to me if you can help me out why insert is not working in case of forms as explained below
    I have created a tabular form where i am able to update & delete and adding rows with out any problem.
    When i am trying a insert a new record it is throwing the below error...
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "D47F24D590E442A8BCF98D5BA7D782AC", item checksum = "B3FF449D4A98A3313839C25D15586A17"., update "APEX_DEMO_SCHEME"."DEPT" set "DEPTNO" = :b1, "DNAME" = :b2, "LOC" = :b3
    Thanks,
    Anoo..
    Edited by: Anoo on Jul 20, 2010 3:37 AM
    Edited by: Anoo on Jul 20, 2010 3:38 AM

    If I were you, I would never do this through any program. The only secure, reliable way is to rewrite everything by your own hands. Even if we could argue, your way works as well (and could be faster at the beginning), at the firt moment you will be asked to perform any tiny change in this "imported" thing, you will cry your eyes out (and understand why it is the only useful way to rewrite everything manually).
    regards Otto

  • Problem with the TV@nywhere Master's sound

    Hi,
    I have TV@nywhere Master.
    The TV picture is OK, but the sound swithcing off after about  90 seconds of playing.
    Then I change station and the sound is back. But after 90 seconds it switch off again.
    etc.
    Does someone know how to solve this problem.
    Thank You,
    Mike

    dear Mike
    I have the same problem. to the best of my judgement, this is hardware problem and you  should contact the manufacturer for warranty coverage through your dealer.
    omar

  • Problem with crude operations in master detail tables

    Hi,
    I have Master-Detail tables in my page and crud operations are there for both the tables. Create/delete/edit are working fine on the master table but i am facing the following problems for the detail table
    1.delete operation is alway referring to the 1st record.
    2.Edit operation is working fine for the 1st time but when i amt trying to edit any other record it's refer to the previous record, if i did the same again then it's pointing to current record.
    Selected row keys and selectionListner and row selection is defined on my detail table as shown below.
    selectedRowKeys="#{bindings.CmSubscriberTerritoryXrefView1.collectionModel.selectedRow}"
    selectionListener="#{bindings.CmSubscriberTerritoryXrefView1.collectionModel.makeCurrent}"
    rowSelection="single"
    Please do need full.

    Hi,
    Thanks for your quick reply.
    I am using JDeveloper 11g. Yes i select the record, i am using a popup for delete operation so i write a button which invoke popup in that popup i am asking confirmation like do you wanted to delete for not. in the OK button i have return logic like
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("Delete2");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    operationBinding = bindings.getOperationBinding("Commit");
    result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    FacesContext fc = FacesContext.getCurrentInstance();

  • Problem with zoom trigger

    Hi friends,
    here i have a requirement to Customize Material Transactions Form to Zoom to the form Order Header Form after entering the Sales Order Number against which the Material transaction is happening passing order header_id as parameter (Order Fulfillment process automatically enters the Sales Order Number. The zoom must work after this process).
    Now, i can zoom to the order form and open it but i am unable to pass the parameters and i have no idea how to pass the parameters. plese help me to solve this problem.
    thanks in advance,
    siddam

    Hi Sunil,
    Firstly i would like to thank you for your time.
    I got lot of information in 115 dev guide the example is very good.
    But while definig parameters i followed the example and is as given below
    parameter name : PARAMETER996 NUMBER 30.
    In the WHERE CLAUSE have given the following code
    WHERE(PARAMETER996.HEADER_ID IS NULL OR
    MTL_MATERIAL_TRANSACTIONS.TRANSACTION_SOURCE_ID LIKE PARAMETER996.HEADER_ID).
    --mtl_material_trasactions is table name
    --parameter996 is parameter  name
    In the WHEN-NEW-FORM-INSTANCE trigger my code is
    if (:PARAMETER996.HEADER_ID is not null) THEN
    GO_BLOCK('RESULTS');
    do_key('EXECUTE_QUERY');
    :PARAMETER996.HEADER_ID := null;
    end if;
    i found the following error when i compiled it
    ERRORS:-
    ERROR 49 AT LINE 110, COLUMN 5
    BAD BIND VAIRABLE 'PARAMETER996.HEADER_ID'
    please tell me how can i rectify the errors to pass parameters to the targer form.
    thanks in advance,
    siddam

Maybe you are looking for