problem - by clicking on the button loses the new line or resets the iterator

Hello

I use JDev 11.1.1.6. I created a page that is preceded in the taskflow by a method in the AppModule that creates a line on the iterator and inserts it. I have a button 'Next' in the page, which is supposed to make changes to attribute readonly on the input fields, and display a confirmation button.

The problem: when I click on 'next', the empty fields that have been entered by the user on the page, is part of the first record in the iterator. It is as if, when the button "Next" has been clicked, the iterator has been somewhat refreshed and moved to the first original line, and entered values have been thrown in there... While my 'new' record is lost. Result: I lose my new record line, and entered values replace the values in the first previous row in the iterator.

The code used to create the line before the page is loaded:

Sender ViewObjectImpl = getSubmittersView3_1();

Submitter.Reset ();

ViewRowImpl submitterRow = submitter.createRow () (ViewRowImpl);

submitter.insertRow (submitterRow);

When the page is loaded initially, I printed the primary key on the line and a - 4 (which is good, it means new line)

But when I print the primary key in the action of the button 'Next', 59, who has been the pharmacokinetics of the first original line I.

The code that is used to print the primary key:

seqNum int = Integer.parseInt (this.getAppModule () .getSubmittersView3_1 () .getCurrentRow () .getAttribute (0) m:System.NET.SocketAddress.ToString ());

Then print seqNum.

Please help.

Found the problem.

I had a button print at the bottom, which was my button "Cancel". In this paper, I got the code to remove additional items (i.e. unwanted ranks - since it is a Cancel button). And what was going on was that while rendering on the page, the code of the EEG for the go button was running and the removal of my new line! If the culprit here was go get code button is iterated in the rendering phase... something I didn't expect or know so far. Remove this code and change a command button solves the problem.

Tags: Java

