Problem with Commit button When Backing bean is in Request Scope...

HI Everybody,
I have a Backing Bean in request scope having over 1000 lines of code, And in my JSPX page I have a table binding with a view object and At run time when user select the row in table and click the edit button so user will be able to edit that selected row in the same table at run time.. but the problem is : when the user enters some data in the Editable inputTexts and then clicks save(Commit), then the save button doesn't work..but when i delete any selected row and then press save then it is working fine..
And to test it in Session scope i made another sample page where every thing is working very fine..
Now i want to know What is the difference between Session scope and request scope bean...
And is there any solution to Save editable input text in Request scope?.
Also want to know that is it safe to set the scope of my main bean class to session scope without effecting the current running functionality? which is having over 1000 lines of code and lot of component has been placed...
Please help me to resolve this problem...
Thanks in Advance to all of you
Fizzz..

Hi Frank...
In my code i used almost same logic as Andrejus Baranovskis has explained in his Editable Table example...
You can refer that example to see what problem I'm facing...
http://andrejusb.blogspot.com/2007/04/create-edit-and-delete-operations-in.html
The Bean Scope in this Example is Session scope...Save button is working fine...
But as i Change the bean scope to Request scope then Save button is not working for Edit but it is working for Delete Action very well..
I want that save button should work also for Edit action in Request Scope..
Please Make me understand that why it is happened like that..
and help me to find the solution..
and Also if you have a better document to Explain the life cycle of Application in Different Bean Scope...So please provide me that Doc to me...
It would be a great help for me to understand the concept of session...
Thanks Frank
Fizzz...

