Set Focus target when Add New Instance

[LC Designer ES2 9.0] Using Action Builder to add a new instance of subform SITE, where first field is called SiteName.
If I set action to Set Focus to SiteName, the focus goes to the *original* SiteName field instead of to the new instance.
Users will typically add a number of additional sites and, each time, I want the focus to be set on the first field of the newest instance, not the original instance. How do I accomplish that? Thanks!           ~Carol

I understand the concept (I think...), but am not clear on where to place the code.
I used Action Builder to create an AddSite action: when check box chkAddSite is checked | Add a new instance of subformSiteInfo | and set visibility of subformSiteInfo to visible. Does your code go in that same action sequence? If so, what is the next Action Builder result selection? If not, where do I insert it?
I never know whether the new instance of the subform will begin on the following page, so the user might keep clicking the chkAddSite box, thinking it didn't work. Although, thinking this through, maybe I could force the new subform instance to always appear at the top of the following page, and somehow direct the focus there, rather than to the specific first field???
Thanks!         ~Carol

Similar Messages

  • Remove "Add New Instance" and "Remove New Instance" Entity buttons

    Hi,
    While Adding new Entity, "Add New Instance" and "Remove New Instance" buttons will be displayed.
    I don't want to display "Add New Instance" and "Remove New Instance" because by default i have created instances. I am able to disable it but i don't want to display at all.
    For "Add New Instance" , one-to-one, Automatically disabled by OPA
    For "Remove New Instance" added below code in ButtonControl.vm:
    #if( ${control.getButtonClass()}.equals("remove"))
    #set( $disabledString = "disabled" )
         #set( $visibility = "false" )
    #end
    Please tell me how to not display these two buttons.
    Thanks,
    Sri

    Hi Sri and Patrick,
    There's no out-of-the-box configuration to hide the Add/Remove Instance buttons from entity collect screens in Web Determinations. However, this requirement can be achieved through Custom Properties. This requires a technical person to create the custom property, which the rulie then attaches to the Rule Project. The technical person also needs to modify the velocity template which renders the entity collect screens so that it will remove the Add/Remove buttons on any entity collect control where the custom property is set to True.
    I can't advise on exactly how to write the custom property or edit the velocity template (I'm a functional expert, not a programmer), but the OPA Developer Help should have guidance. Try searching on ‘custom property’. From the rulie perspective, have a look at this article for how to attach a custom property to the project and to the particular screen control:
    * Augment the rulebase with metadata: http://docs.oracle.com/html/E24270_01/Content/Integrating/Augment_the_rulebase_with_metadata.htm (particularly the sections 'Specify a custom property defintion' and 'Assign a custom property to a control'). This link is to the 10.3 version of the OPM Help. If you are using an earlier release of OPA, you can look at the equivalent article in your copy of the Help.
    (If there are technical people following this thread, perhaps you could reply with specific OPA Developer Help articles people should look at with regard to writing custom properties?)
    Cheers,
    Jasmine

  • Alert msg when add new po order

    i want alert message when i will add new po order.
    how can i do it?
    i have written trigger after insert , but it's not working.

    Firstly, You are not suppose to use triggers with SBO.
    You will have to create a query and attach it to an Alert.  How often you want the alert to go off can be set in the Alerts Management Window.
    A simple Query to give you DocNum, DocDate, CardCode for PO's created in that day would be
    SELECT T0.DocNum, T0.DocDate, T0.CardCode FROM  [dbo].[OPOR] T0 WHERE DATEDIFF(DAY,T0.CreateDate, GETDATE()) = 0
    Save this Query.  Then Go to Administration -> Alerts Management --- Open Saved Query and select this query,  Click Active and select the user and check the Int checkbox to send an alert through SBO's internal messaging.  You may set the frequency as desired.
    If you are using a flag to mark the PO as read / alert received then this flag can be added in the Where Clause of the Query so that the same PO's don't alert repeatedly.
    It all depends on your business need.
    Let me know if you need further assistance
    Suda

  • Get error when add new object in crystal report

    hi
    i have this error "You are attempting to use functionality that falls under the Crystal Decisions Report Creation API license. This system does not have a valid license, or the evaluation copy of the license has expired. Please contact Crystal Decisions to obtain a Report Creation API license."
    when i add new object in crystal report with vb.net
    ""CRReport.Sections.Item(ii).AddTextObject("new text", 1000, 0)
    i do same program for 3 months ago but i lost it work without error
    ihave a license key for crystal report
    use cr10 with vb.net 2005
    can help me
    thanks

    Also, check out the blog [Use of the Report Designer Component (RDC) in VS .NET|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414700)ID0468837450DB00359707053703393347End?blog=/pub/wlg/15939].
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Existing wireless Network (not set up by me) add new mac to it

    I have little or no experience.
    A college computer science major (not available) set up a wireless network for my childrens emacs about 2.5 years ago. Using Netgear WGR614V2 router to a cable modem. has worked flawlessly.
    I just received a macbook Pro and in spite of trying to get it added to the network I can't seem to get it.
    I took the computer to starbucks and it accessed the network instantly, so it works fine.
    I need help in getting the computer to communicate with the router so that it can access the cable to the internet.
    I can see the various setting for the existing network by looking at the configurations on the emacs, but don't know how to set enter these to the new computer.
    I know you geniuses can do this in seconds. Please help Regards Jim Svarz

    Jim,
    I know how weird all these networking woes may seem to you. We all started as newbies
    Let's start afresh with the very basics:
    What we need to find out in the first place is:
    The name of your wireless network (this is also called SSID)
    If encryption is turned on for your wireless network (the most common names for wireless security schemes are WEP & WPA)
    If any other security measures (such as MAC address filtering, etc) are set for your wireless network that prevent your MacBook from joining in.
    All of the above information/settings is stored in your Netgear WGR614V2 router. (It's also displayed on your eMacs, but let's start with the router so you can get an overall picture of how your network works).
    If this is the correct model of your router: http://kbserver.netgear.com/products/wgr614v2.asp, I'm flicking through its manual to help you set you get up and running faster.
    Now, grab a pen & sheet of paper, sit in front of any eMac that works fine and place your MacBook next to the eMac. The next steps are following the instructions according to the router's manual.
    From the eMac:
    Open Safari
    In the address bar type: 192.168.0.1 (and press Return)
    You'll be asked for a username and a password, (Again according to the manual) the default ones are username:admin and password: password
    Assuming that the guy that setup your network didn't change the default ones, you'll be able to see (log-in) the router's configuration pages.
    Let me know if you can log-in to your router to continue to the next step(s)
    Macs running 9.x, Macs running 10.4.x, SGI workstations running Irix 6.5.x

  • Setting focus to component in new tab

    I have a static function in my main class with a JTabbedPane as a parameter...the function does this:
    //Add a tab
    tabs.addTab("New File", new STab());
    tabs.setSelectedIndex(tabs.getTabCount()-1);
              ((JPanel)tabs.getSelectedComponent()).getComponent(0).requestFocusInWindow();
    I run this function from two different places in my code: one is from a menu I created when a user mouse clicks on the menu item. The other is when the user presses Ctrl+T...this goes through a KeyEventDispatcher that I set up on top of all my other components.
    The problem is this: when I create a new tab through the menu, the code that selects the first component in my tab works, however when I do it with Ctrl+T that component is not selected. Both of these methods run the same function...the only difference is that the Ctrl+T method goes through a class which implements my own interface.
    Any ideas?

    tabs.setSelectedIndex(tabs.getTabCount()-1);
    this will select the last tab in your tabbed pane...
    I assume the next line is when the tabbed pane is hidden behind some other frame, it will bring it to front.
    ((JPanel)tabs.getSelectedComponent()).getComponent(0).requestFocusInWindow();
    couldn't you just go:
    tabs.getSelectedComponent().requestFocus(); ? I'm not 100% what you're tryin to do in the last line.

  • Error message in report writer when add new selection filed?

    Dear All,
    I wanna add a new selection field cost element group and cost element to a report in report writer. I key in GR52 and click the general data selection. I select the set variable &1KSTAR to enter into the set ID. But it shows me the following message:
    Set cannot be used in Selection:
    Message no. GR807
    Diagnosis
    You are trying to use a set in report maintenance.
    The set cannot be entered in the report definition for any of the dimensions for which the set could be used.
    The following error message describes why the set cannot be used for all the dimensions for which the set can be used.
    System Response
    The set will not be entered in report maintenance.
    Procedure
    Choose an appropriate set.
    What does it mean? I have tried other set variables but sitll gave the same message.
    Thank you and good day.
    Emma.

    At the same time, it gave me a green light message saying:
    Characteristic Cost Element is already used in a row
    Message no. GR465
    Diagnosis
    The characteristic Cost Element is already being used in a report row block and therefore cannot be used in a different part of the report.
    Technical note:  The field name for characteristic Cost Element is KSTAR.
    Does it mean I have used the cost element in the report and blocked the cost element so that I can't use it in the selection screen? How can I solve this by not changing the report or should I change the report?
    Thank you and good day
    Emma

  • Error when add new property to User Profile "General Information" portlet

    Portal 5.0.2 .NET 1.1
    The following error occurs when:
    1. Create new property (Everyone has select access)2. Edit "General Information" User Profile portlet and add the new property, then "Finish"
    <property name>: Current user is attempting to save an invalid property.
    Is there something that I am missing? Thanks Meredith

    Meredith,
    Don't forget to map the property to User objects in the Global Object Property Map. I suspect that this is the problem.
    jennifer

  • RW Cronacle : Add new instance

    Hi,
    I created an instance with RSI_MAINTAIN_INSTANCES, but as we didn't use it, I deleted it.
    But now that we have to use it, I try to add it again via RSI_MAINTAIN_INSTANCES, but it doesn't work, I get the follonwing message :
    Unable to add XI4 ORA-20800: JCS-02182: registry key /PUBLIC/RSI/XI4 already exists
    ORA-06512: at "SYSJCS.JCS_REGISTRY", line 482
    ORA-06512: at "SYSJCS.JCS_REGISTRY", line 1047
    ORA-06512: at "SYSJCS.RSIREG", line 254
    ORA-06512: at "RSI.RSI_SAP_INSTANCES_BID", line 7
    ORA-04088: error during execution of trigger 'RSI.RSI_SAP_INSTANCES_BID'
    Unable to add 400 ORA-02291: integrity constraint (RSI.RSI_SAP_CLIENTS_FK) violated - parent key not found
    When I choose the option "View" for the "View, Modify, Add or Delete?" option, I can't see it in the list.
    How can we resolve it ?
    Thank you for you help.

    Hello,
    You have a couple of options.
    1) Give the instance a different name then the initially created and deleted one.
    2) Clean up everything that was left from the old instance.
        - Remove the registry entry in Configuration->Environment->PUBLIC->RSI-> <instance>
        - Remove all references to your instance from the RSI tables (RSI.RSI_SAP_INSTANCES, RSI.RSI_SAP_CLIENTS, RSI.RSI_CCMS_JOB_HANDLING, ..., etc)
    Regards Gerben

  • Dreamweaver CS3 freezes when add new site section

    I've been having this problem since I installed my
    Dreamweaver CS3. It just freezes right up whenever I try to click
    the 'new site' button or the 'edit site' button while in 'Manage
    sites' section.
    It freezes up for about 30 seconds before it lets me in.
    After that it's fine it's just very annoying to have to wait 30
    seconds each and ever time I find a new file extension to add to
    the cloaked list of file extensions.
    I have 5 websites as sites and so anytime I add cloaked file
    types I waste two and a half minutes.
    Please help me, very much appreciated any response at all.
    thanks
    Jeremy,
    fitness
    models

    OK - where is your local site? On a remote, shared network
    drive?
    Also, what is it you're doing? Adding a new file extension to
    your list of
    cloaked extensions?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "fitness-guy" <[email protected]> wrote in
    message
    news:g7n3g9$nk9$[email protected]..
    > Thanks for the help Murray.
    >
    > Actually it happens always no matter what I do.
    >
    > I actually thought of that myself and since I would be
    redoing my PC the
    > next
    > week I thought that would get rid of it. For a test, I
    exported four of
    > my
    > websites and for one of my tiny websites, I thought I
    would recreate that
    > one
    > from scratch to see if that would resolve the issue.
    >
    > Ok so I backed up the exported sites and reformatted my
    PC with a fresh
    > install of windows xp sp2. Once installed, I installed a
    few basic apps
    > like
    > windows messenger and my video card driver. Then I
    proceeded directly
    > with
    > dreamweaver cs3 and in site manager I imported all the
    sites. The same
    > freezing issue immediately started happening again.
    >
    > I then recreated a new site from scratch and same issue
    as well. Could it
    > be
    > because I have a router and used the network setup
    wizard to setup a new
    > custom
    > workgroup name for all of my computers and I also
    enabled file sharing.
    > I've
    > seen application act slow like this whenever a file and
    printer sharing
    > along
    > with a custom workgroup name is used. It like takes
    forever because it
    > has to
    > check something on the network is the theory behind my
    speculation.
    >
    > Any ideas much appreciated and if someone can look into
    this also much
    > appreciated.
    >
    > Jeremy,
    >
    http://www.hotgirlstub.com/fitness-models.php
    >

  • Crystal crashes when add new parameters to a stored proc in a subreport

    This one has been driving me nuts so any help much appreciated...
    I have a stored procedure (Oracle 9i) that is used as the datasource for a subreport (needs to be in the subreport as I need to pass multi-value parameters to the proc - something I've done in numerous other procs/reports).  All of the parameters from the proc are linked to data/parameters on the main report.
    The report works fine at the moment. 
    I need to add three new parameters to the proc with an If statement on each one to run various bits of code depending on what is passed in.  This is where the trouble starts.
    The proc works.
    If I create a main report based on the new proc, it works.
    If I create a subreport based on the proc and DON'T link it to the main report, it works.
    If I create a subreport based on the proc and DO link it to the main report, Crystal crashes with no explanation (just that painful error that apologies for the inconvenience).  It is not all the parameters that cause this problem - it's not even restricted to just the new parameters or even just to ones that are used in the IF statements.
    This is not the first proc to do this to me - just the first one where the new functionality was too critical to strip out for now.
    I have been trawling the net and trying all sorts of things for days so I am hoping someone out there has a suggestion!
    Versions: Oracle 9i, Crystal Reports 11.0.0.1994

    Hi Daniel,
    Starting from the basics, after you've inserted the subreport don't link it yet.  Edit the subreport and verify the database.  Once it's verified, try linking the reports and adding a parameter. 
    Verify the linking you are using.  I've seen where the field from the main report was passing invalid or coruupted data and caused the subreport to die a horrifying death. 
    Good luck,
    Brian

  • Munged target when creating new Java ant applications

    The target ID ends up looking like a makefile variable name:
    <<PROJECTNAMEASIDENTIFIER>>
    Anyone know what to do to fix this?
    Thanks

    Thanks, uninstalling/reinstalling is just what I had to do - made me think I was on a Windows platform.
    I did have to do one additional step - manually delete the "Library/Application Support/Apple/Developer Tools/Project Templates/Java" directory. Once you modify it, the uninstall script kindly decides not to delete it. I had modified the templates in the hope of making the default JDK 1.5 - still would like to do so, but can stand the hassle of manually doing so for each project.
    Thanks for your help!
    Rick

  • Setting focus to new instance of a field...need help.

    Hi there,
    I have a flowed form which consists of multiple subforms. I have one subform which is basically one textfield that is set to a min of 1 and a max of 5.
    These are to correspond to fields in our system of record that have 5 fields for company long name with a 36 character field limit.
    I've got the limits set up just fine and I have added simple script to add a new instance when the user exits the field.
    The focus goes to the next field set in the tab order but what I want is the focus set on the new instance of field created but I have not been able to find an example of how to do that.
    Any suggestions would be greatly appreciated. Thanks!

    Well,
    I've been reading and trying various things but cant get anything to work like I want it to.
    The sample provided works for 2 iterations but mine has to do this for up to 5 instances. I have not been able to figure out how to get this to work.
    Anyone have any additional suggestions?
    btw...here is my modified version. ES2 is whay I'm using.
    Long_Title.occur.max = "5";
    var oSubform = xfa.resolveNode("Long_Title");
    var oNewInstance = oSubform.instanceManager.addInstance(1); // I think you probably managed this first part better than here
    xfa.form.recalculate(1); // I THINK THIS IS IMPORTANT
    var count = (this.Long_Title.nodes.length)
    var testIndex = oNewInstance.Account_Long_Title.index;
    xfa.host.messageBox("Text Field Index in new Subform: " + count); // TextField1 will conserve index 0 because it is the only textfield in the new Sub1
    var NEW_TEXTFIELD = xfa.resolveNode("Long_Title[1].Account_Long_Title[0]"); // However, Sub1 gets index 1 because it is not alone any more
    xfa.host.setFocus(NEW_TEXTFIELD); // This actually sets focus on the newly created instance of TextField1 (actually Sub1 instance)

  • PerformancePoint Designer is not loading when clicking on "Add new item" from PerformancePoint Content List

    Hello,
    I am using Internet Explorer 9 to create a new item by launching Performance Point Dashboard Designer from browser. 
    When i click on "Add new item", an Iframe will open showing dashboard design redirect which keep loading for couple of minutes and the designer never opens. 
    Yes, there are working workarounds like opening these links in other tab or opening dashboard designer directly or by clicking on "Run Dashboard Designer"  from BI Center homepage. 
    However, Can someone please help me how to get designer opened when "Add new item" has been clicked from  PerformancePoint Content List from browser? 
    Thanks in advance.
    NKV Prasad Panthangi

    An Update :
    I found this is due to the browser limitation. 
    I have downgraded my Internet Explorer Browser to IE 8 and did the following changes in my browser settings. 
    Tools --> Internet Options --> Navigate to Security Tab --> Click on Custom Level Button --> Under Download --> Select "Enable" radio box for Automatic Prompting for File Downloads. 
    Sadly, I cannot ask users to downgrade their browser to IE 8 because MS already stopped support for this browser and there are no other solution for this except going by workarounds. 
    This clearly says why people are moving away from PerformancePoint Services in SharePoint. 
    Thanks
    NKV Prasad Panthangi

  • AddNode when add database software to new node

    Hi,all;
    after add oracle clusterware to new node,I perform $ORACLE_HOME/oui/bin/addNode to add database software to new node.
    but the commad it seem to add clusterware to new node again.how to fix?
    cluvfy stage -post crsinst -n all
    passed
    detail of inventory.xml
    <INVENTORY>
    <VERSION_INFO>
    <SAVED_WITH>10.2.0.1.0</SAVED_WITH>
    <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
    </VERSION_INFO>
    <HOME_LIST>
    <HOME NAME="OraDb10g_home1" LOC="/opt/oracle/product/10.2.0/db_1" TYPE="O" IDX="2">
    <NODE_LIST>
    <NODE NAME="rac1"/>
    </NODE_LIST>
    </HOME>
    <HOME NAME="OraCrs10g_home1" LOC="/opt/oracle/product/10.2.0/crs_1" TYPE="O" IDX="1" CRS="true">
    <NODE_LIST>
    <NODE NAME="rac1"/>
    <NODE NAME="rac2"/>
    </NODE_LIST>
    </HOME>
    </HOME_LIST>
    </INVENTORY>
    Edited by: Index.Lee on Sep 16, 2010 9:19 AM

    Hi,ssolbach:
    thank you.
    environment is good.
    You mean ./addNode copy Oracle database software to new node?
    No,in fact,I can not continue the installation.
    as well know, when add clusterware to new node, when GUI goes "add new nodes list",It will list the new member with hostname,host-vip,host-priv,
    While add database software to newnode,the same GUI will display 'host_name' only.
    the problem I meet is:
    After finished add clusterware to new node, I add database software to new node. and when "add new node list",it dispaly new member with hostname,host-vip,host-priv. so that,I cannot proceed the installation.

Maybe you are looking for

  • KEY MODE in forms

    Hello , I need to update "KEY MODE" in forms6i to "Non-Updateable" value.and then will have to compile the forms. Please let me know. how can I update this ?? I am new to forms. Thanks, Rajeev

  • Reagrding :  block stock sales order wise

    Hi, I am working on report in which i have to display the block stock sales order wise ,i had used to tcode MB52 and MMBE and i was first using table MCHB and MARD ,it displays only the bocked stock ,but when i click on  special stocks icon in tcode

  • Getting a Time value from a datetime data type in SQL Server - URGENT!

    Hi guys I have an urgent issue here - I have a datetime data type in a SQL Server database. The field holds both a time, and a date within it. I am able to pull the date out of the field by using: Date sDate = Date(); while (gd.next()) { sDate = gd.g

  • Oarcle 8.1.7 on RedHat 7

    Installer Oracle 8.1.6 runs fine on RedHat7. and I have jre_1.1.8 installed. I did not install 8.1.6, just tested the installer and it runs OK. However Installer 8.1.7 (RunInstall) wil not run and complains about jre. What is the difference between t

  • Fusion Security, SearchResponse next returning array index out of bound

    I am trying to fetch all the roles under a search base and while iterating i am getting array index out of bound exception. SimpleSearchFilter filter=store.getSimpleSearchFilter(RoleProfile.NAME,SimpleSearchFilter.TYPE_EQUAL,null); String wildCardCha