Edit/View Details (Struts)

Hello,
Sorry, I know this is not the place to ask a Struts quesiton. I've got a page with a link for view details and one for edit details. I use the same form-bean and a single action class for both. When I click on View first the details are displayed correctly. After that if I click on Edit details the same values appear in boxes with the submit button. If I then go back and click on the View details link again the same page as 'Edit' details gets displayed again. This should not be the case as in the View details screen the values should not be editable. This has got me going around in circles. Any ideas anyone? Regards

I presume you have two different JSPs one which is editable, one which is not?
How are you deciding which one to show - ie how do you know to display "edit" page or "view" page?
Using the same form is fine.
Same action - sounds ok to me.
What does the struts-config for this entry look like?

Similar Messages

  • I downloaded Firefox 3.6 and now my tool bar is gone. No back arrows, forward arrows, file, edit, view, history, bookmark, tools....how do I get my web browser to look like a regular browser again?

    I downloaded the new Mozilla web browser and I had a Bing homepage setting. I changed back to yahoo but I ever since downloading I dont have any back arrows, forward arrows, file, edit, view, history, bookmark, tools, address bar....how do I get my web browser to look like a regular browser again?

    For details of how to restore the menus see [https://support.mozilla.com/kb/menu+bar+is+missing]
    Once the menus are back, you can use the View menu, then select Toolbars and click on the names of the toolbars to toggle displaying them.

  • DM3.0 EA2: Settings for "View Details" are not saved

    Hi,
    normally I want to see only the attributes and keys in logical model.
    I can change the settings at "View Details" to "Attributes" and "Keys" and the view is changing. When I close data modeler, start it again and open the recend data model, the settings are again on default "All details".
    Is this the standard or should the view settings be saved?
    I am running Data Modeler on Windows XP with german localization and the JDK 1.6.0_11 from Oracle SQL Developer.
    Edited by: db-geek on 17.01.2011 08:17

    The settings for "View Details" are now saved and restored, when the data model is opened again.

  • Firefox does not display the basic menu line File Edit View etc. How do I get this menu to show. I have tried uninstalling and reinstalling, but that does not help

    When I ask for help finding bookmarks, the answer tells me to click on bookmarks as shown in the illustration, but there is no such line displayed on my computer.

    '''''"Firefox does not display the basic menu line File Edit View etc."''''': That is the Menu Bar; see below.
    '''<u>Menu Bar</u>''' (File, Edit, View, History, Bookmarks, Tools, Help)<br /> <u>Firefox 3.6.x versions allow the user to hide the Menu Bar.</u><br />
    *Tap the ALT key or the F10 key, Menu Bar will display, click View, click Toolbars, click Menu Bar to place a check mark next to it, '''''OR'''''
    *Press and hold the ALT key while pressing the letters VTM on your keyboard, then release the ALT key
    *See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    '''<u>Other Toolbars</u>''', see: https://support.mozilla.com/en-US/kb/Back+and+forward+or+other+toolbar+items+are+missing<br />
    '''<u>Status Bar</u>''': click View, click Status Bar to place a check mark<br />
    '''<u>Full Screen Mode</u>''': If you have no Toolbars or Tab Bar: Press F11 (F11 is an on/off toggle). See: http://kb.mozillazine.org/Netbooks#Full_screen<br />
    Also see: http://kb.mozillazine.org/Toolbar_customization_-_Firefox#Restoring_missing_menu_or_other_toolbars
    <br />
    <br />
    '''Other items that need your attention'''
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post. You can also see your plugins from the Firefox menu, Tools > Add-ons > Plugins.<br />
    <br />
    *Adobe PDF Plug-In For Firefox and Netscape
    **Current versions are 9.4.2 and 10.0.1 (aka Reader X)
    **More info about version 10 (aka Reader X)
    ***New Adobe Reader X (version 10) with Protected Mode was released 2010-11-19
    ***See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file, SAVE it to your hard drive, when complete, close Firefox, click on the installer you just downloaded and let it install.
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.

  • Settings for apex 2.1 interface e.g. viewing details

    How can I change the apex 2.1 interface "globally" and permanently, for instance I like to have always the "View Details" instead of "View Icons" and at at least 50 should be displayed instead of 15
    Edited by: wucis on Oct 24, 2011 5:54 PM

    Is it not possibly the change the settings of the interface ??

  • The bar that says "File, Edit, View, History, Bookmarks, Tools, help" has disappeared and I would like it to appear all the time.

    Near the top of the screen on the left side, the words "File, Edit, View, History, Bookmarks, Tools, help" does not appear consistently. Sometimes if I hit "alt" they will appear. I would like to keep those words to appear constantly. Let me know what I can do. Thanks

    See '''<u>Menu Bar</u>''' below.
    '''<u>Menu Bar</u>''' (File, Edit, View, History, Bookmarks, Tools, Help)<br /> Firefox 3.6.x versions allow the user to hide the Menu Bar.<br />
    *Tap the ALT key or the F10 key, Menu Bar will display, click View, click Toolbars, click Menu Bar to place a check mark next to it, '''''OR'''''
    *Press and hold the ALT key while pressing the letters VTM on your keyboard, then release the ALT key
    *See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    '''<u>Other Toolbars</u>''', see: https://support.mozilla.com/en-US/kb/Back+and+forward+or+other+toolbar+items+are+missing<br />
    '''<u>Status Bar</u>''': click View, click Status Bar to place a check mark<br />
    '''<u>Full Screen Mode</u>''': If you have no Toolbars or Tab Bar: Press F11 (F11 is an on/off toggle). See: http://kb.mozillazine.org/Netbooks#Full_screen<br />
    Also see: http://kb.mozillazine.org/Toolbar_customization_-_Firefox#Restoring_missing_menu_or_other_toolbars
    <br />
    '''Other issues that need your attention'''
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post. You can also see your plugins from the Firefox menu, Tools > Add-ons > Plugins.
    *Adobe PDF Plug-In For Firefox and Netscape "9.4.1"
    **New Adobe Reader X (version 10) with Protected Mode was released 2010-11-19
    **See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
    *Next Generation Java Plug-in 1.6.0_16 for Mozilla browsers
    **7 updates behind
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file, SAVE it to your hard drive, when complete, close Firefox, click on the installer you just downloaded and let it install.
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • I am missing following tabs in my browser: File, Edit, View, History, Bookmarks, Tools, Help. I tried to reinstall Firefox, but it was not helpful. How do I get those tabs back?

    I am missing following tabs in my browser: File, Edit, View, History, Bookmarks, Tools, Help. I tried to reinstall Firefox, but it was not helpful. How do I get those tabs back?

    For details of how to restore it, see https://support.mozilla.com/kb/menu+bar+is+missing

  • Unable to Edit View; Java Error then View is lost

    I need help understanding what might be going wrong and how to fix it, or file a bug and then work around the problem.
    Running SQL Developer 3.0.04,
    Java - should be using jdk 1.6.0_23, but I'm not sure how to verify this. I also don't know how to change which of the different Javas on my PC SQL Developer would use, if I gave the wrong answer when I installed SQL Develoeper.
    Windows 7 64-bit and 32-bit.
    DB is 9i, 9.2.0.6.0.
    Server is Linux 2.6.9-89.0.20.EL.xs5.6.0.58xenU.
    Problem does not occur on DB 11.1.0.7.0 running on same server.
    The problem occurs when I select a view, and click edit. Edit View panel opens. One easy change that causes the problem is to click the Select clause and simply reorder the columns, moving one column up. The syntax checks OK. The test query works OK. When I click the panel's OK button, I get a new window: Edit Object Error.
    An error was encountered:
    java.sql.SQLRecoverableException: No more data to read from socket
    The following SQL statement failed:
    [then there's a box with the CREATE FORCE VIEW statement.]
    I click OK acknowledging the error. I get another Edit Object Error window, with the same message about the socket, but this time the failing SQL statement is DROP VIEW PV_MYVIEW_NAME. After acknowledging this error by clicking OK, it reappears if I click OK for the Edit View panel. I am forced to click Cancel in the Edit View panel.
    The connection goes inactive. If I try to expand the tree of tables and views, the + signs go away. They don't expand. I need to disconnect and connect.
    My view is now gone.
    I tried lots of changes to the view, even adding a comment causes the failure.
    The Logging Page has entries like these:
    SEVERE     57     50     oracle.dbtools.db.DBUtil     Warning, unhandled exception: ORA-02248: invalid option for ALTER SESSION
    SEVERE     56     49     oracle.dbtools.db.DBUtil     Warning, unhandled exception: ORA-02248: invalid option for ALTER SESSION
    SEVERE     55     3637     oracle.dbtools.db.DBUtil     Warning, unhandled exception: ORA-02248: invalid option for ALTER SESSION
    SEVERE     54     2471     oracle.dbtools.db.DBUtil     Warning, unhandled exception: ORA-02248: invalid option for ALTER SESSION
    SEVERE     53     15997     oracle.dbtools.raptor.utils.DBObject     Could not get schema Object:java.sql.SQLRecoverableException: No more data to read from socket
    SEVERE     52     451     oracle.dbtools.raptor.utils.DBObject     Could not get schema Object:java.sql.SQLRecoverableException: No more data to read from socket
    SEVERE     51     3812     oracle.dbtools.raptor.utils.DBObject     Could not get schema Object:java.sql.SQLRecoverableException: No more data to read from socket
    SEVERE     50     416189     oracle.dbtools.raptor.utils.DBObject     Could not get schema Object:java.sql.SQLRecoverableException: No more data to read from socket
    Thanks,
    Skip

    Hi Anne,
    Well, given your OS configuration, suggestion (2) probably doesn't apply to you anyway. Sorry if I wasted your time on that one.
    As for suggestion (1), even if it didn't work, at least it seems to verify that this is a JDBC driver issue. So, as noted above, SQL Developer 3.0 is not certified on 9i. And Oracle 9i Extended Support ended the middle of last year. The ojdbc5.jar/ojdbc6.jar (11.1/11.2 drivers) files shipped with the 2.1/3.0 releases, respectively, can generally connect to any Oracle database back to 9.0.1, but perhaps the functionality is not completely stable when using the oldest database releases.
    The main question though, is which JDBC driver are you actually using? If you have an Oracle client installed, SQL Developer will look in the Oracle home first and use the driver there, not what comes with SQL Developer. If you do have an Oracle client installed, and everything else (Prod/Dev) is working, then I hesitate recommending that you change anything. Possibly if you have no client, or an older client, installing a 10.2 client might help but it's difficult to know.
    Best wishes,
    Gary

  • Page Forward & Reverse buttons do not work & are "grayed-out" after upgrading to, as is the Main-Menu Items such as File-Edit-view etc...

    After upgrading to Firefox 3.6.12 all functionality appeared to be intact. Then after a few days it lost the ability to "page forward" or to "page back" and are "grayed-out". Additionally, the Main menu items such as File, Edit, View, History, Bookmarks, Tools & Help are also grayed-out and non-functioning.
    Also, the "Search Window" does not search, Web Searches need to be performed from within the URL window instead, for some crazy reason. If the URL window is blank when I enter a search into the actual search window the following appears in the URL window, "Search Bookmarks and History", which makes no sense.
    I have noticed similar complaints in this Forum in the past but I have not seen any posted resolution to these issues. Is there a solution?

    Create a new profile as a test to check if your current profile is causing the problems.<br />
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • File, edit, view, history, etc. will NOT open on menu bar how to fix

    The file, edit, view, history, bookmarks, tools, help options on the menu bar will not open. This started to happen, intermittently, in the last few hours . . . and, now, seems permanent. I suspect an update. There are, also, other options which will not open. I cannot use my address book on webmail because of this and am in dire need of a solution.

    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).
    '''If Firefox is open,''' you can restart in Firefox Safe Mode from the Help menu:
    * Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    '''If Firefox is not running,''' you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".
    ;[[Image:SafeMode-Fx35]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • Ever since the latest update, my task bar (if it's called that - it's the one with "file,edit,view, etc") will "grey out" and I won't be able to type into any websites I visit. Only way to fix:either restart Firefox or reduce the window and open it again.

    Ever since the latest update, my task bar (if it's called that - it's the one with "file,edit,view, etc") will "grey out" and I won't be able to type into any websites I visit. Only way I can proceed is if either restart Firefox (very annoying) or reduce the window and open it again. Please help!

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    See also:
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

  • I can't click on Firefox's "file edit view..." bar. It works for a few seconds right after opening Firefox, then stops. I have a mac, and can't think of anything I did that could have caused this.

    Other programs work fine while Firefox is open, but when I go back to the Firefox window, the problem starts again. I click on the "fiel edit view" buttons, but nothing at all happens. It's been like this for a few days.

    Try to remove the Firefox plist file (org.mozilla.firefox.plist).
    * http://www.macfixit.com/article.php?story=20060606082246983 How .plist files become corrupt and troubleshooting the results
    Go to "Library > Preferences" and remove the plist file for Firefox (org.mozilla.firefox.plist).
    Try to repair the disk permissions:
    * http://thexlab.com/faqs/repairprocess.html

  • How can i display a portlet in the Edit view only ?

    Dear All,
    I'm developing a portal in which the end user can change the content of the portal page (personalize) using Edit smart link and i ask How can i display a portlet in the Edit view only ? not shown in the production view ?

    Last time I heard with Oracle they said the only way is to look at the current URL. If it contais _mode=16 then we are in edit mode.
    This is a function I use:
    FUNCTION inEditMode return boolean is
    bEdit boolean := false;
    begin
    if PORTAL.wwpro_api_parameters.get_value('_mode', 'qaz') = '16' then
    bEdit := true;
    end if;
    return bEdit;
    end inEditMode;
    Kind regards
    Tomas Albinsson
    Stockholm, Sweden

  • On my laptop running windows 7 most of the information has disappeared from the window - headings (file, edit, view, etc), address bar and navigation buttons - all i can see is tabs - how do i get the missing items to display

    On my laptop running windows 7 all the info displayed at the top of the homepage window is missing. All headings, i. e. File, Edit View, etc. are gone. There is no address bar. There is no home button, refresh button, etc. My wife was using the machine when it happened so I don't know what she did. How do I restore these features?

    F11 did not work F10 did. ThaNK YOU FOR THE HELP

  • How do I get "File", "Edit", "View", etc. to show up on my toolbar rather than them all being consolidated into "Menu"?

    I don't want everything consolidated under "Menu", I want to see "File", "Edit", "View", etc. listed across my toolbar. I played around with it as much as possible, and I have searched Firefox Help to no avail. I can't believe this option would be non-existent. The consolidation may be visually pleasing, but functionally it's annoying and is slightly more time consuming. Please help, thank you very much. (^-^)/

    Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily.
    Go to "View > Toolbars" or right-click the "Menu Bar" to select which toolbars to show or hide (click on an entry to toggle the state).
    See also:
    * https://support.mozilla.com/kb/Menu+bar+is+missing

Maybe you are looking for