Similar Messages

  • How to handle Valuechange events, when page bean is in request scope

    Hello balusc and forum mates,
    I want to know is there any good way to handle ValueChangeEvents events, when the page's bean in request scope.
    My problem is, I have a page having more than 1 value change event so How can I maintain page values at backing bean. My bean is request scope, I can't change to session scope.
    Please I really need it.

    Hi Frank...
    In my code i used almost same logic as Andrejus Baranovskis has explained in his Editable Table example...
    You can refer that example to see what problem I'm facing...
    http://andrejusb.blogspot.com/2007/04/create-edit-and-delete-operations-in.html
    The Bean Scope in this Example is Session scope...Save button is working fine...
    But as i Change the bean scope to Request scope then Save button is not working for Edit but it is working for Delete Action very well..
    I want that save button should work also for Edit action in Request Scope..
    Please Make me understand that why it is happened like that..
    and help me to find the solution..
    and Also if you have a better document to Explain the life cycle of Application in Different Bean Scope...So please provide me that Doc to me...
    It would be a great help for me to understand the concept of session...
    Thanks Frank
    Fizzz...

  • Problems with 'COMMIT MISSING' - when using ABAP client proxies

    Hi
       We have a requirement - wherein while SAP std inbound IDOCs are being processed in the R/3 system- we need to monitor the processing of idocs - by sending relevant information out of the R3 system to a monitoring dashboard - outside of the R/3 environment.
    Inorder to accomplish the above, we generated a async. client proxy class in the R3 system by pointing to a XI o/b message interface and that interface mapped on to DB calls - from which the dashboard was bringing up status of idocs being processed in R3
    We made a call to the async class method from within the idoc user exit that lies  within IDOC_INPUT_ORDERS FM . The user exit chosen to make the call was - after the salesorder processing for the inbound idoc was done in the above FM. We have not given any COMMIT WORK statement after the async client proxy method call within the user exit - since the call was being made from within user exit and we did not want to upset SAP std processing flow.
    Now, when the inbound idoc processing is being done by using SAP std program rbdapp01 using parallel processing option of packets, the outbound message generated is in 'COMMIT MISSING' status - whereas - when rbdapp01 is executed in normal mode - the proxy message is sent out ok out of the R3 integration engine.
    The program rbdapp01 has a COMMIT WORK statement after each IDOC packet is processed - but still with the parallel processing option - the proxy message stays in th R3 box - with the status 'COMMIT MISSING'
    Any thoughts/ pointers on this is appreciated....

    Hi Karthik,
    I don't think you can get this to work using an asynchronous proxy - except perhaps by spawning an update task to send the data.
    Perhaps you can re-cast this as a synchronous interface?
    Regards,
    Thorsten

  • Hello plz i need yours help i have problem with my i cloud back up when i restore old back up t

    hello >> plz i need yours help i have problem with my i cloud back up when i restore old back up my problem exact with contact cause it disappears from contact list

    iPhone: Transferring information from your current iPhone to a new iPhone

  • I have a problem with IOS 7 when I am installing app on App Store. I must read and accept new terms and condition. However, I read all new terms that I don't see Agree button to accept. Can you check help me this problem?

    I have a problem with IOS 7 when I am installing app on App Store. I must read and accept new terms and condition. However, I read all new terms but I still don't see "Agree" button to accept. Can you check help me this problem?

    If it says 'Open' in the App Store, then it's on your device.  What happens when you press the 'Open' button in the App Store?
    The App is on your phone, somewhere.  Use Spotlight to find it, or you can reset your Home Screen layout, and then you'll definitely find it.

  • A really annoying problem with a button/movie clip

    I am having a problem with a button! its driving me insane
    because i managed to do it last week, but that was by chance and
    now i can't remember how i did it!
    I can get the button (i'm using gelright from the common
    libraries panel) and convert it to a movie clip(by pressing F8) and
    even attach a behaviour but when i play the movie it doen't work!
    when i move the curser over the button it changes into a hand, but
    will not act like a button, even though i have set the behaviour to
    'on release, go to and play keyframe 2'.
    Please help me, for the sake of my laptop goin through the
    wall!

    virgosam20 wrote:
    > first, i found the button i wanted in the common
    libraries (gelright) and
    > added it to the stage. I resized it and converted it
    into a symbol as a movie
    > clip. Then it got added to my library.
    > Then i deleted it from the stage and replaced it with
    the movie cip version i
    > had just converted it to. so now i have the same object
    on the stage, but now
    > its a movie clip and not a button.
    ok - you are running yourself around in circles - why did you
    delete it to the stage only to add it
    again? once you converted it to a movie clip, you had what
    you wanted on the stage - but then you
    deleted it and dragged another instance of the same symbol
    back onto the stage - there's no reason
    to do that.
    > Then i double clicked on it to bring up the movie clip
    timeline, but instead
    > of saying 'top, down, over, hit' (or whatever it says),
    it jsut said 'layer 1'
    > (but this was not my original stage as i have a number
    of layers on that one).
    Right - this is expected because yoyu are now inside the
    movie clip timeline - not the button timeline.
    > When i double clicked on it again, it brought up the
    right headings (top, down,
    > over, etc),
    Right - because by double clicking the button symbol you were
    then brought to "edit mode" for the
    button symbol.
    but there were about 5 layers that showed the different
    layers for
    > the original button.
    Huh? What "5 layers"? What do you mean "original" button -
    per your description there has only ever
    been 1 button you have been working with.
    > I think i have to add the button to each of the
    headings, bt there is no room,
    Lost you completely now - what do you mean add the button to
    each heading? I have no clue what you mean.
    > as when i did it before, there was only one layer for it
    and i had to insert
    > the key frames myself.
    Still losing you here.
    > I then added a behaviour to it using the Behaviours
    pannel, (selected
    > movieclip, then 'go to and play....') and it appears in
    the behaviours pannel.
    > But when i got to Play Movie, although the curser
    changes into a hand, the
    > button does not work.
    That's because you are applying a behavior for a button to a
    movie clip instead.
    I think you went wrong when you converted the button to a
    movie clip - i have no idea why you did
    that or why to think your button needs to be in a movie clip.
    >
    > Hope that can help you with what i've done and you can
    tell me where i've gone
    > wrong.
    >
    I just think you don't understand how timelines, symbols or
    buttons work yet in flash.
    1. drag a button to the stage.
    2. select it and open the Behaviors panel (dont double click
    it to edit it).
    3. add your actions.
    4. test movie.
    (no need for a movie clip here.
    -chris

  • Problem with the buttons

    Recently I have problems with some buttons on my 8800.
    When I hit the trackball the BB writes "Uo". When I hit the 'back' button it writes "Hl". Also the menu button does not what he has to do. Anyone the same problem or even better a solutions for this problem?
    Bye, Ben

    You are not alone.  the same thing happened to me today with my 8820. 
    it worked fine for one call then i hung up and tried looking up a number.  Track ball dosn't work at all, their isnt even a backlight on the trackball.  the back button types in hl.  i also think my e button is enter but i dunno.  that one seems on and off.
    Edit.  I found this:
    http://www.blackberryforums.com/general-8800-series-discussion/114752-blackberry-button-problem.html
    Message Edited by jasgud on 07-27-2008 08:25 PM

  • Problem with comma and point

    Hello,
    I have a problem with comma and point in a double-digit.
    I use a english driver for HM8142. When I get the values then I only get
    int-digits. How can I change "Use comma as separator" . I tried to change
    the option in LabVIEW.
    I changed it, then I got the window. "To change, restart the programm". I
    have done this. But when I have a look at the option, it is not changed.
    What can I do?
    I am not the admin on the computer.
    Martin

    Hi Martin,
    you do not have to change any system settings neither in LabVIEW nor in your windows.
    All instrument drivers should use a point as decimal separator. You can overwrite the decimal point handling in the string functions "Scan from string" and "Format into string".
    Make a right click on the function and use "Edit Scan String". In the dialog open the ring under "Selected operation", the last entry allows you to set the character for the decimal separator. This separator will be used for all the following floating point numbers.
    From your name and problem I think you are located in central europe. I do not have a german version of LV so I cannot tell you how the elements are named in german.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Problems with color matching when printing...

         Hi, I work for a small family business in the P.O.P. industry.  We currently have myself and one other designer, we both take illustrator files that have come from the graphic design firm that we contract with and get them ready to print on our Vutek QS3200.  However ever since acquiring the printer we have begun to run into problems with the colors when printing.  When the files are exported off of my computer, I use either .tif or .pdf files, they print as they should, the colors seem to match the proof and everything goes smoothly.  However when the other designer exports a file, he tends to do mainly pdfs, the colors tend to be extremely different from where we want them.  Also we will get very strange results, such as yesterday he kept getting a faint yellow 1/2" border around his prints.  After I believe 3+ hours of him trying, I was given the original CD and instructed to try.  After 15-20 minutes of making the changes that we needed to make (adding a new price point) and ripping, mine printed perfectly. 
         We both use Macs, both have CS3 Design standard, only differences between the computers are mine is newer and a bit faster, and I'm running OS 10.5.6 and he has 10.4.  He has also at some point loaded various color profiles, whereas my CS package is just whatever the default is when I loaded it.  When we were being trained he grabbed the color profile off of the Colorburst RIP server and loaded onto his computer, plus I believe he has a couple for freelancing purposes on there as well.  My thought is that these profiles are somehow corrupting the files that are going through that computer, but I honestly am lost with it at the moment.  He believes the problem lies within the fact that he does not have the newer OS, I honestly cannot see that as having any effect on this at all.  I was wondering if anyone has run into any similar problems, or if anyone might have any advice on this issue?  I would really like to be able to solve this, as I was hired to do mainly structural design for the P.O.P. and I'm having to put in a lot of overtime to get my work done along with the additional work that I'm having to do.
    Thanks for your time

    I've got a few years experience calibrating large format printers.  First, the Yellow sounds like a file problem.  I used to work with two workstations, one PC ( RIP station ), and one Mac ( file prep station ).  I tend to agree with you in that the OS is probably not the problem.  But, any Colorburst profiles should remain in the RIP, not in the originator application.  My workflow consisted of creating EPS files that were based on established color settings in their given applications ( i.e., Illustrator, Photoshop ) which were interpreted by the RIP which had it's own calibrated profile ( perhaps more than one based on how many different substrates were being used ).  Your partner may be complicating things by incorporating a RIP profile prematurely.  If there are deviations big enough to be noticed, there has to be something in the application color settings that is causing some type of corruption.  This could lead back to the operating system, but I would think it lies somewhere in Bridge or the application color settings.  Start there.  You should seriously consider implementing a calibration system if you do not have one already.  Another slight possibility is the driver's ability to interpret files coming out of Leopard vs. files coming out of Tiger.  It may benefit you both to be in the same operating system dynamics, using the same driver versions and RIP profiles.  At the very least, match everything that is currently working successfully and put them on both machines.  If there is still a noticeable problem in color matching, then something is seriously wrong and you should call in a prepress profiling expert.  Hope this helps.

  • Problems with parameter button in Crystal Report Server  2008

    Dear all,
    I have problems with parameter button in Crystal Report Server 2008.
    when I created some parameters and groups in Crystal Report 2008, they showed both parameters in 'Parameter button' and group in 'Group button'  on the left, so I can choose or type without clicking 'Refresh button' But when I added it to Crystal Report Server 2008 and I click parameter button , it doesn't show any parameter. Only click refresh button to choose them. On the other hand, for 'Group Tree' is ok. When go to Default Setting-> Parameter, all parameters are in 'Unused parameter'  First time I think I had problems with my installation, but when I reinstalled it again, it was like before.
    Could any one help me with this?
    I appreciate looking forward to your reply
    Ketya

    Try posting your questionin the correct forum, this is for SAP Business One, not Crystal reports Server

  • Problem with the browse sequence back and browse sequence next widget placed in the screen layout

    Hi,
    Some basics: We are using Robohelp 10 to  generate multiscreen  html5 output. We used the pharmaceutical  screen layout downloaded from:  http://helpx.adobe.com/robohelp/robohelp-screen-profiles-layouts.html but modified it to match our GUI.
    We are having a problem with the browse sequence back and browse sequence next buttons placed in the screen layout from the widgets tool bar. We are in no way experts at this part of Robohelp...and the css portion of all this is a bit of mystery but we have managed to get mostly what we need. Now we just need these buttons to work. In the past we used Airhelp and things worked great. Can anyone help us understand why the sequence buttons are not showing up in the output even though it does in the topic preview?
    Also
    This shows up in the  layout.css file:
    a.wBSBackButton {
                    margin: 0 8pt 0 0;
                    padding: 0;
                    background-color: transparent;
    img.wBSBackButton {
                    border: none;
    a.wBSNextButton {
                    margin: 0 8pt 0 0;
                    padding: 0;
                    background-color: transparent;
    img.wBSNextButton {
                    border: none;
    Also btw, I forgot to mention that we are linking our FrameMaker files.
    Appreciate the help.
    Thanks!

    hi pradeep
    It does not happen but if you Wait for a while that may be solved

  • Problem with Information button in WAD

    Dear Mates,
    I have a problem with Information button in WAD template.
    I have two queries in web template. those two queries are in two tabs( i used Tabstrip ) respectively.
    if i press first tab it shows query1 and if i press second tab it shows query2 absolutely.
    problem
    when i am in first tab, if i click information it will show information about query1, but when i am in second tab,
    if i click information it will show information about query1 only..
    i need it to show information about second tab.
    Please help. Its urgent. Full Reward points will be given.
    Thanks in advance.
    Regards,
    Ranganath

    check out this link
    http://www.mhprofessional.com/downloads/products/0071640266/0071640266_chap01.pdf

  • Problem with sleep button

    I have problem with sleep button on my hp pavilion dv6-1354us When i press FN + F5 nothing happend. I reinstalled drivers for hp quick lunch buttons but the same problem.. Any solutions ? Thanks.

    The operations of FN functions mainly based on the intrinsic working between the drivers and System BIOS.
    If you already upgraded the Quick Lanuch Driver, then you may want to upgrade your System BIOS to the latest one in HP website to see if it can resolve the problem for you.
    However, you need to be careful while upgrading your System BIOS.

  • Problem with Masked Buttons

    As it stands i have a button called Start, when this button is hovered over, three more buttons appear at its side (all masked)
    I'm having trouble actionscripting the buttons, ive tried putting the AS on the button
    on(release){
    gotoAndStop(2);
    seen as everything so far is done on the first frame on various layers i just need it to go to frame 2. but this doesn't work.
    the code that's on the start button is
    on(rollOver){
    Startmenu.play();
    Start menu is the invisible movieclip which has the masks and rollout buttons in.
    anyone got any ideas?

    start button does overlay the other buttons and it is on the main timeline. as is the movieclip which activated the 3 buttons when the start button is rolled over with the mouse.
    Date: Fri, 26 Mar 2010 08:39:42 -0600
    From: [email protected]
    To: [email protected]
    Subject: Problem with Masked Buttons
    does your start button overlay the other buttons?
    is your start button on the main timeline?
    is the movieclip with the 3 buttons on your main timeline?
    does that movieclip respond to the mouse (and thereby intercept mouse events intended for the buttons it contains)?
    >

  • Problem with option buttons

    Hi!
    We have a problem with Option buttons.
    Example: We create a new document , then we add a group of Option buttons, so far no problem,  but we can't have different description on each button. Say we create four option buttons, option 1, option 2, option 3 and option 4. They are now grouped together so that we can only choose one option, but we also want to have different descriptions on the tooltip when the user hovers over. But when we set for example "Option 1" as a description on the first button, all buttons get the same description, what is wrong!
    Dan

    A field's Tooltip entry is a "child" of the field's Name (in the General tab of the field's Properties dialog).
    So, all fields of the same Name will have the same Tooltip.
    Perhaps this is the problem?
    Be well...

Maybe you are looking for