I need a JFrame with multiple updateable JLabels

Hi. I have tried implementing a JPanel with several labels attached to it:
JPanel labelPanel = new JPanel();
And I added several JLabels to it:
JPanel.add(label1);
JPanel.add(label2);
JPanel.add(label3);
This works, I am able to set the text of these labels and they display properly, however for some strange reason, I cannot use the actionListener method to update these label values.
Note: Adding a label as a single element, it can be updated using a button
and actionListener, which verifies that I did the actionListener correctly.
I just need a JFrame that can use around 15 lines that can be dynamically updated on actions.
Thanks for the help.

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class myFrame2 extends JFrame implements ActionListener {
     JLabel label1 = new JLabel(), label2 = new JLabel(), label3 = new JLabel(),
               label4 = new JLabel(), label5 = new JLabel(),
               label6 = new JLabel(), label7 = new JLabel(),
               label8 = new JLabel(), label9 = new JLabel();
     JButton myButton = new JButton();
     public static void main(String s[]) {
          myFrame2 frame = new myFrame2();
     myFrame2() {
          JFrame frame = new JFrame("FrameDemo");
          frame.addWindowListener(new WindowAdapter() {
               public void windowClosing(WindowEvent e) {
                    System.exit(0);
          JLabel label1 = new JLabel(), label2 = new JLabel(), label3 = new JLabel(), label4 = new JLabel(), label5 = new JLabel(), label6 = new JLabel(), label7 = new JLabel(), label8 = new JLabel(), label9 = new JLabel();
          myButton.addActionListener(this);
          JTextArea t;
          JTextField tbox = new JTextField();
          tbox.setText("Test");
          // emptyLabel.setFont(Font Arial);
          // emptyLabel.setPreferredSize(new Dimension(175, 100));
          JPanel panel = new JPanel();
          JPanel textPanel = new JPanel();
          label1.setText("This should change on button press.");
          panel.add(label1);
          panel.add(label2);
          panel.add(label3);
          panel.add(label4);
          panel.add(label5);
          panel.add(label6);
          panel.add(label7);
          panel.add(label8);
          panel.add(label9);
          textPanel.add(myButton);
          frame.getContentPane().add(panel, BorderLayout.CENTER);
          frame.getContentPane().add(textPanel, BorderLayout.SOUTH);
          frame.pack();
          frame.setVisible(true);
          frame.setSize(450, 600);
          frame.setTitle("Network Dice");
     public void actionPerformed(ActionEvent e) {
          // TODO Auto-generated method stub
          label1.setText("But it does not.");
          // This does NOT work.
}Here's a sample of the code I have.

Similar Messages

  • Implementing a view Object with Multiple Updateable Dependent Entity Objects

    Hello,
         I want to implement view object with multiple updateable entity object,
         i have refered this link its good https://forums.oracle.com/thread/63721
         here they have explained with 2 table,
         but when we have more then 5 tables and each table have Primary keys , Foreign key , Sequence and  trigger created on it. Then whats steps should i want to fallow.
         if possible some please provide the link or some one help me out how to do this .
         thanks in advance
         cheers

    Has the Advanced View Object Techniques been referred?

  • HOWTO: Implementing a ViewObject with Multiple Updateable Dependent Entity

    Hi All,
    I have implemented this concept in one of my project for (1-1 entity relationship). It worked very well. But I want try with parent child tables like (1 to many). I tried with the code given by "Adrian Nica " in previous thread. But my problem is When I make Parent table as updateable and reference I am not able to create a row for that VO at all.
    Steve, I read your reply in previous thread. But that is not helpful when you want create a new row as parent record as reference.
    Please help me to solve this....
    --Thanks
    Rama

    Hi,
    Thank you for your reply. I tried set all the attributes for parent EO to "Discriminator" which is added as "updateable and reference" in multiple updateable VO. But I am still getting " oracle.jbo.RowCreateException: JBO-25017:" and " Null Pointer Exception".
    Do I need to set the child VO also as "discriminator" attributes for that EO.
    --Thanks
    Rama

  • I need a calendar with multiple alert times for events; Advice please?

    1. I need to be able to set multiple alert times (e.g. 24 hours before, and 2 hours before)
    2. I need a good clear Month view, with text that can be enlarged (I am disabled)
    3. It needs to sync with standard iCloud calendar data (I use Week Calendar on my iPhone and iPad - great!)
    4. I do not want BusyCal, thanks (the developer point-blank refuses to fix the Alarm window to remember it's width, and refuses point-blank to wrap the alarm title text onto two line when it is long - although they do wrap text in the calendar itself, just not in the alarm window, go figure)

    Hey I have same problem. No PCMCIA No PCIe No USB converter are usefull
    I recommend you to use IBM Thinkpad Laptop with DockStation (adv Mini Dock 2504-10U)
    This Dock Sattion have real RS232 port

  • Problem: View Object with Multiple Updateable Dependent Entity Objects

    I try to implement a ViewObject with 2 updateable entities based on the document:
    http://www.oracle.com/technology/products/jdev/howtos/bc4j/multientityvo.html
    But I get an early NullPointerException:
    As written in the document I overriden the create method in the ViewObjectRowImpl class:
    protected void create(AttributeList attributeList) {
    // The BC4J framework will already have created "blank" entity instances
    System.out.println(getClass().getName()+"create BEGIN");
    LabEventTypeItemImpl newLabEventTypeItem = this.getLabEventTypeItem();
    System.out.println(getClass().getName()+"create 1");
    TariffItemImpl newTariffItem = this.getTariffItem();
    System.out.println(getClass().getName()+"create 2");
    try {
    // Let department "blank" entity instance to do programmatic defaulting
    newLabEventTypeItem.create(attributeList);
    System.out.println(getClass().getName()+"create 3");
    // Let employee "blank" entity instance to do programmatic defaulting
    // passing in new DepartmentImpl instance so its attributes are
    if (newTariffItem == null) // added trace
    System.out.println(getClass().getName()+"create newTariffItem IS NULLLLL");
    // available to the EmployeeImpl's create method.
    newTariffItem.create(newLabEventTypeItem);
    System.out.println(getClass().getName()+"create 4");
    catch (JboException ex) {
    if (newLabEventTypeItem != null)
    newLabEventTypeItem.revert();
    if (newTariffItem != null)
    newTariffItem.revert();
    throw ex;
    catch (Exception otherEx) {
    if (newLabEventTypeItem != null)
    newLabEventTypeItem.revert();
    if (newTariffItem != null)
    newTariffItem.revert();
    throw new RowCreateException(true /* EO Row? */,
    "LabEventTypeItem" /* EO Name */,
    otherEx /* Details */);
    System.out.println(getClass().getName()+"create END");
    The code:
    TariffItemImpl newTariffItem = this.getTariffItem();
    is equivalent in the example to:
    EmployeeImpl newEmployee = getEmployee();
    In my case this.getTariffItem() <=> getEmployee() returns null?
    I get an Exception when I call:
    newTariffItem.create(newLabEventTypeItem);
    Equivalent to:
    newEmployee.create(newDepartment);
    ViewObject partial XML:
    ======================
    <DesignTime>
    <Attr Name="_isCodegen" Value="true" />
    <Attr Name="_version" Value="10.1.2.17.96" />
    <Attr Name="_codeGenFlag2" Value="Access|Coll|Msg" />
    <Attr Name="_isExpertMode" Value="false" />
    </DesignTime>
    <EntityUsage
    Name="LabEventTypeItem"
    Entity="com.photoswing.model.lab.LabEventTypeItem" >
    <DesignTime>
    <Attr Name="_EntireObjectTable" Value="false" />
    <Attr Name="_queryClause" Value="true" />
    <Attr Name="_queryWhere" Value="(((LabEventTypeItem.LAB_EVENT_TYPE_ITEM_ID = TariffItem.LAB_EVENT_TYPE_ITEM_ID)AND (LabEventTypeItem.ITEM_ID = Item.ITEM_ID))AND (LabEventTypeItem.PRINT_SIZE_DPI_ID = PrintSizeDpi.PRINT_SIZE_DPI_ID(+)))AND (LabEventTypeItem.FILM_PRINT_SIZE_DPI_ID = FilmPrintSizeDpi.FILM_PRINT_SIZE_DPI_ID(+))" />
    <Attr Name="_queryOrderBy" Value="Item.ITEM_TYPE_ID,PrintSizeDpi.REQ_MEGA_PIXELS,Item.ITEM_ID" />
    </DesignTime>
    </EntityUsage>
    <EntityUsage
    Name="TariffItem"
    Entity="com.photoswing.model.lab.TariffItem"
    Association="com.photoswing.model.lab.TariffItemLabEventTypeItemFkAssoc"
    AssociationEnd="com.photoswing.model.lab.TariffItemLabEventTypeItemFkAssoc.TariffItemLabEventTypeItem"
    SourceUsage="com.photoswing.model.lab.LabEventTypeItemAndTariffItemVO.LabEventTypeItem"
    Reference="true" >
    <DesignTime>
    <Attr Name="_EntireObjectTable" Value="false" />
    <Attr Name="_queryClause" Value="false" />
    <AttrArray Name="_srcAttributes">
    <Item Value="com.photoswing.model.lab.LabEventTypeItem.LabEventTypeItemId" />
    </AttrArray>
    <AttrArray Name="_dstAttributes">
    <Item Value="com.photoswing.model.lab.TariffItem.LabEventTypeItemId" />
    </AttrArray>
    </DesignTime>
    </EntityUsage>
    Stack trace:
    ===========
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for LabEventTypeItem.
         at com.photoswing.model.lab.LabEventTypeItemAndTariffItemVORowImpl.create(LabEventTypeItemAndTariffItemVORowImpl.java:1370)
         at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:353)
         at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:2599)
         at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1048)
         at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:1725)
         at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1769)
         at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1749)
         at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:6230)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:891)
         at oracle.jbo.uicli.jui.JUActionBinding.doIt(JUActionBinding.java:203)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:478)
         at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:306)
         at com.photoswing.component.JUNavBar.doAction(JUNavBar.java:1114)
         at oracle.jbo.uicli.controls.JUNavigationBar.actionPerformed(JUNavigationBar.java:259)
         at com.photoswing.component.JUNavBar.actionPerformed(JUNavBar.java:419)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java)
         at java.awt.Component.dispatchEvent(Component.java)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:458)
         at com.photoswing.view.start.WaitCursorEventQueue.dispatchEvent(PhotoWebshopDesktop.java:3077)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    ## Detail 0 ##
    java.lang.NullPointerException
         at com.photoswing.model.lab.LabEventTypeItemAndTariffItemVORowImpl.create(LabEventTypeItemAndTariffItemVORowImpl.java:1355)
         at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:353)
         at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:2599)
         at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1048)
         at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:1725)
         at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1769)
         at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1749)
         at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:6230)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:891)
         at oracle.jbo.uicli.jui.JUActionBinding.doIt(JUActionBinding.java:203)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:478)
         at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:306)
         at com.photoswing.component.JUNavBar.doAction(JUNavBar.java:1114)
         at oracle.jbo.uicli.controls.JUNavigationBar.actionPerformed(JUNavigationBar.java:259)
         at com.photoswing.component.JUNavBar.actionPerformed(JUNavBar.java:419)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java)
         at java.awt.Component.dispatchEvent(Component.java)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:458)
         at com.photoswing.view.start.WaitCursorEventQueue.dispatchEvent(PhotoWebshopDesktop.java:3077)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Thanks
    Frederic

    I get the same error on the scott schema:
    protected void create(AttributeList attributeList) {
    // The BC4J framework will already have created "blank" entity instances
    DeptImpl newDept = getDept();
    EmpImpl newEmp = getEmp();
    try {
    // Let dept "blank" entity instance to do programmatic defaulting
    newDept.create(attributeList);
    // Let emp "blank" entity instance to do programmatic defaulting
    // passing in new DeptImpl instance so its attributes are
    // available to the EmpImpl's create method.
    if (newEmp == null)
    System.out.println(getClass().getName()+".create newEmp IS NULL");
    newEmp.create(newDept);
    catch (JboException ex) {
    newDept.revert();
    newEmp.revert();
    throw ex;
    catch (Exception otherEx) {
    newDept.revert();
    newEmp.revert();
    throw new RowCreateException(true /* EO Row? */,
    "Dept" /* EO Name */,
    otherEx /* Details */);
    The trace shows:
    model.CreateDepartmentAndFirstEmployeeRowImpl.create newEmp IS NULL
    Another problem:
    Refreshing Foreign Key Values in New Employees Once Final Department Id is Assigned:
    Number newDeptno = getDeptno().getSequenceNumber();
    doesn't compile getSequenceNumber() unknown.
    I send you a usecase as a zip file.
    The code for Refreshing Foreign Key in is comment at the end of the DeptImpl file.
    Regards
    Frederic
    I send you the

  • Need a JFrame with JApplet example

    is there an example of an applet or JApplet that opens a bunch of JFrames with menu and scroll bars and changes graphics on the JFrames based upon mouse events?

    is there an example of an applet or JApplet that
    opens a bunch of JFrames with menu and scroll bars
    and changes graphics on the JFrames based upon mouse
    events?I'm not sure. I've never seen one here (but I haven't looked for it either). You could google it, or if that turns up nothing, why not give it a stab yourself and then come back here if you stumble over a specific step in the process.
    Good luck.

  • Need some assistance with multiple problems (8330 Curve)

    Hello all,
    I am recent buyer of an 8330 (Verizon). I like it a lot and find it a very useful tool. Being new to the BB world, I do have some questions, that I cannot find answered on any of the BB forums.
    So here they are:
    1. I have two e-mail accounts setup on my BB. So this means that I should have only two e-mail options under applications. I have three and the third one seems to get messages from both of my two other accounts. What is also weird is that there is no e-mail header on the top (like with the other two e-mail folders). How do I get e-mails to stop going in to this folder and basically delete it? The other strange thing (that I just noticed is that this generic e-mail box gets some e-mails that my other two accounts never see (even though they have their correct e-mail address on them)!
    2. How do I create sig lines for my e-mail accounts? I have read the help pages, but the instructions they give me for creating signatures on my outgoing e-mails does not work.
    3. Does the new 4.5 SW upgrade allow me to use the GPS capability with my phone? I bought the download Garmin SW for my phone ONLY to find out later that Verizon has blocked this feature! It should would be nice if either VZ or Garmin would have made that crystal clear when I got my phone. :-(
    Thanks much for all the assistance!
    Grant

    1.  That is the "Messages" folder.  It is a dumping ground for ALL messages including all emails, sms, mms, pin, BBMessenger (if selected) and any others like Browser messages, etc.  You can't stop messages from going there but you can hid the icon, if you like. 
    2.  To create signatures for email you have to use the BIS logon from your PC.  Use the link below to do this:
    https://bis.na.blackberry.com/html?brand=vzw
    3.  Upgrading the OS does not allow you to use the GPS with other software like Garmin.  This is a Verizon lock and there is no way around it.  They want you to pay for their service.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • Any hope of accessing iCloud email as POP?  I don't really want or need to share with multiple devices.

         Wondering if Apple will listen to its users and make some concessions regarding iCloud.  I've been a loyal .mac subscriber for many years.  I migrated to iCloud with the understanding that I would still be able to access my email, even though my newest machine is running Snow Leopard.  My home now has 3 Macs and 4 iPods that cannot use iCloud.  Also, I don't want an IMAP account.  I want to download my email and clear it off of the server.
         Any chance that Apple will make the POP option available if enough people want it?  Can I set up Mail to access my iCloud IMAP email messages and delete them from the server without deleting them locally?  That may be the best solution, but I'm not sure how easy it would be to clear the server.  Any experience with that?
         Thanks.

    I'm not sure why you think your devices cannot use iCloud mail, they can. If your devices do not have iCloud you can set the iCloud mail up manually.
    Delete your mail account from Mail preferences and set it up again using the Mail Server Information.
    Some users have apparently encountered issues using this information in pre-Lion set ups (I haven't), Roger Wilmut has kindly provided instructions for those who find themselves with this problem.
    Entering iCloud email settings manually in Snow Leopard or Leopard
    Entering iCloud email settings manually in Tiger
    iCloud mail is an IMAP accounts and Apple do not offer a POP account, obviously I have no idea what Apple plan to do in the future, but I think it rather unlikely that they will offer a POP accounts. 
    If you wish to keep iCloud mail local and remove it from the server, simply drag it from your iCloud account in your mail application to the 'on my Mac' account.

  • Delete view object with multiple updateable entities

    I've created a VO which updates 3 entities, taking care of the posting order by overriding the postChanges(TransactionEvent e) and the create() methods of the entities, and of the VOs RowImpl.
    The problem is, the DELETE is not working, I'm getting a database constraint violation (raised like you should delete the row in the EMP table first, and then its parent row in the DEP table).
    I've inserted the following in the e.g. EmployeeImpl.java
    if (getPostState() == STATUS_DELETED) {
    DepImpl parentDep = getDepartments();
    if (parentDep != null ) {
    parentDep.postChanges(e);
    and it's not enough, I'm missing smth obviously.
    Can someone help?
    Thanks and regards
    gabriela

    Shailesh,
    thank you for your reply.
    I'm back from the holidays and trying to keep up :-)
    Guess I had gotten it wrong in the beginning. This is how it looks like now:
    * Remove the instance present on associations which are 1:1 relationships,
    * (on delete cascade behaviour).
    * The default implementation of remove() only removes this instance.
    public void remove() {
    //Get the Person Id and delete the associated Parties instance first
    Number perId = getId().getSequenceNumber();
    if (perId != null)
    DBTransaction trans = getDBTransaction();
    trans.executeCommand("delete from parties where per_id = " + perId);
    //delete this instance
    super.remove();
    best regards
    gabriela

  • VO with "Conditionnaly" Multiple Updateable Dependent EO

    Hi,
    I have a special case of:
    View Object with Multiple Updateable Dependent Entity Objects.
    One of the Updateable Entities must not be created in some cases => outer join in query condition
    I implemented succesfully the techical doc:
    http://www.oracle.com/technology/products/jdev/howtos/bc4j/multientityvo.html
    but I can't figure out how to avoid the creation of that Entity row.
    I remove the row in the create method but the default values are still displayed.
    Is there a better way to achieve this?
    How can I clear the default values to avoid the dead entity exception when those fields are accessed?
    Thanks
    Fred

    I wanted to implement gapless sequence number. But, when i try to to implement it then (DBSequence)attributeList.getAttribute("Id");
    returns null.
    and then jbo.null object reference exception is trhown.
    Do you know how I can implement gapless sequence number using this approach.

  • A variable with multiple values. Is it possible?

    Normally, when we need a variable with multiple values we just write them while creating the variable or, if they depend on some other variable selected by the user a variable of type exit is used.
    However, this time we would like my user to select <b>a few</b> variable values <b>at a time</b>, i.e years 2005,2006 and 2007. He can change his mind and then select 2007 and 2008. I don't want the user to be forced to select ONLY ONE value. They need to select several values at the same time.
    Ideally, I don't want to use a range with values from 2 variables to do that.
    Thanks,
    Alberto Sabate
    Message was edited by: Alberto Sabate

    Hello Alberto,
    When restricting variables to multiple values you need to use a range. The variable restriction in BPS supports two operators EQ - equals and BT - between.
    In your example below however you could use a user exit to support this. The years you have typed in below are sequential and therefore would fit into a range.
    Cheers,
    Scott

  • Implement a View Object with multiple entity objects

    Hi
    In 'How to' section on the 'otn.oracle.com' (Jdeveloper) web site is tutorial how to implement a View Object with multiple updateable dependent entity objects.
    It allows user to insert an employee and a department at the same time.
    But I would like to change this example to insert a new department only if it does not already exist. How to change this sample?
    Is there any other way to this?
    Thanks
    Regards
    Gorazd

    Once again the structure, sorry.
    ViewObject
    |-ParentEntityObject
    ..|-PId
    ..|-PAttribute
    ..|-CId (FK)
    |-ParentChildAssociation
    |-ChildEntityObject
    ..|-CId
    ..|-CAttribute
    Christian

  • I need your expert opinion on how to create a map with multiple conditions.

    Hello.
    I need your expert opinion on how to create a map with multiple conditions.
    I have a procedure (which i cannot import or re-create in OWB due to the bug), so i am trying to create a map instead :-(
    How can i create a cursors within the map?
    My function creates table and cursor.
    Then it will have to check for duplicates in the tables (the one created and another table) - the criteria for finding duplicates is a number of fields.I then need to place few different conditions (if some attributes are not available) and it has to load cursor based on this conditions. The next step is to fetch the data into the cursor based on what attributes are missing.
    The next thing it will do is insert the data into table (if record doesn't exist), output the error in separate table is record is corrupted, or update the record with changed information.
    In short i need to re-create match / merge but with conditions, iterations etc 'built into' it.
    I can read up on available functions - it's just what would be the best options? and what would be the best approach to do so?
    In my function i use %rowtype - but cannot use it in owb - so what would be the alternative? i don't really want to create a lot of variables and then have a nightmare of maintaing it. are there any tips regarding this?
    having looked through Oracle dedupe - it's not really what i need because it is just DISTINCT.
    I would appreciate any help / advise on this.
    Thank you very much

    thanks a lot for your reply - i will look into this option :-)
    it is a bit more complicated now as i have to re-create the match / merge and then somehow 'tweak' it to achieve the result i need.
    At the moment i am looking to breakdown the package into smaller chunks 'functions' and try creating the map that way.
    Anyway, thank you very much for your suggestion.

  • Need file to fiel scenarion with multiple target

    Need file to fiel scenarion with multiple target with screen shots
    Thanks & Regards
    Sateesh

    Hi,
    I could not understand your Qn.
    Nageswar.

  • Need a sample cme with multiple fxo ports, hunt fashion

    hi,
    anyone kind enough to provide a sample working configuration of multiple fxo ports (each being a pstn line) and I assuming the telco is doing hunting...
    so let's say 4 lines, if line 1 is busy the call is sent by the telco on line 2 and so on...
    incoming and outgoing.
    thank you very much!!                  
    I did google it and can't find anything with multiple fxo ports.

    trunk group 1
    max-calls voice 4 (or however many POTS lines you want to use)
    hunt-scheme round-robin (or whatever method you like)
    voice-port 0/0/0
    trunk-group 1
    connection plar opx XXXX (extension)
    caller-id enable
    voice-port 0/0/1
    trunk-group 1
    connection plar opx XXXX
    caller-id enable
    voice-port 0/0/2
    trunk-group 1
    connection plar opx XXXX
    caller-id enable
    voice-port 0/0/3
    trunk-group 1
    connection plar opx XXXX
    caller-id enable
    dial-peer voice 1 pots ( I like creating this for troubleshooting, by default cisco router accept incoming calls)
    trunkgroup 1
    incoming called-number .
    direct-inward-dial
    dial-peer voice 2 pots
    trunkgroup 1
    destination-pattern 8[2-9]......           (8 for an outside line or 9 or nothing, then adjust your forward-digits to match)
    forward-digits 7
    dial-peer voice 3 pots
    trunkgroup 1
    destination-pattern 81[2-9]..[2-9]......
    forward-digits 11
    dial-peer voice 4 pots
    trunkgroup 1
    destination-pattern 8911
    forward-digits 3
    dial-peer voice 5 pots
    trunkgroup 1
    destination-pattern 911
    forward-digits 3

Maybe you are looking for

  • I need to download a c6500-fpd-pkg.151-1.SY.pkg patch

    I need to download a c6500-fpd-pkg.151-1.SY.pkg patch, but I do not have this permission, no sales staff and Cisco contract number. Which friends can send a copy to me, thank you! My mail is [email protected] [email protected]-----------------

  • Changed my Apple ID email, but ICloud does not recognize my new login, only my old one (which is now non-existent) HELP!

    Changed my Apple ID email, but ICloud does not recognize my new login, only my old one (which is now non-existent) and requires the password to do anything. Everytime I go onto the ICloud  page it shows my old email and requires the password, but I c

  • Prob;ems with the hold on the ipod mini

    I bought my sister a mini ipod. she is having problems with it now. whenever she turns off the mini ipod, puts it on hold, after a minute or less than a minute sometimes, the ipod just turns own even if it was already shut off and put on hod. Wheneve

  • Just a Reminder

    This is just a reminder that 3.6 for windows is due within 5 days. The spring deadline was missed. The July deadline was missed. Now it's starting to look like August will be missed as well. Please prove me wrong.

  • How to install Oracle 10g on zone

    Hi, I'm new in zone technology. I have a problem with installing Oracle 10g R2 on previously created zone. I am not able to run Oracle installer. Is it possible to install Oracle 10g using OUI GUI? I have exported DISPLAY variable but I there is not