Similar Questions

  • Problems after clicking on the Submit button in a form

    Hello people I'm new to the Forum. I have an IMac with OS Snow Leopard 10.6.4. I just finished my first Web site using dreamweaver CS4 and there style with CSS. I have also built a simple form using the tools 'Spry validation form' with a name and e-mail along with a "submit" button text boxes. When I saw my site in Safari and Firefox, and fill in the details with my own name and email address then click on the button submit, my e-mail "New Message" window opens. What should appear?  shouldn't I have a message "form sent.

    If a user entered text fields with coordinates and then clicks the Submit button should not he see also message 'Send form', not his new e-mail window.

    As I have not downloaded the site and yet I thought I would fix the code. I'm not sure as to the time code is incomplete.

    My another brief question is, is it wise to get an overview of the sites in browsers other than Safari and Firefox

    I'd appreciate any help offered.

    concerning
    John

    < form action = "mailto: " [email protected] "method ="get"name ="frmRegistration"target ="_blank"class ="blueCaptions"id ="frmRegistration"> "

    < span id = "sprytextfield1" >

    < label form 'name' = > name < / label >

    < br / >

    < input name = "name" type = "text" id = "name" tabindex = "10" size = "36" maxlength = "36" / >

    < br / >

    < span class = "textfieldRequiredMsg" > name required. </span > < / span >

    < p > < span id = "sprytextfield2" >

    E-mail < label for = "email" > < / label >

    < br / >

    "< input type ="text"name ="email"id ="email"tabindex ="20"size = 36.

    "maxlength ="36"/ >"

    < br / >

    < span class = "textfieldRequiredMsg" > a valid email address is required. </span > < span class = "textfieldInvalidFormatMsg" > incorrect e-mail. </span > < / span > < / p >

    < p >

    < input type = "submit" name = "submit" id = "submit" value = "Submit" tabindex = "30" / >

    < /p >

    < / make >

    This is what happens when you use mailto Action of forms. It is not completely reliable and should be avoided. To send the form, you need a form mail script on the server side. First check if your host can provide a suitable to your hosting plan. If this is not the case, check back for some suggestions.

    Also, be careful when posting in these forums. You have submitted 4 duplicate threads.

  • driver nVidia, solution offered but problem cannot click on the steps.

    NIVIDIA DRIVER PROBLEM SOLUTION OFFERED BUT CAN'T CLICK ON ONE OF THE STEPS PROPOSED TO SOLVE COMPUTER JUST STARTS TO TURN MORE AND NOTHING NO SE PAST

    HAVE PROBLEMS WITH THE COMPUTER FOR A CERTAIN TIME HAS BEEN ALERTED, BUT BEING NOT NOT IN COMPUTING DID NOT UNDERSTAND HOW THE PROBLEMS WOULD AFFECT MY COMPUTER.

    I HAVE NO SYNAPTIC POINTING DEVICE, IT HAS STOPPED WORKING

    DON'T KNOW IF I READ THE INFO DATA ON VISTA APPARENTLY SUPPORT FOR THIS HAS BEEN REMOVED IN APRIL 2010 I PUT T KNOW WHAT THIS MEANS AND ONLY READ IT TODAY THROUGH ONLINE INFORMATION

    THE MAIN WITH THE OFFERED SOLUTION PROBLEM IS THE DRIVER PROBLEM, I CAN NOT CLICK ON ONE OF THE STEPS TO SOLVE THIS PROBLEM EVEN NOT MANUAL STEP.

    IS THERE ANYONE OUT THERE THAT CAN HELP THIS DELAY TECHNO 61 YR OLD WIDOW WHOSE MAIN COMPANION IS HIS INSTANT MESSAGING AND E-MAILS

    PLEASE IF ANYONE OUT THERE CAN HELP PLEASE SEND NO HELP AVAILABLE IN LAYMANS PHRASEOLOGY AS I CERTAINLY NO WIZ KID I ACTUALLY SEEMS AS ILLERATE I WOULD NEED TO BE TAKEN BY ANYTHING WITH EXPLANATIONS, YOU WOULD USE FOR A CHILD. TELL A CHILD YOU WOULD UNDERSTAND BETTER.

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    ScottishWidow,

    You said: "I HAVE NO SYNAPTIC POINTING DEVICE IT has STOPPED WORKING.  If you wanted to say that your laptop's built-in mouse has stopped working, so maybe I can help you.

    That said, you can't fix it without being able to 'click '. As you have not mentioned the brand, the model of the computer, I offer the following.  Some laptops have a characteristic that "locks" the synaptic pad. It is normally used to prevent the pad from interfering with typing.  You need to look in the manual or ask by mentioning the brand, the model of the computer.

    If it is not "locked."

    (1) buy or borrow a USB mouse. Plug it into the USB port of your laptop.

    (2) Vista will automatically detect the mouse and install the necessary driver. Now you have a real mouse.

    (3) with this, you can fix your problem. It could be as simple as going into Device Manager and all items with attachment indicator.

    Halima S,.

    A "synaptic pointing device" means integrated laptop mouse.  This means that she cannot mouse click on anything, as an applicant, click on send, open a program.

  • Problems with clicking on the edges/corners of the screen in the Flash games.

    Hello.

    My OS is Windows 7 Home Edition 64 bit

    My browser is Mozilla Firefox (Version 10.0.2)

    My version of Flash Player of Adoce is 11.1.102.62

    Quite simply, while playing almost all the Flash games, pretty much any site (Newgrounds, Kongregate, etc.), seeds from cursor on (to clarify, the cursor is evolving between "Point" and "Select" icons hand,) on the edges of the screen, and even on some of them, it is the entire screen. In addition, by clicking on collapsed it most of the time, but it does not activate what I clicked on. This is particularly annoying in opportunities to click - drag, where I try to drag and drop several times, finally article acknowledge that I made such action, only to have me not see over time and release the mouse button (my fault I know that, but still aggrevateing)

    I have not tried to uninstall/reinstall or use another browser yet... I'll try to try other browsers after the announcement (because honestly, I prefer Firefox to IE), and not where I looked at have had no information about it.

    Thanks in advance for any assistance redered.

    You might want to try Chrome, to see how it behaves.  Any chance you could take a few videos of this behavior (cell phone would be nice) that I can get a better idea of what is happening?

    Thank you
    Chris

  • Problem when creating objects to the point user clicks on the screen

    I'll sometimes have a problem when clicking on the screen and have an object at this time created. 95% of the time it works properly, but sometimes, the object is created in a different area of the screen.

    Everyone comes across something similar? Or is it likely to be just a problem with the Simulator?

    Thank you very much for any help offered.

    If you want a "newLabel" to appear in the contact details of your mouseEvent, but only if details of mouseEvent are lower on the screen (having a higher value) at the height of your textButton.

    If your TextButton object does not touch the top of the stage (y = 0), you'll want to write this instead:

    if (event.localY > textButton.y + textButton.height)
    

    It may be a good idea to write it anyway, just in case you want to change the position of the TextButton.

    In addition, localX and localY properties of your mouseEvent are compared to the event containing sprite.  for example, if you have a canvas Sprite that is a parent of your textButton and is tuned for the mouseEvent.  otherwise, if there is no sprite contains (second phase) for your event, you'll want to use stageX and stageY instead.

    I guess since I can't be sure of your intentions here, but try this instead:

    private function createItem(event:MouseEvent):void
         {
         if (event.stageY > textButton.y + textButton.height)
            {
            var newLabel:TextField = new TextField();
            newLabel.x = event.stageX;
            newLabel.y = event.stageY;
            newLabel.text = "test";
            newLabel.setTextFormat(userTextFormat);
    
            addChild(newLabel);
            }
         }
    
  • Clicking on the tab help for help with photoshop first time get in "photoshop online help could not be displayed because you are not connected to internet" but I'm connected to the internet?

    Dear all

    I need help with the following problem:

    Clicking on the tab help for help with photoshop first time get in "photoshop online help could not be displayed because you are not connected to internet" but I'm connected to the internet.

    Appreaciate help on this problem.

    MSD

    I find it easier and faster to use just this link, which goes to the same place as aid > online help for Photoshop:

    Using Photoshop | Photoshop help

    To bookmark so that you can find.

  • See the establishment of a new line when an event is triggered

    Hello

    I have a requirement where I have to create a new line when you click on a button to add a line.

    In order to complete the requirement, I created a rowLayout region on the page and in the controller, I add the childs to the region in the PR.
    Childs fit into the same line... But I'm not able to add a child in the following line...

    Any body have any idea... so please help...

    It's urgent... any help will be appreciated...

    We should not change the properties of the bean in the processFormReuest method. It's this error message says.

    Bean Web properties can be modified in the processFormData or processFormRequest controller method. Web > bean properties should be modified in the processRequest only method.

    To create a new line, best option is to use the advanced table. That it has an option to create a button that will create a new row in the table.

    Refer to "Add rows" in the section "Advanced Tables" in the developer's Guide.

    -Anand

  • Problem with creating a new line in widget glossary

    I use 6 Captivate and have a problem with trying to display text on a new line in the description field of the widget glossary. In playback mode, a carriage return displays form \n

    I read in another discussion (from early last year), that this problem had been resolved and that the fix would be communicated soon on the blog of captivate for users without a subscription. Anyone know if the fix has been shared yet - I can't find it anywhere?

    Thanks for any help you can provide.

    Tenneil

    Hi Tenneil,

    Greetings from Adobe.

    Please click on the link below and download the Interaction of Glosarry updated.

    https://files.Acrobat.com/a/preview/0a17bb28-049e-4AC7-b8f7-dbdacef5e91c

    1. Extract the zip to your desktop.
    2. Copy "08_Glossary.wdgt" into the extracted zip file.
    3. Go to: C:\Program Files (x 86) \Adobe\Adobe Captivate 6 (32 bit) \Gallery\Interactions (for 32-bit Captivate) or C:\Program Files\Adobe\Adobe Captivate 6 (64-bit) \Gallery\Interactions (for 64-bit Captivate).
    4. Replace the glossary widget in the record of the interaction. Restart the Captivate 6. (Make sure you take the backup of the original Glosarry Widget)
    5. Ask the widget again and check the issue.

    Let me know if it works for you.

    Kind regards

    MILIN

  • Button loses the decal by clicking

    Hello

    some of my buttons of bool lose their thumbnails when you click on:

    Before:

    After clicking on:

    The decal reappears after the stop of the VI.
    I have no idea why this is happening. I tried to debug, and change the button instantly when you click on it, so it is not changed by a property node (after the jump).

    Guys do you have any idea what could cause this problem?

    Thank you very much

    Hmm, I called support and they helped me quickly:

    FAILED error when clicking on the control, while the properties of elements where changed/open in a Subvi.

  • Can no longer ride with call button using the api? Problem: Click on the context Menu displays on trackball?

    Hello

    1. every person has idea on the management of the events of call button. ?

    By default the call button (shows) invoke the window call log while relying on the call (phone icon) button in the phone.

    But I need to call some methods in my application (IE to a selection button).

    2. by default, the track ball click calls menu Contaxt. I don't want to activate (Show) menu by click on the trackball?

    (Only for the track ball click)

    Problem: in my application by clicking the trackball on a ButtonField to a new main window main window.

    Press escape (pop, the new window), the menu here

    To your first question:

    Make an application that has the following method implemented:

    protected boolean keyDown (keycode, int, int times)
    {
    Switch (keycode)
    {
               
    box 1114112: / / green key

    Insert your code here

    break;
               
    }
    Returns false;
    }

    For your second Question:

    invokeAction() implent method, the problem will resolve.

  • Problem of setting a value for the hidden item click on the button with processes action or pl/sql dynamic

    Apex 4.1

    Oracle 11g

    I have a page which consists of a main and several sub-regions area.  I have a pl/sql process in after the header SET_DISPLAY(:P400_DISPLAY:='MAIN';))

    Three subregions have a contional show where P400_DISPLAY = STORE.  It works in the hiding of the sub regions.

    Now, I want to change the value P400_DISPLAY to the STORE to show the subregions when I hit a button.

    I tried to create a dynamic action for the click on the Add button, but get the following error:

    The selected button uses a model of 'button' that does not contain the #BUTTON_ID substitution string #.

    I went to the models and found:

    Substitution strings

    Top

    Substitution strings are used in sub models to reference the value of the components. This report details use of string substitution for this model.
    Substitution string Referenced De Description
    #LINK #.YesModelTo be used in an attribute "href".
    #JAVASCRIPT #.NO.To be used in an "onclick" attribute
    #LABEL #.YesModelButton label
    #BUTTON_ATTRIBUTES #.NO.The attributes button
    #BUTTON_ID #.NO.ID generated button will be ID either the static button if defined, or if not will be a generated ID internally in the format 'B ' | [Internal ID of the button.

    I then tried to create a page process, pl/sql,: P400_DISPLAY: = 'STORE '; If the button is pressed.  The action of the button is submit page. However, it does not change the value of P400_DISPLAY and the subregions are hidden.

    Suggestions please on how to fix the template or change the value of P400_DISPLAY?

    The question of the root, it's that, even if you change the value of the element of your page, it is not visible to other areas of the page until it is in the session. Thus, any other action based on the value of the element of your page. the visibility of a control, a report based on the value of the item, etc. will be affected by changing the value of the item page until it has been changed in the session. Even after that, items are stored in the session, then you must do something to influence the revalued value. To see the effect of this, observe that your page will load and assesses the value of the element of your page, it sees which is the "MAIN" and mask areas. However, he didn't reassess after that.

    Then; your choices for this value set at the session are send the page, or use JavaScript to set the value in the session. If you use the latter, you will have to do extra work to make visibility tests be re - run, so, let's stick with the submit method.

    What you did above sounds correct to do this but, there are a lot of decisions, that you might have done that may have caused things to do not occur in the correct order.

    First of all, we will confirm that what I describe above is your problem. From the development environment, load the page, click on the button to change the value and submit. Now, click on the link marked the Session. He is always at HAND? If the answer is "Yes"; That's your problem.

    Let's start with your calculation after the header. You set it to * only * run if the current value of the element of your page is null? If this isn't the case, it's your problem.

    Load the Page-> Item set to 'Hand' by calculation-> click on the button--> Item set to STORE-> Submit-> Page Load-> point by calculating the value 'hand '.

    See the problem?

    Assuming that's not the question, you have created a branch to the same page, right? What is your process for the branch point? Is it * after * Validation, computation etc.? Because if not, you are not changing the value before that didn't get to submit.

    I bet that's the first question, but take a look at these.

    See you soon,.

    -Joe

  • Problems with the UI Flash CC. Mainly, I can't click on some buttons and textboxes on different modal windows. (for example. Scale and rotate the sound properties.

    Hello

    I was wondering if anyone else has problems of this kind. I basically only to find a bunch of different buttons, fields and the tabs do not respond to my clicks. This seems to be spread throughout the application.

    I had to work around most of this by using the tab and arrow keys to navigate around the modal buttons and fields... but it's a bit of a pain.

    There are certain parts of the interface that are not accessible via the tabs and the arrow keys... for example tab ActionScript in the Sounds Properties window... There is no way to do that... and by clicking on the tab itself does nothing, although I can see that the rollover of the tab State is enabled.

    I ended up having to run Flash CS6 in order to define the classes of the export of audio files, and it's a major pain.

    Interface issues similar user exist with other things... for example, the color picker (eyedropper) seems to choose colors near, but not directly under him.

    I'll be honest... I'm running on Windows 7... Via boot camp on a Mac Book Pro with the retina display... so questions could come from this combination. However... Flash CS6 has these questions... so I can only think that it is a matter of Flash CC.

    I appreciate any input you can provide. (Although the obvious 'it on OSX rather run' or "just use CS6" are not the kind of responses I'm looking for.) I have my reasons for installation. )

    Thank you.

    Cheerfully,.

    -JR

    Mohan thanks!

    Scaling text to 100% actually works!

    After that I changed the scale to 125%, it still works (which was not planned)

  • We will monitor the system and the home button is so close to the edge of the screen. Sometimes I accidentally click on the monitor of the right hand and lose what I'm working on. How can I move a button at home on the left, if it belongs

    I use a dual display screen, and when I sometimes click on the home button my mouse over to the right screen and change what is on the screen to the right. I would like to move the home return button to the left side of the screen where it has been on Firefox 3. How can I do this

    Use the Customize and drag this button where you want.

    https://support.Mozilla.com/en-us/KB/how+to+customize+the+toolbar

    http://KB.mozillazine.org/Toolbar_customization

  • When I click on the "Open a new tab" button, nothing happens. I checked my settings but all right, what's the problem?

    A few days ago all of a sudden wasn't the button "Open a new tab" and go to "file" then "open a new tab", it opens a new tab. I have to go into my favorites and right click 'open in new tab' for any new tab to open it. I checked my settings and nothing is there, on this subject. Can I do about it?

    Uninstall the toolbar Ask and it should work again. There is a compatibility issue with the Ask and Firefox toolbar that prevents the opening of new tabs.

    There are a few places to check for the Ask toolbar:

  • error message "Windows Explorer has encountered a problem and needs to close" on click with the right button in my computer

    I had this problem for awhile now.  After I receive and send the error report my computer is blocked and I have to finish by WTM. I tried to start in safe mode and it was ok there and when I restarted in normal mode it was ok for the rest of the day, but when I put the computer today the problem reappeared. Dr. Watson is also sometimes with an error message.

    I am running XP with MS and updates.

    Would appreciate some advice.

    Chris

    When the Windows Explorer (not Internet Explorer) is wrong (especially when right click), begin to suspect third-party add-ons explore extension.

    Those who would be the Explorer extensions that do not belong to Microsoft.  This means that extensions that you have added.  Solution Explorer extensions are generally well and installation of certain applications will install extensions from Explorer solutions for you, give you a choice and sometimes they can be added without your knowledge when you install the new software.

    Solution Explorer extensions are sometimes added as a new right-click option, you see on folders and files (like the scan of this file, open that file, play this song...).

    If there is something in particular that you do during exploration that you know will be the cause of the problem, which will help focus on the problem and the help that you suddenly know, when you have found and corrected.  If you can get there when you want it, make an adjustment and then there is no message the next time you don't do anything, you do, you have found and corrected.

    First of all you need a way to see what modules explore you have installed now and a way to turn them off (not uninstall them) so you can understand that we are at the origin of the problem.  You can have a lot of extensions not installed Microsoft don't even know you about.

    Download ShellExView here to see what Explorer extensions you have loaded:

    http://www.NirSoft.NET/utils/shexview.html

    ShellExView does not install anything on your computer, simply of runs and displays.

    After launching ShellExView, under Options, choose "Mark non-Microsoft Extensions" and extensions not Microsoft will be pink, clear, but on some systems which is a difficult color to see, so click on display, choose the columns and move the column Microsoft closer to the top, so you can see on your screen without having to scroll left and right.

    Click on the column header for Microsoft sort display (by clicking on the column of Microsoft) then all the non Microsoft extensions are on top and easy to see.

    Non-Microsoft extensions would be things you have added (non-Microsoft) and are what you should be suspect.

    You can also Google the name of a suspect add-on and see if there is any success on the mistakes of the DEP and what other people have done about it.
    You can Google something like:

    Explorer XP crashing (you must fill in the name of add your suspect on.)

    See what kind of search results hits you get and are looking for solutions or situations that sound like yours.

    I'm not a defender of trial and error, but I can't think of another way to do...

    Right click and disable the non Microsoft extensions one at a time (or maybe in groups of 3-5 at a time), keep a list, so you can enable them again later if you wish. The result of the change is immediate and no reboot is necessary.  Test your failure condition.  If the Explorer starts to behave, you will know that an extension of this group of 3-5 is the culprit in order to start to enable them one by one until the Explorer fails again.

    If you recognize all the extensions that have been added or recently downloaded, start with these first.

    Don't forget - disabling the extension does not uninstall the extension - it is just disabled so you can always turn it on again.  In this way, you can switch back and forth, enabled to be sure, you have the right extension under control.

    Disable them one at a time until your right click on do not generate an error, then restart and test again to make sure the changes 'stick '.  You have disabled the last extension would be suspicious.

    You can also just disable all non-Microsoft extensions, restart and allow them one at a time until you find the one that generates the condition.

    If you have a large number of extensions, you can disable them is small groups, 3-5 at a time instead of 1 at a time until your system starts to behave.  When it does not, you will know that the problem is one of the extensions of this small group and you can enable members of the Group at a time until the problem returns, then the problem is with the last extension that you enabled.

    The hope is that you will find an extension that caused the error, and then you can figure out what on this subject - either uninstall it or see if you can get an update of the author of the extension of their web page.

    I have not your problem, but I can when you toggle extensions, the extension is immediately disabled, so disable an extension does not seem to require a restart, but if you think that you have found the problem, I reboot and repeat the test in any case to be sure the problem disappeared.

    If you post your non-Microsoft extensions list, maybe someone will recognize it as a potential problem.

    If you find the offending extension that's the problem, please let us know what it is that I can add to my list.

Maybe you are looking for

  • iPhone unlock: partially or totally?

    I have an iPhone 5 running IOS 9.3.4 The phone was purchased through T-Mobile. After about a year, I presented a request to unlock my phone and they respected, and I was able to use the other overseas sim cards. No problems. I now use cell providing

  • TrueSuite sensor locked

    I have been using TrueSuite on my Portege without problem. Yesterday, I had a wet finger and went to open a session using the senser of fingerprints. After 3 tries it me locked and has begun the countdown to 90 seconds before it would be active again

  • Re: Satellite X 200 - recovery restores all partitions?

    Hello, my computer is a 200 X with 1 HARD drive. I had a system restore CD, and I would like to know if system restore only my C: or restore my C: + my D:? Thank you

  • Age of Empires 2 crash when you click on diplomacy.

    I have windows XP media center 2005 except Pck 3. I have all the latest updates from my windows, card game, and video. This is the question that I have.I recently bought AOE collectors edition. The game is installed correctly and plays. But for some

  • BEFSX41 v1.52.16 mirror port (span)

    Hello I would like to mirror my befsx41 port? Also is there a trick to have access to the address translation log full name address IP in us? any help would be welcome For more explanations: I want filter access to web site and consult the use (which