Problem with branching on dependant list submit

I am a new APEX user using version 3.1. I've successfully set up a dependent LOV on a form but the logic I've applied is preventing me creating any records. (I've branched back to the page and I think this is conflicting with my primary key trigger.) I've spent a couple of days trying to solve this - can anyone help please?
THE BIT THAT WORKS
My driving LOV has been set up as a select list with submit and returns the values that I intended.
I have amended the Source used on the first LOV to : Only when the value in session state is null (so that this selection is displayed when I return to the page)
I have set up a branch back to this page before processing so that I can continue with the rest of the form input.
Both select list works but when I try to create a record the form does clear (apart from the select lists) but no record is created.
For info, the create button worked just fine until I added the branch back to the page.
I think this may be conflicting with how I've set up my primary key? I've used a trigger for this as follows:
CREATE OR REPLACE TRIGGER "BI_HEADER"
before insert on "HEADER"
for each row
begin
select "HEADER_SEQ".nextval into :NEW.HID from dual;
end;
Any help would be really appreciated.

Many thanks for the quick answer. Worked great.
The key was to create the bindings for each input field:
private RichInputText richInputTextName;
private RichInputText richInputTextPhone;
Reference them in the jsp page:
<af:inputText label="Name:" binding="#{testBackingBean.richInputTextName}"
value="#{testBackingBean.currentRowData.name}"
id="it2"/>
<af:inputText label="Phone:" binding="#{testBackingBean.richInputTextPhone}"
value="#{testBackingBean.currentRowData.phone}"
id="it1"/>
Then in the change value listener that is called when you select another state, you must manually set the before and after data. Before data would be the data the user changed, the after data would be resetting correct data of the other state to the corresponding mapped state input data.
public void selectStateChanged(ValueChangeEvent event) {
if (event.getNewValue() == null) {
setSelectedItemState("VA");
} else {
// before
String beforeName = (String) richInputTextName.getValue();
String beforePhone = (String) richInputTextPhone.getValue();
currentRowData.setName(beforeName);
currentRowData.setPhone(beforePhone);
setSelectedItemState((String)event.getNewValue());
// after
currentRowData = someRowDataList.get(getSelectedItemState());
String afterName = (String) currentRowData.getName();
String afterPhone = (String) currentRowData.getPhone();
richInputTextName.setValue(afterName);
richInputTextPhone.setValue(afterPhone);
Again, you saved the day!

Similar Messages

  • Problem with Ribbon when multiple List / Library WebPart are added to the same page

    Hi,
    I'm working on a SharePoint 2013 custom branding (custom master page and layout).
    I added one page layout with several Web Part Zones,
    <div id="cBottomFirst" class="cThreeColumn cThreeColumndMargin" >
    <div data-name="WebPartZone">
    <!--CS: Start Web Part Zone Snippet-->
    <!--SPM:<%@Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <div xmlns:ie="ie">
    <!--MS:<WebPartPages:WebPartZone runat="server" Title="Bottom Left Area" ID="wpz_bottom_left" AllowCustomization="True" AllowPersonalization="False" FrameType="TitleBarOnly" Orientation="Vertical">-->
    <!--MS:<ZoneTemplate>-->
    <!--DC: Replace this comment with default web parts for new pages. -->
    <!--ME:</ZoneTemplate>-->
    <!--ME:</WebPartPages:WebPartZone>-->
    </div>
    <!--CE: End Web Part Zone Snippet-->
    </div>
    </div>
    I have a problem, when I add several List View Web Part to the same page, then when I select one list / library, the ribbon is shown, but it is shown with all option disabled.
    Any idea?
    José Quinto Zamora SharePoint and Search Specialist MCITP and MCPD in SharePoint 2010
    http://joSharePoint.com

    Hi,
    According to your description, I suggest you check as follows:
    1. Please check that whether the ribbon is OK when you use the OOTB feature to add the web part to a page;
    2. What if you do the test in IE, will the issue still occur?
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Problem with the selection screen in submit program

    Hi Friends,
    i am facing the problem wih the selection screen in submit program. in my Module pool program i am using the submit program statement, When i execute the program , The module program display the submit program selections creen.
    I have implemented the code same as below.
    submit ztest with tknum =p_tknum and  return.
    Can you pleaes help me how to avoid the submit program selection screen.
    Thanks,
    Charan

    Hi Charan,
    You have to give the selection screen values when you submit a job.
    Press F1 on submit and you will see more details.
    Here is an example from ABAP Documentation.
    Program accessed
    REPORT report1.
    DATA text(10) TYPE c.
    SELECTION-SCREEN BEGIN OF SCREEN 1100.
      SELECT-OPTIONS: selcrit1 FOR text,
                      selcrit2 FOR text.
    SELECTION-SCREEN END OF SCREEN 1100.
    Calling program
    REPORT report2.
         DATA: text(10)   TYPE c,
          rspar_tab  TYPE TABLE OF rsparams,
          rspar_line LIKE LINE OF rspar_tab,
          range_tab  LIKE RANGE OF text,
          range_line LIKE LINE OF range_tab.
    rspar_line-selname = 'SELCRIT1'.
    rspar_line-kind    = 'S'.
    rspar_line-sign    = 'I'.
    rspar_line-option  = 'EQ'.
    rspar_line-low     = 'ABAP'.
    APPEND rspar_line TO rspar_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'H'.
    APPEND range_line TO range_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'K'.
    APPEND range_line TO range_tab.
    SUBMIT report1 USING SELECTION-SCREEN '1100'
                   WITH SELECTION-TABLE rspar_tab
                   WITH selcrit2 BETWEEN 'H' AND 'K'
                   WITH selcrit2 IN range_tab
                   AND RETURN.
    Regards,
    Jovito.

  • Problem with Pop up key list of values

    I have been looking at a problem with key popup list of values. I have some sql in a report region :
    select <columns>,"HTMLDB_ITEM.POPUPKEY_FROM_QUERY (47,resource_id,'select last_name,resource_id from rm_resource',30) "resource" ,
    <other columns> from
    <table name>
    now, when I select the value from the pop up it gets returned to the wrong row. Everything appears to be one row out of sync, so selecting an item for row 3 gets returned to row 2. Row 10 returns to row 9 etc.
    Looking at the code that is generated it appears to have messed up the sequences - I end up with two "genList0_f48_0" functions being generated.
    Any ideas why this happens?

    http://htmldb.oracle.com/pls/otn/f?p=37683:39
    On the page there are four records. selecting an Item from pop up in the last row gets placed in the row above.
    If you look at the javascript that gets run on the first two lines they both have the code "javascript:genList0_f21_0()" the third line has
    "javascript:genList0_f21_1()" when it should be "javascript:genList0_f21_2()"
    Hope this makes sense.

  • Exchange 2013: Problem with Default Global Address List after migration

    I just completed a migration from Exchange 2007 to Exchange 2013.  The 2007 box has been decommissioned just last week.  I have been seeing weird issues with our offline addressbook and global address list, since the migration, but always thought
    it was related to Ex2007.  Well the issues still exist and here's what i've found so far:
    1.  If any user goes to Schedule Appointment in Outlook, and they click the Rooms button (on the Scheduling Assistant page), we get a LONG wait (about 5 mins or more) and then an error that says:  "The operation could not be completed because
    an offline address book is not available.  Download a copy of the offline address book."  When i click OK, the address book is up, with the "All Rooms" list showing blank (we have 3 rooms in Exchange currently).
    2.  Now if I go to the Address Book in Outlook it opens to the GAL and it's up to date...  I can also force an update to the offline address book after adding a new group or entry, so i know offline address books are being updated properly and
    working.  HOWEVER, if i go to any of the other address lists (besides Contacts and GAL) under All Address Lists (All Contacts, All Groups, All Rooms, All Users and Public Folders) I get the same error given above:  "The operation could not be
    completed because an offline address book is not available.  Download a copy of the offline address book." 
    3.  I went to the Exchange 2013 EAC and went to Organization -> Address Lists.  Everything under here said 'NO' under the Up-to-Date column.  When i looked at the properties on each list, and clicked save, I had to update to the new version.
     After doing this, the Up-to-Date column said 'YES'.  I could do all lists EXCEPT for the GAL.  It still says 'NO'
    4.  The last thing i did was set my Outlook to NOT be in cached mode.  This should give me a direct connection to the GAL and all lists, if I'm not mistaken...  So when i do this, I cannot even open see the GAL.  The ONLY option in the
    Address Book that comes up is Contacts (which are my personal ones).
    5.  I just now ran Get-GlobalAddressList | fl  in powershell on the Ex2013 server.  I see some things that make me wonder...   First; nothing in the RecipientFilter field, however, there is something in the LdapRecipientFilter field.
     Second; the RecipientFilterType field says "Legacy".  and Third; the RecipientFilterApplied field says "False".
    Didn't know what these should all be, but it appears maybe this is the cause of all my issues??  Can someone help me out here.. even if i have to recreate a new GAL, i'm fine with that, I just don't know all the steps to do so.  I just need it
    to work!
    Thanks
    Jeff
    -Jeff

    Hi,
    In my opinion, it is better to confirm whether the GAL is good, first.
    How about the GAL working in OWA?
    If GAL working well in OWA, it seems the issue on the Outlook Client or Connectivity side.
    Please trying to run Outlook on the safe mode to avoid some AVs, add-ins and firewall for testing.
    Please follow the steps as below to narrow down the OAB issue.
    Following are the locations that .lzx files in CAS server and BMX server:
    CAS:
    C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\OAB
    MBX:
    C:\Program Files\Micorosft\Exchange Server\V15\ExchangeOAB
    Please verify whether the .lzx files update to the latest.
    1. If the .lzx files in MBX server not update to the latest.
    It should be an issue on the OAB generation side.
    2. If the .lzx files in MBX server is latest, but CAS server not.
    It should be a distribution issue.
     1) Please run Get-OabVirtualDirectory command in EMS to verify whether at least one OAB VD exist in the org. If not, please create a new one.
     2) Please make sure whether any setup for Web Distribution. Selecting the “Enabling an Offline Address Book for Web Distribution” checkbox.
     3) Please force restart File Distribution services to distribute OAB files manually.
    3. If the .lzx files in MBX server and CAS server are all update to the latest.
    It should be the connectivity between CAS server and Client issue.
     1)Please verify the network.
     2)Please check DNS, MX, etc. configuration.
     3)Please run “Test E-mail AutoConfiguration” to check the AutoDiscover details.
       Please make sure the OAB URLs are correct.
       If the OAB URLs are incorrect, please using following command to re-set them:
       Set-OABVirtualDirectory -Identity "ServerFQDN\OAB (Default Web Site)" -ExternalUrl
    https://www.contoso.com/OAB -InternalUrl
    https://mail.contoso.com/OAB
     4)Please checking the App log and finding solutions from Microsoft Technet articles or KB, according to the Event ID.
     5)If it still not working after performing the methods above unfortunately, please trying to re-build OAB Virtual Directory.
       Article for reference:
       Remove, Re-Create, and Reconnect an Offline Address Book Virtual Directory
    http://technet.microsoft.com/en-us/library/bb123595(v=exchg.141).aspx 
    Hope it is helpful
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Problems with scroll bars in list view

    Hello,
    I am using Xcelsius 2008 (Build Number 12,2,166).  I am still having trouble with scroll bars on my list view control. Other list views in my dashboard seem to be ok. It seems that this list view is not ignoring the blank cells in my excel file. I have gone through many things to correct this problem. I have added a new list view, I have copied other list views that work correctly but still no success. It seems that the "Ignore Blank Cells" property is not working correctly. Does anyone have a solution for this?
    Much Thx!

    Hi Yusufel,
    Please check the data whether the cells are really blank or having any space which could not be seen, etc.
    With best wishes
    BaaRaa.

  • Problems with Partition pruning using LIST option in 9i

    I am declaring the following partitions on a fact table and when
    I do an explain plan on the following SELECT statements it is
    doing a full table scan on the fact table. However if I use
    the "PARTITION" statement in the FROM clause it picks up the
    correct partition and runs great. I have used the analyze
    command and dbms_utility.analyze_schema command on all tables
    and indexes. I had simaliar problems when partitioning with the
    RANGE options too. I have looked through all of the INIT file
    parameters and don't see anything obvious. Is there something I
    am missing?
    Any help would be appreciated!
    Thanks,
    Bryan
    Facttable create statement....
    CREATE TABLE FactTable (
    ProductGID INTEGER NULL,
    CustomerGID INTEGER NULL,
    OrganizationGID INTEGER NULL,
    TimeGID INTEGER NULL,
    FactValue NUMBER NOT NULL,
    ModDate DATE NULL,
    CombinedGID INTEGER NOT NULL)
    PARTITION BY LIST (CombinedGID)
    (PARTITION sales1 VALUES(9999101),
    PARTITION sales2 VALUES(9999102),
    PARTITION sales3 VALUES(9999103),
    PARTITION model1 VALUES(9999204),
    PARTITION model2 VALUES(9999205),
    PARTITION model3 VALUES(9999206));
    Select statement....that is causing a full table scan.....the
    *tc tables are the equivelent to dimension tables in a star
    schema.
    SELECT tco.parentgid, tcc.parentgid, tcp.parentgid, sum
    (factvalue)
    FROM facttable f, custtc tcc, timetc tct, prodtc tcp, orgtc tco
    WHERE
    tco.childgid = f.organizationgid
    AND tco.parentgid = 18262
    AND tcc.childgid = f.customergid
    AND tcc.parentmembertypegid = 16
    AND tcp.childgid = f.productgid
    AND tcp.parentmembertypegid = 7
    AND tct.childgid = f.timegid
    AND tct.parentgid = 1009
    GROUP BY tco.parentgid, tcc.parentgid, tcp.parentgid;
    Select statement that works great....
    SELECT tco.parentgid, tcc.parentgid, tcp.parentgid, sum
    (factvalue)
    FROM facttable partition(sales1) f, custtc tcc, timetc tct,
    prodtc tcp, orgtc tco
    WHERE
    tco.childgid = f.organizationgid
    AND tco.parentgid = 18262
    AND tcc.childgid = f.customergid
    AND tcc.parentmembertypegid = 16
    AND tcp.childgid = f.productgid
    AND tcp.parentmembertypegid = 7
    AND tct.childgid = f.timegid
    AND tct.parentgid = 1009
    GROUP BY tco.parentgid, tcc.parentgid, tcp.parentgid;

    Hi Hoek,
    the DB version is 10.2 (italian version, then SET is correct).
    ...there's something strange: now I can INSERT rows but I can't update them!
    I'm using this command string:
    UPDATE TW_E_CUSTOMER_UNIFIED SET END_VALIDITY_DATE = TO_DATE('09-SET-09', 'DD-MON-RR') WHERE
    id_customer_unified = '123' and start_validity_date = TO_DATE('09-SET-09', 'DD-MON-RR');
    And this is the error:
    Error SQL: ORA-14402: updating partition key column would cause a partition change
    14402. 00000 - "updating partition key column would cause a partition change"
    *Cause:    An UPDATE statement attempted to change the value of a partition
    key column causing migration of the row to another partition
    *Action:   Do not attempt to update a partition key column or make sure that
    the new partition key is within the range containing the old
    partition key.
    I think that is impossible to use a PARTITION/SUBPARTITION like that: in fact the update of "END_VALIDITY_DATE" cause a partition change.
    Do u agree or it's possible an update on a field that implies a partition change?
    Regards Steve

  • TL11g & EJB3: One-to-Many problems with removing entity from list

    Hi,
    I posted this problem on JDev11g forum, but I hope I will get some information here as well.
    I have two entities based on tables in HR schema (Departments and Employees). Department has a list of employees. These are the annotations:
    @Entity
    public class Departments implements Serializable {
        @OneToMany(mappedBy = "departments", cascade = {CascadeType.ALL})
        private List<Employees> employeesList;
    @Entity
    public class Employees implements Serializable {
        @ManyToOne
        @JoinColumn(name = "DEPARTMENT_ID")
        private Departments departments;
    }On a test page, I have a master-detail tables that show all departments and employees in the selected department (drag&drop from data control), a button that removes selected employee from employeeList iterator, and a button that calls em.merge(department).
    The problem is that when I remove some employees from employeeList, on merge, the incoming entity, as well as the return result of the 'merge', are OK (the list doesn't contain the removed entities), but nothing is updated in the database, and no error is shown.
    Can anyone help me with this? I can send the test case if anyone is interested.
    Thanks,
    Pedja

    The transaction is Container Managed, but I did try with flushing the changes, but without success. Here is the log:
    [TopLink Finest]: 2008.08.06 04:31:25.431--ServerSession(27620915)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Execute query ReadAllQuery(model.Employees)
    [TopLink Finest]: 2008.08.06 04:31:25.431--ServerSession(27620915)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--reconnecting to external connection pool
    [TopLink Fine]: 2008.08.06 04:31:25.431--ServerSession(27620915)--Connection(21332891)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--SELECT EMPLOYEE_ID, LAST_NAME, COMMISSION_PCT, PHONE_NUMBER, SALARY, HIRE_DATE, FIRST_NAME, EMAIL, JOB_ID, MANAGER_ID, DEPARTMENT_ID FROM EMPLOYEES WHERE (DEPARTMENT_ID = ?)
         bind => [20]
    [TopLink Finest]: 2008.08.06 04:31:25.431--ServerSession(27620915)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Execute query ReadObjectQuery(model.Employees)
    [TopLink Finest]: 2008.08.06 04:31:25.431--ServerSession(27620915)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Execute query ReadObjectQuery(model.Departments)
    [TopLink Finest]: 2008.08.06 04:31:25.431--UnitOfWork(14721024)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Register the existing object model.Employees@3001c6
    [TopLink Finest]: 2008.08.06 04:31:25.431--UnitOfWork(14721024)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Register the existing object model.Employees@1f7d08a
    [TopLink Finest]: 2008.08.06 04:31:25.431--UnitOfWork(14721024)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Register the existing object model.Employees@3001c6
    [TopLink Finest]: 2008.08.06 04:31:25.431--UnitOfWork(14721024)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Register the existing object model.Departments@1b21b91
    [TopLink Finer]: 2008.08.06 04:31:36.836--ServerSession(27620915)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--client acquired
    [TopLink Finer]: 2008.08.06 04:31:36.836--UnitOfWork(631279)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--TX binding to tx mgr, status=STATUS_ACTIVE
    [TopLink Finest]: 2008.08.06 04:31:36.836--UnitOfWork(631279)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Merge clone with references model.Departments@1c49e79
    [TopLink Finest]: 2008.08.06 04:31:36.836--UnitOfWork(631279)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Register the existing object model.Employees@3001c6
    [TopLink Finest]: 2008.08.06 04:31:36.836--UnitOfWork(631279)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Register the existing object model.Employees@aa10a9
    [TopLink Finest]: 2008.08.06 04:31:36.836--UnitOfWork(631279)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Register the existing object model.Departments@12c0836
    [TopLink Finest]: 2008.08.06 04:31:36.836--UnitOfWork(631279)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Register the existing object model.Employees@aa10a9
    [TopLink Finest]: 2008.08.06 04:31:36.836--UnitOfWork(631279)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Register the existing object model.Departments@1b21b91
    [TopLink Finest]: 2008.08.06 04:31:36.836--UnitOfWork(631279)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Register the existing object model.Employees@3001c6
    [TopLink Finest]: 2008.08.06 04:31:36.836--UnitOfWork(631279)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Register the existing object model.Employees@1f7d08a
    [TopLink Finest]: 2008.08.06 04:31:36.836--UnitOfWork(631279)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Register the existing object model.Employees@3001c6
    [TopLink Finest]: 2008.08.06 04:31:36.836--UnitOfWork(631279)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Register the existing object model.Departments@1b21b91
    [TopLink Finer]: 2008.08.06 04:31:38.711--UnitOfWork(631279)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--TX beforeCompletion callback, status=STATUS_ACTIVE
    [TopLink Finer]: 2008.08.06 04:31:38.711--UnitOfWork(631279)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--begin unit of work commit
    [TopLink Finer]: 2008.08.06 04:31:38.711--ClientSession(2685953)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--TX beginTransaction, status=STATUS_ACTIVE
    [TopLink Finest]: 2008.08.06 04:31:38.711--UnitOfWork(631279)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--Execute query UpdateObjectQuery(model.Departments@776fc0)
    [TopLink Finer]: 2008.08.06 04:31:38.711--UnitOfWork(631279)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--TX afterCompletion callback, status=COMMITTED
    [TopLink Finer]: 2008.08.06 04:31:38.805--UnitOfWork(631279)--Thread(Thread[HTTPThreadGroup-1,9,HTTPThreadGroup])--end unit of work commitThanks,
    Pedja

  • EJB3: One-to-Many problems with removing entity from list

    Hi,
    I have two entities based on tables in HR schema (Departments and Employees). Department has a list of employees. These are the annotations:
    @Entity
    public class Departments implements Serializable {
        @OneToMany(mappedBy = "departments", cascade = {CascadeType.ALL})
        private List<Employees> employeesList;
    @Entity
    public class Employees implements Serializable {
        @ManyToOne
        @JoinColumn(name = "DEPARTMENT_ID")
        private Departments departments;
    }On a test page, I have a master-detail tables that show all departments and employees in the selected department (drag&drop from data control), a button that removes selected employee from employeeList iterator, and a button that calls em.merge(department).
    The problem is that when I remove some employees from employeeList, on merge, the incoming entity, as well as the return result of the 'merge', are OK (the list doesn't contain the removed entities), but nothing is updated in the database, and no error is shown.
    Can anyone help me with this? I can send the test case if anyone is interested.
    Thanks,
    Pedja

    Hi,
    I have two entities based on tables in HR schema (Departments and Employees). Department has a list of employees. These are the annotations:
    @Entity
    public class Departments implements Serializable {
        @OneToMany(mappedBy = "departments", cascade = {CascadeType.ALL})
        private List<Employees> employeesList;
    @Entity
    public class Employees implements Serializable {
        @ManyToOne
        @JoinColumn(name = "DEPARTMENT_ID")
        private Departments departments;
    }On a test page, I have a master-detail tables that show all departments and employees in the selected department (drag&drop from data control), a button that removes selected employee from employeeList iterator, and a button that calls em.merge(department).
    The problem is that when I remove some employees from employeeList, on merge, the incoming entity, as well as the return result of the 'merge', are OK (the list doesn't contain the removed entities), but nothing is updated in the database, and no error is shown.
    Can anyone help me with this? I can send the test case if anyone is interested.
    Thanks,
    Pedja

  • Corrupt contact causing problems with rest of contact list

    Hello,
    Tried using the search function, but got nothing that helped.
    I have one corrupt contact that I cannot delete or edit. This contact is about 25 into my list of 567 and as a result, any apps that need access to the contact list do not work, as they cannot read beyond this corrupted contact. So Vlingo, WhatsApp, etc. Are not working properly.
    Anybody have any idea what I can do to solve this?
    Give them nothing, but take from them EVERYTHING! - King Leonidas
    Solved!
    Go to Solution.

    I am having same problem too on my BB 9300.  Next to 'new contact' I have ' * No contact * ' followed by about 12 empty spaces, followed by my contacts with one corrupt contact within. I cant fill up the space and I cant delete or edit the corrupt contact too. Please, is it possible to delete all  my contact?I dont mind to restore all afresh. I will appreciate if the solution stated here could be  forwarded to xxxxxxxx too.Thanks
    EDIT: Personal Information such as e-mail is prohibited for your security. Please review User Guidelines  under section "Be careful."

  • Itunes 10.5. problems with copy paste in lists

    All,
    I'm a DJ and every night I have an own list in itunes.
    When I want to use some songs in one list in another list I simply pressed cmd+c, clicked in the other list and pressed cmd+v
    That does not work anymore.
    Sometimes cmd+c is grey and if not and I paste it flackers but I cannot find the song.
    Others have the same experience?!?
    Just experienced that if I copy from the contect Menu and then do the paste via the keypad it works.
    Copy in the menu from itunes is grey?!?
    Thanks for any help
    Cheers
    Don Xello

    WhatMeWorry? wrote:
    The problem is that when I do this I wind up with the cells somehow being linked. Thus if I copy the text from cell #2 and paste it into cell #7 everything works fine. But if I later delete the text in cell #7 the text in cell #2 is also deleted. Worse yet, if I copy text from page 1 cell 4 into page 3 cell 6 I wind up not only somehow linking the cells to one another but also the page number.
    I'm really surprised because I never got this kind of behavior.
    May you send me a sample file with this odd behavior?
    Click my blue name to get my address.
    If the file is too big for an attachment (zip it), you may use the FREE YouSendIt.
    http://www.yousendit.com/
    Yvan KOENIG (from FRANCE dimanche 8 mars 2009 19:40:54)

  • Problem with add in a list

    Hi guys,I have
    (in details)
    File1:
    public class Node {
    int key;
    public Node(int k) {
    key = k;
    File 2:
    ArrayList list = new ArrayList(30);
    Then i do list.add(l)
    l is an Object Node and the compiler says
    warning: [unchecked] unchecked
    call to add(E) as a member of the raw type java.util.ArrayList
    hey.add(l);
    Could anybody tell me where is the problem?
    Thanks,in advance!

    MyProgram.java:57: incompatible types
    found : java.lang.Object
    required: Node
    Node tmp = list.get(i);
    ^ You said that you declared your list like I showed you:
    List<Node> list = new ArrayList<Node>(30);but you didn't, did you?! If you really did it, you would not have this error. Check your source code again.
    MyProgram.java:63: compareTo(java.lang.Integer) in
    java.lang.Integer cannot be applied to (int,int)
    if(Integer.compareTo(tmp.key,l.key) ==
    key,l.key) == 0)
    ^The compareTo method that you're trying to call here expects a single Integer object as an argument. You are putting in two ints. That doesn't work, ofcourse. If you want to compare two ints, just use the == operator:
    if (tmp.key == l.key) ...
    MyProgram.java:71: compareTo(java.lang.Integer) in
    java.lang.Integer cannot be applied to (int,int)The same as above.

  • Ppc glibc: problem with kernel-headers dependency

    I wasn't sure where to post this... After attempting to follow the tutorial Wii Tutorial here: http://wiki.archlinux.org/index.php/Wii_Tutorial I discovered that the kernel-headers dependency of glibc is set to the wrong version. The dependency is kernel-headers version 2.6.29.4. However, in the repository, the current version is 2.6.29.1-1. I'm not sure what's going on here.

    DaNiMoTh wrote:
    Fixed with release of 2.6.29.4 kernel-headers package. Next time, fill the bug on our flyspray ( bugs.archlinux.org ), we'll correct much faster.
    Thanks
    ppc architecture is not supported by archlinux.org . the project is supported by http://archlinuxppc.org/
    Last edited by wonder (2009-11-20 19:23:11)

  • Problem with One column Unordered list.

    Help me out !!!
    I have a "one column unordered list" as my report template. The query will return atleast 5 rows at any given point of time. The page shows only 3 records. I tried modifying "Number of Rows" attributes etc., nothing works.
    Let me know what I'm doing wrong or how to fix it.
    Thanks
    - Richard

    Thanks for replying, Scott
    Here is the app http://htmldb.oracle.com/pls/otn/f?p=19793:1
    I want to display only 4 rows (table has around 10 rows). I couldn't display more than 2. If I change the template, then everything works fine. Its just with the "One Column Unordered List" template that is not working.
    Thanks.
    - Richard.

  • Problems with populating Drop Down List (WD ABAP)

    Hi,
    I am trying to populate two Drop Down fields CARRID and CONNID (Type Table SPFLI) on an Adobe Interactive Form in a Web Dynpro ABAP Application.
    In the WD Context I have a node "Flights" with those attributes.
    In the WDDOINIT I populate the Context elements (just for test purposes with all entries of SPFLI).
    [code]  
    DATA:
         node_flights                        TYPE REF TO if_wd_context_node,
         elem_flights                        TYPE REF TO if_wd_context_element,
         stru_flights                        TYPE wd_this->element_flights,
         it_flights TYPE TABLE OF spfli.
    SELECT carrid connid FROM spfli INTO TABLE it_flights.
    navigate from <CONTEXT> to <FLIGHTS> via lead selection
       node_flights = wd_context->get_child_node( name = wd_this->wdctx_flights ).
    node_flights->bind_table(
        new_items            = it_flights
        set_initial_elements = ABAP_FALSE
    [/code]
    According to this
    Re: adobe form/reader  error I bound the element values property of the Enumerated Drop Down List to [code]$record.sap-vhlist.CARRID.item[*][/code], whereas <i>Object Text</i> is "Text" and <i>Object Value</i> is "Key".
    Unfortunately the DDLs on the Adobe Form are not populated with the values read from the table. I debugged the application and the values are written to the Context node.
    Do you have any further hints?
    Best regards,
    Robin
    Message was edited by:
            Robin Wennemuth

    Robin:
    Did you get this resolved? Would you please tell me how you got it done?
    Thank you,
    Fred.

Maybe you are looking for

  • FRM-92101 Error when trying to access forms in R12 in windows 2003 SP1

    Hi, We have installed the Oracle Applications system on one of our instance. When we try to start the application we face some problem: The syndrome is the following: We are launching one of the Apps Forms Page However, we have to wait around 8-10 mi

  • Quads, Fans, and Classic

    Every time I have to run an app. in Classic, the fans on my quad go nuts. Any ideas?

  • GL account wise With Holding Tax

    Dear All, We would like to know, is there any table where we will able to get the data for gl code wise document numbers along with with holding tax code. Regards Anilkumar

  • Black housing frame glossy finnish wears off

    I think that the paint finnish comes off extremely easily. Idropped it once (on soild not even concrete) and the upper left black corner looks like it has a patch. Even before i dropped it, i noticed 2 corners of the back side had that problem too (p

  • Unicode broken?

    So my Arch partition has gone unloved for a while before I decided I wanted to use it again. I've been using it for a few days and I just noticed this I'm pretty sure that used to be displayed properly. It's not just KDE/Dolphin, it isn't displayed p