Exception: Field added to a Manager, while it is already apparent

Hi friends

In my application iam adding a horizondalfieldmanager to a verticalfieldmanager, I get an exception to this...

java.lang.IllegalStateException: field added to a Manager, while it is already apparent.

What are there?

Thanks in advance

Like this

HFM. Add (VFM)

VFM. Add (HFM)

See you soon...

Tags: BlackBerry Developers

Similar Questions

  • Eception exception: field added to a Manager, while it is already apparent

    I created a BlackBerry java application and added two RadioButtonFields him and but it gives an untrapped exception execption: field added to a Manager, while it is already apparent. If I remove the code for RadioButtonFields, then also it gives this execption again. Please tell me the solution...

    If you run this code during debugging, you should be able to use the trace the stack to determine which 'Add' is, failing and there where the field has already been added to a Manager.  Give it a go.

  • How can I display the last field added to the Manager (bottom) and keep the scrolling feature?

    Issues around scrolling on managers of blackberry is a real headache.

    I would like to be able to add fields to the bottom of a Manager and have this field displayed on the merits without taking the focus to another control.

    I'm looking for something similar to how works the yahoo chat window, for example.

    I was not able to get the last label field added to the box to display.

    Here is the code relavent I have:

    
     //adds a labelfield and a nullfield to the display    public void update()  {     UiApplication.getUiApplication().invokeLater( new Runnable()        {            public void run()            {             try               {                 scrollingWindow.add(new LabelField("Hello1" + count) );                   //add nullfield to facilitate scrolling                   NullField nullField = new NullField( NullField.FOCUSABLE );                   scrollingWindow.add(nullField);                   count++;              }             catch( Exception ex )             {                 Dialog.alert( ex.getMessage() );              }            }        }); }
    

    Any ideas?

    Couple of quick things:

    (1) you can make your LabelField focusable and save adding the NullFields

    New LabelField ("Hello1" + count, Field.FOCUSABLE)

    (2) have you tried to discover what field has focus, then set the focus on your new field, and then reset back to that he originated from?

  • Cannot access planning applications after you have added the calculation Manager

    Hi guys,.

    I have recently added/installed the Manager calculation on an environment running (EPMA, HPL, BSE) (11.1.2.1/win 2008r2 64 bit), which had prior to installation of the Calc Manager. EPMA and planning applications in classic and running.

    After that, I deployed the calc manager and configured the Web server on the server of the Foundation/epma only, I have 3 servers (Foundation, Manager of epma and calc), Essbase and planning.

    I have restrated the services and I can open the calculation Manager.

    When I try to open the existing applications of EPMA I get:

    [launch the journal]
    [< BEA-101020 > < [path of the module: HyperionPlanning ServletContext@6352948[app:PLANNING: / HyperionPlanning spec-version: 2.5 version: 11.1.2.0]] Servlet failed with Exception
    java.lang.ClassCastException: java.lang.NoClassDefFoundError
    at HspLogOn.Handle (unknown Source)
    at HspLogOn.doPost (unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at HspValidationFilter.doFilter (unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    >
    [End log]

    I tried to transfer the applications of EPMA exisitng but it has been abandoned with (HTTP/1.1 500 Internal Server Error)

    I checked the ohs_component newspaper and saying some file is missing:

    [launch the journal]
    File does not exist: D:/Oracle/Middleware/EPMSystem11R1/common/epmstatic/bpmui/resources/bpm_en-US.js, referer: http://[server]:19000/workspace/index.jsp
    File does not exist: D:/Oracle/Middleware/EPMSystem11R1/common/epmstatic/wspace/resources/wksp_en-US.js, referer: http://[server]:19000/workspace/index.jsp
    File does not exist: D:/Oracle/Middleware/EPMSystem11R1/common/epmstatic/raframework/resources/cds_global_en-US.js, referer: http://[server]:19000/workspace/index.jsp
    File does not exist: D:/Oracle/Middleware/EPMSystem11R1/common/epmstatic/raframework/resources/tools_global_en-US.js, referer: http://[server]:19000/workspace/index.jsp
    File does not exist: D:/Oracle/Middleware/EPMSystem11R1/common/epmstatic/reporting_analysis/resources/fr/fr_web_en-US.js, referer: http://[server]:19000/workspace/index.jsp
    File does not exist: D:/Oracle/Middleware/EPMSystem11R1/common/epmstatic/planning/resources/hp_global_en-US.js, referer: http://[server]:19000/workspace/index.jsp
    File does not exist: D:/Oracle/Middleware/EPMSystem11R1/common/epmstatic/awb/resources/awb/awb_global_en-US.js, referer: http://[server]:19000/workspace/index.jsp
    File does not exist: D:/Oracle/Middleware/EPMSystem11R1/common/epmstatic/aif/resources/aif-global_en-US.js, referer: http://[server]:19000/workspace/index.jsp
    File does not exist: D:/Oracle/Middleware/EPMSystem11R1/common/epmstatic/calcmgr/resources/calcmgr_global_en-US.js, referer: http://[server]:19000/workspace/index.jsp
    File does not exist: D:/Oracle/Middleware/EPMSystem11R1/common/epmstatic/raframework/resources/changeManagement_global_en-US.js, referer: http://[server]:19000/workspace/index.jsp
    File does not exist: D:/Oracle/Middleware/EPMSystem11R1/common/epmstatic/webanalysis/resources/resources_global_en-US.js, referer: http://[server]:19000/workspace/index.jsp
    Failure for the request: / HyperionPlanning/servlet/HspAppManagerServlet? action = validate_workforce_or_capex & license_type = all & lang_id = en, Resp Code: [500]
    Failure for the request: / HyperionPlanning/servlet/HspAppManagerServlet? action = validate_workforce_or_capex & license_type = all & lang_id = en, Resp Code: [500]
    ....
    File does not exist: D:/Oracle/Middleware/user_projects/epmsystem1/httpConfig/ohs/config/OHS/ohs_component/htdocs/favicon.ico
    Failure for the request: / HyperionPlanning/servlet/HspAppManagerServlet, Resp Code: [500]

    [End log]


    Appreciate any help! and thanks in advance,
    Omar

    EDIT:
    I found that all the. JS files that are missing are actually there only without "-U.S.»

    Published by: Omar on January 23, 2012 15:17

    Have you tried to redeploy planning again?

    In theory, you should be able to install/configure additional products at a later stage if because they are produced of foundation it may have caused problems.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Search fields added during execution

    Hi all

    I use Jdeveloper 12 c on internet explore 10 with 11g database on 64-bit.

    I followed the link as a tutorial.

    Oracle JDeveloper 12 c (12.1.2) tutorials - developing rich Web Applications with Oracle ADF

    step 8

    Develop control data EmpDetails1 and expand the node named criteria below him. Select all the searchable attributes and drag it to the new page query.jsf . Create it as a query > Panel request ADF.

    I had two problems

    1. the generated fields are too big, I want to control their width, but I don't see any field in the search box, instead, I see "search fields added during execution.

    2. I want to o excluding some areas. How to make since I can't see any generated field.

    Kindly guide me with this.

    Thank you.

    (1) the width of the fields is controlled to the view object. To change the width, you change the width to display the attributes in the suspicion ui tab.

    (2) this ID controlled of the view object. To hide an attribute in the query panel you uncheck "queryable". See JDEV: af:query hide some attributes of query panel but show them the results table | JDev & ADF Goodies

    Timo

  • I have Windows vista Ultimate edition. but he started asking for activation after the windows update while it has already been activated before the update.

    I have Windows vista Ultimate edition. but he started asking for activation after the windows update while it has already been activated before the update.

    Hello, Pichon,

    If Windows Vista application unexpected activation

    On rare occasions, you may be prompted to activate Windows Vista on a computer that did not previously require Windows Vista activation or has already been activated successfully. For example, this may occur on a computer on which Windows Vista was preinstalled by an OEM installation or Volume licensing and are major hardware changes occurred, such as upgrading the hard disk and memory at the same time.

    If you are prompted to reactivate Windows Vista, you can do this by using the Windows Activation Wizard to:

    1. Click Start, and then click computer.
    2. Click System Properties on the toolbar, and then click click here to activate Windows now in the Windows activation area. If you are prompted for an administrator password or a confirmation, type the password, or click continue.
    3. Select the Windows Vista activation method that you want, and then follow the instructions.

    To avoid this problem in the future, obtain the latest service pack for your version of Windows Vista, either through automatic updates or direct download.

    To update to Windows Vista and prevent this activation problem does not happen:

    1. Click Start, click all programs, and then click Windows Update.
    2. Click find updates.
    3. As soon as Windows Vista found the updates, click the install updates button.

    How to activate Windows Vista

    http://support.Microsoft.com/kb/940315

    Activation fails when you try to activate Windows Vista, Windows 7, Windows Server 2008 or Windows Server 2008 R2 on the Internet

    http://support.Microsoft.com/kb/921471

  • editable text field and button is not editable when added to the Manager of the Horizontal

    I find layout, when I added the button and EditField horizontally, Manager, I'm not able to write something in the EditField and not able to click on the button

    public class MyStorySearch extends MainScreen
    {
    
        private VerticalFieldManager mainManager;
        private VerticalFieldManager subManager;
        private Bitmap _backgroundBitmap = Bitmap.getBitmapResource("a.png");
        private int deviceWidth = Display.getWidth();
        private int deviceHeight = Display.getHeight();
        LabelField lbl;
        ButtonField gobtn= new ButtonField("Go");
        HorizontalFieldManager hfm = new HorizontalFieldManager(Manager.FOCUSABLE|Manager.EDITABLE);
        private Field editfild;
        Bitmap bitmapImage = Bitmap.getBitmapResource("storysearch.png");
        BitmapField fieldDemo;
    
        public MyStorySearch()
        {
            super(NO_VERTICAL_SCROLL);
            //this manager is used for the static background image
            mainManager = new VerticalFieldManager(
                              Manager.NO_VERTICAL_SCROLL |
                              Manager.NO_VERTICAL_SCROLLBAR )
            {
                public void paint(Graphics graphics)
                {
                    graphics.clear();
                    graphics.drawBitmap(0, 0, deviceWidth,
                             deviceHeight, _backgroundBitmap, 0, 0);
                    super.paint(graphics);
                }
            };
    
            //this manger is used for adding the componentes
            subManager = new VerticalFieldManager(
                             Manager.VERTICAL_SCROLL |
                             Manager.VERTICAL_SCROLLBAR )
            {
                protected void sublayout(int maxWidth, int maxHeight)
                {
                    int displayWidth = deviceWidth;
                    int displayHeight = deviceHeight;
    
                    super.sublayout( displayWidth, displayHeight);
                    setExtent( displayWidth, displayHeight);
                }
            };
    
            //add your component to this subManager
            lbl = new LabelField("SUNRAYS SEARCH", LabelField.USE_ALL_WIDTH | DrawStyle.HCENTER);
            Font myFont = Font.getDefault().derive(Font.PLAIN, 10, Ui.UNITS_pt);
            lbl.setFont(myFont);
            subManager.add(lbl);
            subManager.add(new SeparatorField());
    
            editfild = new EditField(){
                protected void layout(int width, int height) {
                    setExtent(width*85/100, 30);
    
                };
            };
            editfild.setBorder( BorderFactory.createSimpleBorder( new XYEdges(2, 2, 2, 2),
                    new XYEdges(Color.BLACK, Color.BLACK, Color.BLACK, Color.BLACK), Border.STYLE_SOLID));
            editfild.setBackground(BackgroundFactory.createSolidBackground(Color.WHITE));
    
            hfm.add(editfild);
            hfm.add(gobtn);
    
            subManager.add(hfm);
    
            //add subManager over the mainManager
            mainManager.add(subManager);
    
            //finally add the mainManager over the screen
            this.add(mainManager);
        }
    }
    

    The following code shows an EditField and a button, and I can type in the EditField and click the button.  It is not perfect, but at least it works.

    I don't know what the problem is with your code.  I suggest review you my code, review your code and investigate things that are different.

    Two areas I would focus on your layout and the sublayout.  As stated in a previous post, if you must code a setExtent in a layout, then you should really think about creating your own Manager - I gave you links to do this several times.  And if you plan to use a standard field and to make it work properly, you must use the sublayout.  Here is a link to help you create custom fields:

    http://supportforums.BlackBerry.com/T5/Java-development/create-custom-fields/Ta-p/444962

    Edit:

    Thanks for the update of these discussions.

    And I'm sorry.   I forgot to paste the code...  Here, it is now...

            EditField editfild = new EditField(){
                protected void layout(int width, int height) {
                    super.layout(width*85/100, height);
                };
            };
            editfild.setBorder( BorderFactory.createSimpleBorder( new XYEdges(2, 2, 2, 2),
                    new XYEdges(Color.BLACK, Color.BLACK, Color.BLACK, Color.BLACK), Border.STYLE_SOLID));
            editfild.setBackground(BackgroundFactory.createSolidBackground(Color.WHITE));
            ButtonField gobtn= new ButtonField("Go") {
                protected boolean navigationClick(int status, int time){
                    Status.show("button clicked");
                    return true;
                }
            };
            HorizontalFieldManager hfm = new HorizontalFieldManager();
            hfm.add(editfild);
            hfm.add(gobtn);
            this.add(hfm);
    
  • Adding accounts to Managed AD administrators for a user profile

    Hi all

    I have 2 different areas: one for the USA and one for EUROPE employees. Everyone has a business account that is used to log on to your workstation according to the location, but some users have an extra Admin account assigned to them to connect to preferred servers.

    So, for example, a user on the USA domain has their regular account: jdoe and then an admin account: adminjdoe. If their employee profile is already bound to the domain USA how can I link their account admin also to their profile if its on the same domain? I create another area managed for accounts admin even if its on the same field of UAS? IE USAAdminDomain.

    Hope this makes sense, please let me know if I need further clarification, or if anyone has any input on this.

    Thanks in advance.

    It is thrown by the UID_ProfileServer model. You will find this model in a lot of the model where it searches the OOTB manage levels and if it's any other level, throw an exception "no determined to manage level." You will need to modify the templates in question. You can know which ones you're interested in running a query SELECT on DialogColumn where TableName is the table and the model is like '% unspecified manage level % '.

  • Oracle - field - Type return Access Manager

    Hello

    I have a requirement where I need to go back a few values of LDAP setting by policy area while redirecting. But the return type must be propertytype, headervar or cookie. It is SSO integration with websphere using JAAS subject. We have internal connector TAI developed for integration between websphere and oracle access manager.

    Please help me solve this problem.

    Kind regards
    Prashant

    Hi Prashant,

    OAM can return any type you want, and OAM will set the name/value for this type - you can put "propertytype" in the type column, the name and the attribute to return in their respective fields. 'Cookie' and 'HeaderVar' are the only types used by OAM WebGates, but your AccessGate (custom internal connector) should be able to retrieve the values of propertytype that defines OAM.

    Kind regards
    Colin

  • Bitmap image does not appear when other fields added

    Hello

    I have a VerticalFieldManager with a bitmap and a few fields (code below).
    I add to an another VFM then call setBitmapField when the tile is
    downloaded in another thread.

    The code below when the bitmap is set, the other fields, move to the
    right to leave a space for the bitmap image, but the image bitmap is not visible.

    If I remove:

    This.Add (this.authorField);

    and code layout corresponding to sublayout, the bitmap fine watch.

    What I am doing wrong?

    ---

    class Item extends VerticalFieldManager {
    
        public BitmapField thumbField;
        public Bitmap image = null;
        private LabelField titleField;
        public LabelField authorField;
    
        public Item(ItemData item) {
    
            this.thumbField = new BitmapField(); 
    
            this.titleField = new LabelField(item.title, FOCUSABLE);
            Font fnt = this.getFont().derive(Font.PLAIN, titleField.getFont().getHeight() - 1);
            this.titleField.setFont(fnt);
    
            this.authorField = new LabelField(item.author);
            Font fnt2 = this.getFont().derive(Font.PLAIN, authorField.getFont().getHeight() - 3);
            this.authorField.setFont(fnt2);
    
            this.add(this.thumbField);
            this.add(this.titleField);
            this.add(this.authorField);
        }
    
        public void setBitmapField(Bitmap _image) {
            this.image = _image;
            this.thumbField.setBitmap(_image);
            this.invalidate();
        }
    
        protected void sublayout(int width, int height) {
    
             if (getFieldCount() > 0) {
    
                 BitmapField _thumbField = (BitmapField)getField(0);
                 layoutChild(_thumbField, _thumbField.getBitmapWidth(), _thumbField.getBitmapHeight());
                 setPositionChild(_thumbField, 0, 0);
    
                 int thumbWidth = _thumbField.getWidth();
    
                 Field _titleField = getField(1);
                 layoutChild(_titleField, width - thumbWidth, _titleField.getHeight());
                 setPositionChild(_titleField, thumbWidth + 5, 0); 
    
                 Field _authorField = getField(2);
                 layoutChild(_authorField, width - thumbWidth, _authorField.getHeight());
                 setPositionChild(_authorField, thumbWidth + 5, _titleField.getHeight()); 
    
                 setExtent(width, _titleField.getHeight() + _authorField.getHeight() + 2);
             }
         }
    }
    

    I have it! Had to extend Manager rather than VerticalFieldManager. Assumes that the optimization of the resources are so limited in-house as how fields can be arranged. Makes sense.

  • Class not found exception after adding a new image in the folder resources.

    The app works perfectly well on the Simulator and the device. After adding a new set of images, he began to show in every race, on the Simulator and the device, a class not found exception.

    When you try to delete some images to find the cause, I get different classes not found when executing. Compilation and packaging the application generate warning or error. They even get signed. Some of the classes are not exception I get:

    Java.lang.StringBuilder

    NET. RIM. Device.API.UI.UIApplication

    I'm guessing this has something to do with the size of the total image, since the size of each range image from 100 KB to 300 KB, and we talk about only 25 or 30 images in total. Adding image outside of the 'res' folder does not generate the error, but the image is not added to the final files.

    In addition, this application is not large, but when compiling and packaging of the app, it generates and signs 125 cod files. Is this normal?

    I use Eclipse 3.6 (Helios) and BB SDK 5.0.0.25 won win 7

    Any help will be appreciated. Thank you.

    Have you seen this?

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/the-maximum-size-of-a-BlackBerry-smart...

    I would recommend that you download these kinds of resources and put them on the SD card if you take a storage capacity that users will want to keep available for email and others.

  • The exception of DOM JmsAdapter analysis management

    Hello

    I am currently facing a problem with the behavior of the Jms adapter.

    Whenever a JMS message is put in the queue, and the message is not XML valid, the Jms adapter (consumer) throw the exception "DOM Parsing Exception to the Exception translator".

    It's fine, I understand that the message was not well-formed. But what is not fine is that the underlying BPEL is not instantiated: which means that I can't handle the exception properly.

    Y at - there a way to force the Jms adapter not crashing on the analysis of DOM for the BPEL to be instantiated (and then be able to handle the exception it)?

    Or is there a way to manage the error thrown by the Jms adapter itself? How?

    I think that I have a workaround if there is no better option (if the two above questions cannot be decided) but I would rather not implement it since it will be a few extra steps / complexity.

    > It would be to check the option "opaque schema native format" and then use a java embedded in order to decode the base64 string for finally parsing it.

    Kind regards

    Mathieu

    Hi Mathieu,

    Error messages before being assigned to the infrastructure of service are called rejects messages. For example, the Oracle file adapter selects a file with data in the CSV format and try to translate it into XML format (using NXSD). If there is a mistake in translation, the message is rejected and are not counted for the composite target.

    You can create release managers to manage message errors. Message errors include those that occur during translation, incompatibility of correlation and analysis XML ID after receipt of the message.

    Docs on how to do that are here...

    http://docs.Oracle.com/CD/E28280_01/integration.1111/e10231/life_cycle.htm#CIAIICJJ

    See you soon,.

    Vlad

  • Hide fields added by program

    Hello

    AR, ARIHOMEPAGE - there is an area on the right side of the Page with new information, FAQ, policies. My requirement is to hide this region.
    I found a note in metalink for this: 396723.1-, but only until the 11.5.10.3

    We are on 11.5.10.7RUP and this region was created programmatically to CO.
    In CO, while creating web beans, ids are not defined. and so an extension, it's not possible to get managers for these items.

    OACellFormatBean oacellformatbean7 is createWebBean (OACellFormatBean) (oapagecontext, "CELL_FORMAT", null, null);.
    oacellformatbean7.setVAlign ("Top");
    oacellformatbean7.setStyleClass ("OraBGAccentLight");
    oarowlayoutbean.addIndexedChild (oacellformatbean7);
    OARawTextBean oarawtextbean is createWebBean (OARawTextBean) (oapagecontext, "RAW_TEXT", null, null);.

    oarowlayoutbean is created also by program with no id.

    Please let me know how to hide these fields. Thank you!

    Not recommended, but if you have no other choice, then you can follow below aproach.

    Create a custom controller by copying all the seeded controller code and make changes to meet your requirement.
    Apply to this controller of customization.

    Kind regards
    RAM

  • Problem with the exceptions of the workflow activity management

    Hello

    I use the activity stream in my Bpel process, I get an exception in one of the streams, but other streams are working properly. Even I have included the Catch block for another i still stream get the error response.

    Please suggest me how to sink the activity of exception handling.

    Thanks in advance.

    Hello

    just to restructure your BPEL process. The 'Flow' activity contains several activities 'Sequence '. Just put an activity 'Reach' within each activity in the 'Sequence '. Then put another 'Sequence' activity within each "Scope" activity... and there put logic/required activities.

    After this, you can create fault handling on these activities 'scope '. In this way, you can manage defects in each sequence flow.

    Kind regards
    Martin

  • How to reference a field added to dynamically

    I'm trying to set the value of a field that was dynamically added as part of a section of the table and I can't figure out how.

    The section of the table is added by clicking on a button that works very well. I can access any field value in the section of the table that owns the instance of '0'. But I can't seem to understand how to access the field values for all other instances of this section of the table.

    This is the hierarchy of one of the fields:

    TopmostSubform.Page4.DeveloperIdSubform.DeveloperIdentityTbl.MemberSection.Row8.dteFormedD ateDevMem

    Where "MemberSection" is the section of lines button will add an instance of. Now I can access the value of the field date from the first instance of "MemberSection" by the following:

    DeveloperIdentityTbl.MemberSection.Row8.dteFormedDateDevMem.rawValue

    If I want to do the same thing to say for instance 'MemberSection' 3rd, how could I do?

    Thanks for the help!

    Marc

    Hello

    WhyIsThisMe is correct. You need to reference the instance of repetition "MemberSection" by its index. If not (as you did) it will default the 1st instance.  Sounds easy, right? Well...

    Actually, depends on the scripting language you have chosen. The syntax of the actual function used to formCalc and javaScript is considerably different.

    The WhyIsThisMe reference:

    TopmostSubform.Page4.DeveloperIdSubform.DeveloperIdentityTbl.MemberSection [2]. Row8.dteFor medDateDevMem

    should work for formCalc, but it will not be for javaScript. To do this, you need to use resolveNode()

    /////////////////////////////////////////////

    INDX var = 2;  you will probably select a different line in different circumstances, right? For example, to assign the index value to a variable

    or on the contrary

    var indx = 0;

    If (condition) {indx = 2 ;}

    If (condition) Else {indx = 3 ;}  you get the idea

    ////////////////////////////////////////////

    Then, you would do the assignment of the value using resolveNode() by the construction of the chain that goes inside the ():

    xfa.resolveNode ("TopmostSubform.Page4.DeveloperIdSubform.DeveloperIdentityTbl.MemberSectio n [" + indx + "]..") RawValue Row8.dteFormedDateDevMem")

    /////////////////////////////////////////////

    you build a string in javaScript, so the + is used. There are 3 parts of the final string for the resolveNode().   finalString = "part1" + indx + «part3»

    ////////////////////////////////////////////  Still with me?  I usually opt for formCalc when referencing instances, as it is generally more forgiving

    FormCalc, 1 assign an index value to variable.

    var indx = 0;

    If (condition) then

    INDX = 2

    else if (condition) then

    INDX = 3 //you get the idea

    endif

    Then use this variable to refer to the instance of / / "MemberSection" resolveNode() is necessary in formCalc

    TopmostSubform.Page4.DeveloperIdSubform.DeveloperIdentityTbl.MemberSection [indx]. Row8.dteF ormedDateDevMem

    ////////////////////////////////////////

    Good luck!

    Stephen

Maybe you are looking for