Remove instances from another Subform

Hello everyone, I have a problem.
I have two Subform, the first Subform has two buttons (+ and -) with which I can add and delete instances that I create in the second Subform.
I have problem delete button that fails to delete instaze second Subform
can you help me??

The removeInstance command that you are runninng accepts a parameter that will tell it which one to remove. So you can get the index of the subform that you are on by using this.parent.index. So your command shoudl look like:
.....removeInstance(this.parent.index)
paul

Similar Messages

  • Remove Instance from SMD

    Hi,
    I have configured SMD for couple of solutions, if i want to remove certain instances from SMD,is there any way to do this rather than removing that instance from the Solution.
    Regards,
    CS

    Hi!
    On which SPS is your SAP Solution Manager?
    With SPS 18 you have a view for systems and solution as well within SMD setup for managed systems.
    You can manually edit the SMD settings with Config Tool under Java settings and removing the settings relevant for SMD within your SAP system.

  • How can I invoke a JSP using a URL instance from another JSP?

              Hi all.
              I've been developed a J2EE application using Oracle 9iAS.
              Now I'm migrating to WL Server and I have the following problem.
              I was using the following code to read a URL contents from another JSP:
              URL url = config.getServletContext().getResource("/path/to/url/of/textfile.xsl");
              This was working fine in a expanded directory project structure (typical during
              development time) and Oracle 9iAS.
              When I execute this code from my WL packed .ear file I get a URL not found exception.
              Which is the right way to get a resource available from the same context root?
              Thanks in advance for your answers (and sorry for my bad english ;-))
              

    The previous owner of that machine should have wiped it and install the original OS that shipped with the system leaving the system at the point where the new owner takes over and enters all there own information.
    Before you go much further with this machine you should seriously consider backing up any new stuff you have done and wiping it and starting from scratch. If you keep the system like it is you  will be plagued with problems. Even doing OS updates will prove frustrating.
    Right now the best you can do is to move the Aperture that is on the system into the trash, log into the App Store using your ID and buying Aperture. That should work but to be honest I have never had to do it so can;t say for sure.
    You might want to look at this What to do before selling or giving away your Mac from Apple to read what they recommend.
    good luck
    regards

  • Remotely add and remove Instances from different pages

    Similar to my other post, I have a form that has multiple pages, one being a calculator (OA_CALC) that shows every variable for calculation; the second (OA_PG1), customer facing showing only pertinent information. So both tables should add/remove and show the data being contolled from OA_CALC. I am able to addInstance and source the date to both pages, but for some reason removeInstance only works on the page where the button exists. So rows on OA_PG1 never delete, please advise.
    On OA_CALC i have an ADD ROW button with the following code:
    form1.OA_CALC.Table1.HeaderRow.#subform[0].AddRow::click - (JavaScript, client)
    OA_CALC.Table1.RowItems.instanceManager.addInstance(1);
    OA_PG1.ProjectSavingsGROUP.Table1.RowItems.instanceManager.addInstance(1);
    and a DELETE ROW with the following code:
    form1.OA_CALC.Table1.RowItems.#subform[0].DelRow::click - (JavaScript, client)
    var vIndex = this.parent.parent.index;
    OA_CALC.Table1.RowItems.instanceManager.removeInstance(vIndex);
    OA_PG1.ProjectSavingsGROUP.Table1.RowItems.instanceManager.removeInstance(vIndex);
    One thing that I tried was creating buttons on OA_PG1 with the code specific to that table, that seemed to work. So I know the syntax works, but cannot figure out how to control it from a different page. Please help.
    Thanks

    urgh, apparently I am still very close. I have used your sample, but it seems that the execEvent("click") is not working correctly or my syntax is wrong somewhere. Where am I going wrong?
    Button Code on first table:
    form1.OA_CALC.Table1.RowItems.deleteBtn::click - (JavaScript, client)
    var vCurrentRow = this.parent.index;
    OA_CALC.Table1._RowItems.removeInstance(vCurrentRow);
    xfa.resolveNode("OA_PG1.ProjectSavingsGROUP.Table1.RowItems[" + vCurrentRow + "]").deleteBtn.execEvent("click");
    Invisible Button Code on second table:
    form1.OA_PG1.ProjectSavingsGROUP.Table1.RowItems.deleteBtn::click - (JavaScript, client)
    OA_PG1.ProjectSavingsGROUP.Table1._RowItems.removeInstance(this.parent.index);
    Edit: Here is the Console report from the Acrobat JavaScript Debugger:
    xfa.resolveNode("OA_PG1.ProjectSavingsGROUP.Table1.RowItems[" + vCurrentRow + "]") is null
    7:XFA:form1[0]:OA_CALC[0]:Table1[0]:RowItems[1]:deleteBtn[0]:clickException in line 7 of function top_level, script XFA:form1[0]:OA_CALC[0]:Table1[0]:RowItems[1]:deleteBtn[0]:click
    TypeError: xfa.resolveNode("OA_PG1.ProjectSavingsGROUP.Table1.RowItems[" + vCurrentRow + "]") is null
    7:XFA:form1[0]:OA_CALC[0]:Table1[0]:RowItems[1]:deleteBtn[0]:click

  • J2EE remove instance from cluste

    Hello to all,
    in configtool three instances are shown below node "cluster-data", but only two instances are installed. one of them is an old instance. Where could I delete them?
    Is there a blog for clustering J2EE instances?
    Regards, Christian

    i dont think the instace is old
    you need to restart the j2ee engine to activate this server node
    if you dont want the server node you can remove the server from configtool it self
    on top you have option server->remove server
    first select the server node which you want to remove and select the option remove server
    Samrat

  • I cant get itunes on my new laptop.  My laptop says I have to remove itunes from another computer as I can only have it on 5.  Problem is that apart from my ipad, I no longer have the others as they were either broken beyond repair or lost.  Any ideas?

    I am not good with computers.  I am trying to get my iTunes onto this new laptop but it says I am only allowed to have it on 5 computers and I must take it off one to ut it on this new laptop.  Problem is, apart from my iPad, I have lost one laptop and two have been broken beyond repair so I am unable to take it off!  Anyone any ideas?  I have tried to get iTunes support but cant get past the "date of purchase" as I can only guess when I bought my ipod (2009)

    Hang on...
    You can only authorise the songs you purchase from the iTunes Store to play on five computers.
    You can download and install iTunes (the iTunes programme) onto as many computers as you wish.
    Two different things.
    Assuming therefore, that your problem is that you have authorised five computers, but now no longer have some of them, you need to de-authorise all your computers and then re-authorise the computers you still have.
    To de-authorise your computers, go to your account in the iTunes Store and look for the Deauthorise All button.

  • How to refresh one View instance from another View Instance

    Hi ADF Experts,
    I have a requirement in which I have created two View Objects based on a single entity object.
    I am using a first VO to display data in a table and the second to update data to database.
    The commit will happen through a Global save button.
    But before the global save, I need to show the data using the First VO, which is inserted using the second VO.
    Can anyone help me on how to refresh the first VO to display the data.
    Thanks in Advance
    Mohan
    Edited by: 946185 on Mar 29, 2013 4:24 AM

    Hi Dileep,
    The first VO which I mentioned is based on two EOs and has a lot of calculated values.
    And to add to my worries there is a parent child relationship between the two EO's, where in parent is updated with one row and child with multiple rows.
    The multiple rows updation to the child should happen with a shuttle component in a different popup.
    So I am inserting everything programatically in the java code, where I need two use different VO to update parent and different VOs for the shuttle.
    I could get the data, if it is committed, but to add to the complexity, there is a global save button which should commit the data.
    So I want to get the data based on the EO update before commit to the database.
    Thanks
    Mohan

  • Named instance cannot be accessed from another computer after IP address changed

    Hello
    In our SQL server computer, we are using dynamic IP.  There are two instances; one of them is a named instance.
    We can access both instances.
    However, after changing the SQL server computer to static ip, we cannot access the named instance from another computer (the non-named instance is ok).  Any idea what to do to make the named instance accessible?  After the ip address changed, I
    only did a ipconfig /renew without rebooting the computer, would rebooting solve it?
    Since I only have limited amount of time to take the production server offline and since I do not know enough about this, I ask to see if any one has any idea.
    Thanks
    Carbond

    Hello,
    Please try to restart SQL Server service instead using SQL Server Configuration Manager.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Read group membership for a user object and populate every group with matching user from another domain

    I have LON\JSmith in LON domain and DEL\JimSmith in DEL domain
    I would like to extract group memberships of LON\JSmith in LON domain and append matching by email (i.e. DEL\JimSmith) user object in every group in LON domain.
    for instance
    LON\JSmith and DEL\JimSmith is the same person and has same email address [email protected]
    LON\JSmith belongs to 3 groups - LON\localadmingroup;LON\univdesktop;LON\globalsurvey
    The outcome of the script should be
    LON\JSmith; DEL\JimSmith    should be in 3 groups - LON\localadmingroup;LON\univdesktop;LON\globalsurvey.
    How can i do it?
    Navgup

    Hi Navgup,
    Please refer to the script below, to query users in other domain by specifying the parameter "-Server" in the cmdlet "get-aduser", and also note I haven't tested the script below:
    import-module activedirectory
    get-adgroupmember "group"|foreach{
    $email=(get-aduser $_.samaccountname -properties *).EmailAddress#get the user email
    Get-ADUser -filter {EmailAddress -eq $email} -properties * -server DomainB.company.com|select samaccountname, memberof}#filter user name and group with the email in other domain
    To get users across domain, please also refer this blog:
    Adding/removing members from another forest or domain to groups in Active Directory:
    http://blogs.msdn.com/b/adpowershell/archive/2010/01/20/adding-removing-members-from-another-forest-or-domain-to-groups-in-active-directory.aspx?Redirected=true
    I hope this helps.

  • Trying to connect db server from another server

    Hello team,
    Today i tried to connect db server(Named instance)  from another server and that was failed. im getting below error
    any one help on this will be appreciated.
    unable to check connection to the repository The Tcp/Ip connection to the host server, port 1433 has failed.
    Error: "connection refused: connect. verify the connection properties. Make sure that an instance of sql server is running on the host and accepting Tcp/Ip connections at the port. make sure that Tcp connections to the port are not blocked bya firewall.

    Hello,
    Normally "Connection Refused" is caused by firewalls actively closing the requests. Also, please note that by default named instances use dynamic ports and do not listen on 1433. If you are using dynamic ports, make sure the browser service is started and
    that UDP 1434 is allowed for browser service communication.
    Sean Gallardy | Blog |
    Twitter

  • How to compare and copy the fields from repeating subform to another subform, same structure.

    Dear All,
    I am using LiveCycle Designer 8.2.
    I have the following requirement, and did not figure out the best way to implement it using JavaScript.
    The Form has, say, Subform A with Repeating Inner Subform, say it has the Education History of the Staff.
    I want to put another Subform B, with similar structure to From A, and create a button/function to copy the field data values from A to B.
    Subform A will show the user the fields of education with Read-Only Mode.
    Subform B will show the user the same data values with write-enable mode. This subform will allow the user update his Education Records.
    The fields are:
    0. Staff ID: Text (Key 1) (always read-only and hidden, becuase it is on the main form),
    1. Degree: Text,
    2. Specialization: Text,
    3. Institution: Text,
    4. Start Date: Date (Key 2),
    5. End Date: Date.
    Another function is needed is to compare the same records between form A and Form B.
    (Note: The Education record of a Staff has primary key of Staff ID and Start Date. Meaning, the Staff cannot have tow different degrees in starting on the same date.)
    The user may change the Institution in form B or change the Degree. I need to highlight, on Subform B, the row which was changed or added by the user. This means I need to do lookup against Subform B using the Key Values from Subform A.
    I have already developed the Form, and I have about 5 Subforms to allow updated by Staff: Education, Experience Inside the company, Experience Outside the company, Job Skills, Membership Record, ..etc. One thing I did is that the Field Names I used in Subform A are not the same of the fieldname in Subform B, but the have same suffix, and different prefix. For example, for the Education:
    Subform A - Original Values:
    1. Degree: OrgDegreet,
    2. Specialization: OrgSpecialization,
    3. Institution: OrgInistitution,
    4. Start Date: OrgDateStart (Key),
    5. End Date: OrgDateEnd.
    Subform B - Updated Values:
    1. Degree: UpdDegreet,
    2. Specialization: UpdSpecialization,
    3. Institution: UpdInistitution,
    4. Start Date: UpdDateStart (Key),
    5. End Date: UpdDateEnd.
    I understand if the Key field is updated, then it is like it was deleted, and added a new one.
    I know how to do that in ASP.NET, but need help in Adobe LiveCycle using JavaScript.
    Please help me to write these two functions, as they are very urgent requirement.
    Tarek.

    In the event Exit of the 1st subforum.invoice you will find the code to assign the value to it's "brother" on page4.
    Also, on the add button i added the code to add a record to the page4 subforum.
    To make this work you will have to copy/past the code of the exit event to all fields you want to copy and in the xfa.resolvenode("XXXXXXX[].fieldName") command replace fieldname with the actual name of the field you're at.
    I didnt't do anything to te remove line button because i don't know how you want it to work, but, if you want to control the p4 subform with the p1 subform, you shouldn't allow for lines to be removed directly in the p4 subform.
    Hope this helps.

  • Capturing data from additional subform instances

    I have a form with push buttons to add and delete additional instances of a subform containing fields. WHen I distribute the form and the form is returned, any additional instances of the subform are not captured and added to the dataset. Any ideas?
    Thanks for your help....
    Lane

    Thanks Niall for the prompt response.  I had actually come across both examples in my searching, however my form contains one table on a page.  If the user clicks a button (Add Another Location) the form replicates this page (along with a number of other pages, thus giving me a new blank table).  It is at this point that I would like the option of being able to copy the data from the first table instance into the second and so on but only if needed (hence the idea of using a checkbox to trigger the process).
    Hope this sheds a little more light on my problem.
    If this is somewhat confusing I'm more than happy to send you a copy of the file so you can have a look.
    Regards
    Michael

  • Removing deinstalled 9iAS instances from the Infrastructure

    I have created an Infrastructure on one machine - and ran the Interopt patch succesfully. I then installed J2EE/Webcache on another
    machine to use the Infrastructure. All is well. I then ran the Interopt patch for J2EE and then the http server blows with a java
    exception every time. All is not well. I then deinstalled the J2EE component and reinstalled it (needing a unique instance name because
    the OID still has knowledge of the old J2EE instance name). The new J2EE instance is up and in use by the Infrastructure. All seems
    better. The big question is : how does one safely remove the display (and entry) of the obsolete instance from the Infrastructure
    website, and from the local website that displays the old (downed) version and the new (up) version of the J2EE/Webcache instance?
    My limited understanding is that you do this from within the OID admin tool...but where and how ? Any answers much appreciated...
    Thanks,
    Dave

    I have created an Infrastructure on one machine - and ran the Interopt patch succesfully. I then installed J2EE/Webcache on another
    machine to use the Infrastructure. All is well. I then ran the Interopt patch for J2EE and then the http server blows with a java
    exception every time. All is not well. I then deinstalled the J2EE component and reinstalled it (needing a unique instance name because
    the OID still has knowledge of the old J2EE instance name). The new J2EE instance is up and in use by the Infrastructure. All seems
    better. The big question is : how does one safely remove the display (and entry) of the obsolete instance from the Infrastructure
    website, and from the local website that displays the old (downed) version and the new (up) version of the J2EE/Webcache instance?
    My limited understanding is that you do this from within the OID admin tool...but where and how ? Any answers much appreciated...
    Thanks,
    Dave

  • How do i remove money from 1 itunes account to another ?

    How Do I Remove Money From One Itunes Account To Another ?

    See:  More Like This    To the right -->

  • Not able to ssh from one EC2 instance to another

    I was trying to work with Oracle AMIs on Amazon cloud (EC2 instances).
    1) Created 2 EC2 instances of an Oracle database AMI ( based on Oracle Enterprise Linux (OEL) 5)
    2) I have opened ports in my security group associated with these EC2 instances.
    i) TCP 22 (SSH) - 0.0.0.0/0 ( Everybody)
    ii) ICMP ALL - 10.0.0.0/8 ( To enable ping functionality)
    So i am able to ping successfully from one EC2 to another with the public DNS, but ssh hangs
    a) Login to EC2 instance #1 from my desktop - SUCCESS
    b) ssh public_ip_of_instance_2 22  (HANGS).....
    c) Login to EC2 instance #2 from my desktop - SUCCESS
    d) ssh public_ip_of_instance_1 22 (HANGS).....
    Any ideas ? I worked with a default UBUNTU ec2 instance in amazon (public AMIs) and i did not face any problem doing an ssh from one EC2 to another.
    Is there something inside OEL (Oracle Enterprise Linux) that locks down ssh on port 22 from one instance to another ?
    Any ideas ?

    Hi All,
    I could solve it myself. Thanks for the time.
    The problem was I tried to navigate directly from the component ''BT125H_TASK' to the component 'CRMCMP_CMG', as I could not find any parent for BT125H_TASK earlier.
    Now I could find its parent component which is 'BT110M_ACT'.
    The outbound plug created in the task component has to be added to the component usage of 'BT110M_ACT' and the delegation should be done. The other things are the same. It works fine.
    Regards
    Vidhya

Maybe you are looking for