Previous bean modification next and modification not visible

Hi,
I have a succession of jsf pages. On the first I set values of my managed bean then I click next. On the second I set other values. If I return on the first page and change the values I reinitialize the values of the second page but if I click on the next button the changes are not visible.
If someone can help me it will be great.

Baltaar, this is very frustrating. Either I am not making myself clear, or you are not listening. Please search the forums for pop-ups, follow the link I already gave you, and fix your JavaScript. I'm convinced you are simply not executing things in the right order, or are resetting values after the response has already been committed.
Here's why... The following code works for me.
Page1 just has a next button on it. I click it to get to a second page.
Page2 has a selectBooleanCheckbox, and a back button. Page2:
<h:form id="form">
     <h:commandLink id="backButtonImgTop" type="submit"
               action="#{navigationBean.back}" >
          <h:graphicImage id="backImgTop" value="/images/b_previous.gif"
               alt="Return" height="18" width="18" />
     </h:commandLink>
     <h:selectBooleanCheckbox id="tcAgree"
          value="#{commonInfoBean.accept}" validator="#{commonInfoBean.termsAccepted}" />
</h:form>I click the tcAgree checkbox to true and click the back button. NavigationBean runs the button click code. It resets the checkbox value to false. NavigationBean.back:
     public String back() {
          if (AppLogger.isDebugEnabled()) {
               AppLogger.debug("Navigation Back called by IP: '" + getIP() + "'...");
          String previous = "Page1";
          //DEBUGGING
          CommonInfoBean cb = (CommonInfoBean)getBeanFromContext(COMMON_INFO_BEAN_NAME);
          cb.setAccept(false);
          //DEBUGGING
          //return the last page viewed by the user
          return previous;
     }From the first page (Page1) I click to next to go to the second page. The value has been appropriately reset. Here's my output...
[Apr 23, 14:07:44] DEBUG AppLogger.debug() - Navigation Next called by IP: '127.0.0.1'...
isAccept called. Value=false
[4/23/07 14:07:51:423 PDT] 1b050a5c SystemOut O[b] isAccept called. Value=false
[4/23/07 14:07:51:423 PDT] 1b050a5c SystemOut O setAccept called. Value=true
[Apr 23, 14:07:51] DEBUG AppLogger.debug() - Navigation Back called by IP: '127.0.0.1'...
setAccept called. Value=false
[Apr 23, 14:19:55] DEBUG AppLogger.debug() - Navigation Next called by IP: '127.0.0.1'...
isAccept called. Value=false
All the beans I used are session scoped. I DID NOT include any JavaScript. My point is simply to say that it works without JavaScript and pop-ups in the way.
Baltaar, your problem is in your JavaScript like I've been trying to say all along.
CowKing

Similar Messages

  • Purchased songs and movies not visible on 2nd computer in Store

    Hi.
    Purchased songs and movies not visible on 2nd computer in Store. To confirm I went to re-purchase and received message telling me it was already purchased. Heeeelllppp! <smile>

    The purchased content will only be on the computer you actually downloaded it to unless you somehow move it to the other computer. You could burn content to a CD or DVD, use an external hard drive, a thumb drive, a network connection or, if you have one, an iPod.

  • Actual and Forecast not visible from Planning App -- VERY CRITICAL ISSUE ,

    this is a very critical issue.. need immediate help..
    my customer cannot see the Actual and Forecast not visible from Planning App. please help me with the same. tell me the possible solns as i cudnt have a web confrerence with the custmer till now.
    thanks/

    John ,
    they are seeing the application in planning. they created a scenario dimension containing , budget, actual and forecast.. but in the planing application they can only see budget. the rest 2 are not visible.
    thanks..

  • JTree - dashed lines and + and - icons not visible

    Hi,
    I implemented a TreeCellRenderer for my JTree:
    public java.awt.Component getTreeCellRendererComponent(javax.swing.JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus)
    Object userObject = ((DefaultMutableTreeNode)value).getUserObject();
    if (userObject instanceof Struct)
    this.setLeafIcon(this.iconStructClosed);
    this.setClosedIcon(this.iconStructClosed);
    this.setOpenIcon(this.iconStructOpen);
    else if (((DefaultMutableTreeNode)value).isRoot())
    this.setLeafIcon(iconEmptyClosed);
    this.setClosedIcon(iconEmptyClosed);
    this.setOpenIcon(iconEmptyOpen);
    /*else
    this.setLeafIcon(iconDatatypeClosed);
    this.setClosedIcon(iconDatatypeClosed);
    this.setOpenIcon(iconDatatypeOpen);
    return super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus);
    ...the icons of the nodes are displayed correctly, but the dashed lines to visualize the level of a node and the + and - icons for collapsed or not collapsed nodes are not visible. I am using Windows LAF. What's wrong ?

    Please provide following information also:
    1) Are you using the default images?
    2) What is the Image URI?
    3) Snapshot of the Structure window, property inspector window?
    4) Are you using any switcher?

  • Nano 3rd will not unlock and is not visible in iTunes when connected to computer.

    My 3rd Gen Nano is stuck in locked position with the screen lit.  Additionally it does not show up on the computer or in iTunes when connected.  I can't restart or repair myself.  I suspect the locked switch may be broken.  Any ideas?

    First of all, try another port on your computer. Some ports are not connected direct to the motherboard and do not recognize the iPod as well as those that are.
    Still no joy? See these.
    iPod doesn't appear in iTunes or on the Mac desktop.
    iPod does not appear in iPod Updater or iTunes in Mac OS X.
    iPod appears on the Mac OS X desktop but not in iTunes.
    Try it in disk mode.
    Putting iPod into disk mode.

  • XD01 fields Name 3 and Name4 not visible

    Hi,
    I have a requirement, in xd01, when i go to Address tab, by default sap shows only Name1 and Name2 fields, but Name3 and Name4 are visible only after clicking on the "More Fields" button, which will expand and Name3 and Name4 fields will then be shown.
    My requirement is to keep these fields open all time.
    Kindly let me know the solution.
    Thanks,
    A Sustainer

    Hi
    if you want name3 and name4 mandatory fields in XD01 means
    Path:
    Financial Accounting (New) --Accounts Receivable and Accounts Payable--Customer Accounts--     Master Data-- Preparations for Creating Customer Master Data --Define Account Groups with Screen Layout (Customers) --
    select that particular group and click GENERALDAT : -- ADDRESS  - put required entry for Name 3 and Name 4
    thanking you
    regards
    Mahesh

  • Dunning phases and blockades not visible for archived invoices in FPL9

    Hi experts,
    I am not able to see the dunning phases and blockades for archived invoices when i am opening FPL9 with archive.
    My requirement is that it should be visible and donot so any error message.
    Can you please provide me with the solution ?
    Thanks and Regards.
    Ajit Krishna

    Hi
    When you Full reverse an Inv, it will not show in ES32 but can see ERDK table with original and reverse inv doc numbers. The new invoice will be genreated based on the restored Billing order for the same period.
    FPL9 -show current valid posted amount as due amount & posting reversed inv amount will be shown as _ve.
    Message was edited by: G Reddy

  • Safari menu and tabs not visible

    Sometimes when I start safari the menu wont pop when hidden, also the tabs are not realy visible.
    only thing I can do is close swipe to go to desktop a few times, then it gets back.
    Somebody an Idea how to prefent this ?

    Yes, you are right, I use fullscreen mode, but the problem is that the tabs are normally visible in full screen mode, and when you go to the top it appears, now it does not do that ( there are 2 tabs open at thata moment).
    When it occurs again I will try the keystroke.

  • Component and text not visible in dashboard

    Hi expert,
    After launching Dashboard in BI Portal Calender component and Button text and normal was not displaying.
    Dashboard Design layout component is displayed.
    After launching calender component text,button text,normal text was not displaying
    there is no dynamic visibility applied.
    Please help me what is issues

    it is running on Internet explore and not running on Chrome,,
    Dashboard version is 4.1 sp2
    Flash version find the screen shot

  • Lightbox Next and Prev not showing up

    I have been googling this for some time and can't find a solution.
    I have fully installed a lightbox, it works fine but the prev and next images dont show up, they're working but I can see them.
    Most forums say it is the path, but this seems to be fine, I had to change it to lightbox in the lightbox.css as this is the name of the file the .gifs are stored in.
    PLEASE HELP!!
    This is my code
    #prevLink:hover, #prevLink:visited:hover { background: url(..lightbox/prevlabel.gif) left 15% no-repeat; }
    #nextLink:hover, #nextLink:visited:hover { background: url(..lightbox/nextlabel.gif) right 15% no-repeat; }

    If the code you posted above is in a .css file and NOT on the HTML page, then the path to those images needs to be relative to (starting at) the .css page... not the HTML page.
    So starting from the .css page... what is the path to the images?... that's the path you use.
    Adninjastrator

  • X200S + Ultrabase and Ultrabattery not visible in VIsta

    Hello,
    Just got my new X200S and ultrabase with DVD burner and Ultrabattery.
    When the Laptop is in the the ultrabse the DVD wroking fine.
    When I changing to the ultra battery I do'nt see it in Vista power no second battery.
    Even in the power mgt of Lenovo no second battery visible.
    Any feed-back ? I need to install specific soft ?
    Thx in advance
    Christian

    Gang,
    It can only be done on OSX 10.4.11 were you can format and partition the drive as a Windows BOOT partition. (Partition under the options)
    The problem is it was so slow in MAC land that it was not worth the time.
    I do not see this option under Lepoard.
    Stefan, thanks that looks like a much better way of doing this.
    Thanks
    Gordon

  • Resource mailbox :Subject not removed and organizer not visible in subject after setting permissions

    Hi,
    I'm configuring some meeting room mailboxes, and would like to hide the subject and content, and add the meeting organizer into the subject field.
    I've configured the next permissions :
    Set-MailboxFolderPermission -Identity "[email protected]:\calendar" -User default -AccessRights LimitedDetails
    Set-CalendarProcessing -Identity "[email protected]" -AddOrganizerToSubject $true -DeleteComments $false -DeleteSubject $true
    Unfortunately the subject is still visible, and the organizer doesn't get filled in into the subject field.
    Exchange 2013 SP1 / Outlook 2010 SP1 
    These are the settings :
    Get-MailboxFolderPermission "[email protected]:\calendar"
    FolderName           User                 AccessRights
    Calendar             Default              {LimitedDetails}
    Calendar             Anonymous            {None}
    Calendar             User One
             {Editor}
    Get-Calendarprocessing
    RunspaceId                          : 48968617-a928-41cf-81c4-9c052234b852
    AutomateProcessing                  : AutoUpdate
    AllowConflicts                      : False
    BookingWindowInDays                 : 365
    MaximumDurationInMinutes            : 0
    AllowRecurringMeetings              : True
    EnforceSchedulingHorizon            : True
    ScheduleOnlyDuringWorkHours         : False
    ConflictPercentageAllowed           : 0
    MaximumConflictInstances            : 0
    ForwardRequestsToDelegates          : True
    DeleteAttachments                   : True
    DeleteComments                      : False
    RemovePrivateProperty               : True
    DeleteSubject                       : True
    AddOrganizerToSubject               : True
    DeleteNonCalendarItems              : True
    TentativePendingApproval            : True
    EnableResponseDetails               : True
    OrganizerInfo                       : True
    ResourceDelegates                   : {customer.com/User One}
    RequestOutOfPolicy                  : {}
    AllRequestOutOfPolicy               : False
    BookInPolicy                        : {}
    AllBookInPolicy                     : False
    RequestInPolicy                     : {}
    AllRequestInPolicy                  : True
    AddAdditionalResponse               : False
    AdditionalResponse                  :
    RemoveOldMeetingMessages            : True
    AddNewRequestsTentatively           : True
    ProcessExternalMeetingMessages      : False
    RemoveForwardedMeetingNotifications : False
    MailboxOwnerId                      : ..
    Identity                            : ..
    IsValid                             : True
    PS : I've already changed autoupdate to autoaccept to test, but the result is the same.
    I want the delegate to approve the meeting when someone makes a booking

    Hi,
    DeleteSubject parameter, AddOrganizerToSubject parameter and DeleteComments parameter are ignored unless the AutomateProcessing parameter is set to AutoAccept. From the above description, the AutomateProcessing is AutoUpdate. I recommend you use the following
    cmdlet to achieve your goal.
    Set-CalendarProcessing -Identity xxx -AutomateProcessing AutoAccept -DeleteSubject $true -AddOrganizerToSubject $false -DeleteComments $false
    Hope it helps.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Index and partition not visible !!!

    Hello,
    I am creation a table with partition by range and primary key constraint like
    CREATE TABLE employees
    (employee_id NUMBER(4) NOT NULL,
    last_name VARCHAR2(10),
    department_id NUMBER(2),
    CONSTRAINT SUP_EMP_PK
    PRIMARY KEY
    (employee_id,department_id)
    PARTITION BY RANGE (department_id)
    (PARTITION employees_part1 VALUES LESS THAN (10) TABLESPACE DATA_003_P001_HUB3);
    but when I query the user_ind_partitions as
    select * from user_ind_partitions where partition_name='employee_part1';
    it returns nothing
    Why is this problem coming up?
    Help..
    Regards
    Abhinav

    Actually the problem statement is:
    I have table as :
    CREATE TABLE SUPERVISION_BPS
    ID NUMBER NOT NULL,
    servicetype NUMBER NOT NULL,
    type VARCHAR2(6 BYTE) NOT NULL,
    insertDate DATE NOT NULL,
    filename VARCHAR2(100 BYTE) NOT NULL,
    numberOK NUMBER NOT NULL,
    numberKO NUMBER NOT NULL,
    numberCRE NUMBER NOT NULL,
    numberUPD NUMBER NOT NULL,
    numberDEL NUMBER NOT NULL,
    CONSTRAINT SUP_BPS_PK
    PRIMARY KEY
    (ID, servicetype, type)
    using index local
    TABLESPACE DATA_003_P001_HUB3
    PARTITION BY RANGE (InsertDate)
    PARTITION "PARTITION_LAST" VALUES LESS THAN (MAXVALUE)
    create sequence seq_sup_bps start with 1 increment by 1;
    The problem is whenever I am deleting a partition as
    alter table &1 drop partition &2;
    and rebuilding the partition as:
    alter index &1 parallel;
    alter index &1 rebuild partition &2 compute statistics;
    alter index &1 noparallel;
    based on unused indexes
    select user_ind_partitions.index_name || '|' || user_ind_partitions.partition_name
    from user_indexes, user_ind_partitions
    where user_indexes.index_name=user_ind_partitions.index_name
    and user_ind_partitions.status='UNUSABLE'
    and upper(user_indexes.table_name)='&2';
    Now when the entry for the same primary key takes place, it gives an error putting the same value again.
    Kindly help
    Tried all bit have not found the solution.
    Note: have tried removing UNUSABLE check but how to get it done as per the need.
    Regards
    Abhinav
    Edited by: user8744860 on Jul 2, 2012 2:35 AM

  • Standard queries and flow not visible in Ides server

    Dear gurus
    I am new to imlpememntation,i am try to find out if the standard reports of different modules suffice our requirement. I am checking the business content, infact i checked in metadeta repository but i dont see the different standard cubes of different modules in IDES...i dont really know...are they generally not available in IDES and tehy can only be seen in development server...or am i missing a trick here...i want to see the whole flow but i dont see it for any of the modules ...kindly suggest

    In Metadata reporsitory, have you chosen the link Bus content objects on the left?
    Also do you find BI_CONT software component in the dialog that appears when you choose...System menu --> Status and hit the comp info button in SAP Sys data section?
    Thanks murali for your response. By checking the option on the left i guess u mean by checking business content local objects
    instead of Activated objects local objects.
    By following your instructions i see that the BI_CONT software component is not present  there. what nxt?

  • Insert and Format not visible in Ribbon

    So we've got a SharePoint 2013 Publishing site that uses custom master page, page layouts and content types.    Each content type uses a number of 'Full HTML content with formatting and constraints for publishing' columns. 
    However, when users attempt to add content to these columns on a page, they are unable to see the Insert or Format Text ribbon tabs.
    What have we done wrong to prevent these tabs from becoming visible?

    Hi Arcanedevice,
    can you try to add the below script on your page to make visible the Ribbon Tool bar.
    you can try to add using content editor webpart on your page or list form by editing the page and add webpart.
    <script>
    setTimeout(function() {
    var elem = document.getElementById("MSOZoneCell_WebPartWPQ4");
    if(elem != null) {
    var dummyevent = new Array();
    dummyevent["target"] = elem;
    dummyevent["srcElement"] = elem;
    WpClick(dummyevent);
    }, 100);
    </script>
    give it a try and let us know if the issue is still persist.
    Krishana Kumar http://www.mosstechnet-kk.com

Maybe you are looking for