Hide region show how to maintain the status of hide/show on send page

APEX 4.2.1 using theme 24

I have several areas on a single page that are defined using the "Hide Show Region" model this model defines the regions to show everything first. If a user chooses to hide a region is there a way to keep this state when the page is submitted? Example region top of page is to hide/show parent to an interactive report, below this area is a relative of region to hide/show for a tabular presentation, if the user chooses to hide the interactive report region and they enter data in the region in a table, when he clicks on save and the page is submitted the interactive report region appears and the tabular form region appears still longer down in the page and the user have to scroll down to access.  I'd rather have the page 'to remember' the State of hide/show that the user has selected for each region and keep this status when the page is sent.

Someone has an idea how to do this?

Thanks in advance for a suggestion to work!

Theresas

You have almost all the way.

As you have probably already understood, the problem is that the code requires that regions begin closed and it will 'click' to open.  If you're one of them is already open, you have now two inverse regions.

I think that it is better to have them both be areas closed, when the cookie should be created (we were a new cookie for that) then "click on" one you want to open and create the cookie with this region in.  From that moment of the code can continue to click on the one that was left pending.

So, I added more code to the initial opening. I introduced the P2INIT cookie which will be set to YES the first time the page is visited.  Its only purpose is to open the region to report on the first visit.

After that, the logic can circulate to store regions that can be opened.

Also, I have completed the static ID of the report to better reference by name.

Now, I have to say, if you are presenting the same data, but a game is available to edit in a tabular form, something like Page 3 would work?

When you click on edit the grid it will hide the report and view the form in a table. When you click 'View report' he hide the form tab and view the report.

I think it's a clean approach and the data are not queried the DB double. It also avoids the flicker of the openness of the region.  Just an idea.

I use preferences instead of cookies.  The nice thing about the preferences, it's that they are saved in the DB for the user, so if the same user logs on to another computer or a browser preference comes with them.

Thank you

-Jorge

Tags: Database

Similar Questions

  • How to view the status of the battery power of the screen of boot menu showing the tiles?

    How to view the status of the battery power of the screen of boot menu showing the tiles?

    Just do the gesture of "drag the right edge" which evokes the "charms" on the right side.  It also brings a great left low Panel with date/time, battery level, and State WiFi icons.  No need to clutter up the screen with him all the time. ;)

  • How to maintain the life of your printer

    It seems more common that everyone feared how to maintain the service life of the cartridges from the printer itself.  As many variations of parameters and environment may play a role in how long your ink will actually last. A more official document can be found here about the science behind the ink, how to use it and how to make it last longer.  I will get into issues that affect the overall performance and life cycle of the printer.  I recommend to use the Startup ink supplied with the printer until he is gone because it contains chemicals of this condition and prolong the life of the print head for future use.

    I urge users to keep the printer connected directly to a wall outlet (namely for troubleshooting purposes). As with all electronics that are showing signs of failure, you can start with the power source if one really wants to follow the flow of a schema logic.  By eliminating the devices that can not to themselves, you removed a piece more equipment from the equation.  A more specific reason would be due to electromagnetic interference.  Wireless devices are vulnerable to interference with symptoms like error messages of false, lines in digital images, strange noises and frequent jams.

    Surge protectors must regulate the power distributed to each connected device.  It is possible that the printer is not the right amount of power and may fail as the printer power problems in hibernation mode with more features like duplex printing, it is impossible to recover , cable USB not detected and the light on the module displaying a yellow instead of green.  If the module and the surge protector are fighting for the control, it can cause a variety of problems that could easily be repaired by plugging the printer directly into a wall outlet.

    The next major issue many users face is the print head.  It is as well as the maintenance of ink as well.  It is important to clean the print head and the best way to do that is to use it and keep the good ink in the printer.  Over time, the chemicals can not even begin to change or develop air bubbles in the cartridge.  Not to mention, ink (well pigmented) still contains fluids that can evaporate if the printer is not rooted and off properly when not in service.  Of course, some of the processes of preparation printer used when the power of the printer can use very valuable ink, but, on the other hand, it's good for the life of the printhead to leave these processes to perform according to its specifications.

    The print head is composed of tiny nozzles and parts fragile this is why it is also one of the most expensive areas of the printer.  Most printers contain many self-cleaning utilities which is recommended to regularly (I suggest at least once a month) to help keep the printhead clogging and causing stains on the sheet itself. There are a number of unconventional methods to try once the printhead has dried up in fact, but when you try these steps you may totally break the part.

    Dust and smoke particles can also cause problems with the print head, but the printer entirely.  It is often the main killer of electronics as well as hairs and animal dander, dirt from moisture and humidity, paper for printer cheap and sand.  The air is full of impurities and really can not be prevented.  Preventive measures can be taken with dehumidifiers and a uniform cleaning, but over time, there is no real way to prevent it from happening.  Dust and air blowers have been known to cause not only solders to separate but may deposit particles of dust in places that could actually damage the printer entirely.  Instead, a favorite device is known as an empty computer.  It helps to remove the fine dust in the sense just that pushing forward into the printer.

    Paper jams also cause many more problems if is not removed correctly. HP recommends pulling the paper in the direction of the gears.  When removing a paper jam, you won't hear a grinding because it leads finally to the teeth are stripped like a screw, but simply once fully detach one of these devices. It is virtually impossible to fix a paper roll or similar because all parts are connected to each other and not sold in parts stores.

    At the back of most HP printers, you can remove the rear access door or duplexer (double-sided printing device) and easily join the paper in this way.  If you see the paper jam is located next to the Board, and then remove the piece from the back and take the paper with both hands to apply a gentle tug of same, and you should have no problem in removing the paper in this way.

    Paper quality can play a large role in the life of your printer.  Cheap paper can free of paper dust up into the gears and small machinery within the printer and are very difficult to clean.  Print incorrect parameters and issues related to food can cause the paper to stay in places that are not as easy to do.  In this case, remove the paper as long as slowly and patiently as possible to avoid them ripping out pages in places like between the wheels under the printhead and also causing error messages that will not disappear.  When troubleshooting printers, patience and troubleshooting documents will also help you keep your printer running longer.

    The printer doesn't like to not be put off by anything other than the power button.  I have always recommended the printer off when not in use (at least for long periods of time) to help keep the ink dry and high printing quality.  The reason why it is not recommended is because people will be unplugging the printer, while he is doing something and the negative effects that this might have some alignment problems serious, burn the computer chips and components similar to that in computers, fake error messages and possibly bricking of the printer if done at the wrong time.  Resets hard are great troubleshooting steps, but the abuse of this feature can result in irreparable damage.

    Fanning the paper before put you in the status bar is a good practice. About 25 sheets are perfect, because an overload of the status bar may also cause paper jams.  The paper guides of setting and selecting the appropriate paper type will put the science behind these settings wisely. Don't put paper in the tray while the printer is printing, crumpled, dirty, or coexist paper types and paper clips are all things to avoid.

    Software and communication issues deserve a section all to themselves.  The measures to prevent problems of this kind could not covered in a post, let alone a chapter.  The best thing to do to increase the performance and connectivity is to set a static IP address in the URL embedded in the printer if the printer is set up on a network (steps to do this are different from the printer to the printer).  USB cables must not be more than 3 meters long and kept in good condition as well as the power supply cord.  Keep your valuables out of reach of children and buy an extended service plan for many reasons.  You can enjoy all the services offered with a service plan in the case of a defective printer or simple product questions.  Keep the firmware up-to-date and to read reviews before you buy any electronic device.

    After reading this, I'm sure you're aware, that's all common sense, but at the time where you do not consider one of these suggestions you think back and wonder "if I had taken 10 seconds longer to avoid that I wouldn't spend 2 hours more set.»  Mistakes are made when frustrations and lack of care.  These are not delicate machines that deserving the highest shelf in the bathroom, but an understanding must be met, that once it's broken this avoidable?

    Troubleshooting of many documents can be found at www.hp.com/support.  They must be followed in order to avoid the repetition of the steps, steps unnecessary and causing more frustration.

  • How to check the status of battery for Cyber-shot?

    How to check the status of battery for Cyber-shot?

    Depends on what Cyber-shot you have - in General, there should be a DISP button, or menu on site that display. The State of the battery is usually at the top right.

    The DISP button is usually the UP button.

    In addition, depending on the type of use of the Cyber-shot battery, it can never just to display the bars, or it can show a percentage.

  • How to monitor the status of the main led VI, when LED changes in sub VI?

    In a sub VI a light on and 5 seconds later, the LED is off. How to read the status of the led in the main VI? The sub VI gives me only the situation of the end (LED off)

    Hi Johnny45,

    Please see attached examples for my suggestions.

    First example: sub_LV85.vi and main_LV85.vi

    Second example: Example2_sub_LV85.vi and Example2_main_LV85.vi

    It will be useful.

    Mike

  • BlackBerry Smartphones Blackberry Bold 9700 os6 - how to remove the status bar (3g, indicator of service) at the top

    BlackBerry Bold 9700 os6 - how to remove the status bar (3g, indicator of service) at the top?

    I love the new OS6 and MEDIA SYNC is great.  Finally my itunes music is available on my blackberry!

    You can "get rid of it.
    The only change you can make is the 5 bars can be changed by the numbers by pressing ALT + NMLL (instead of the signal bars, you see the actual level in dBm)

  • How to make the status of concurrent program error

    Hi Experts,

    I've written a PL/SQL package procedure, created an executable w / values for my 2 IN parameters and he attributed to a simultaneous program to the e-business suite.

    The specification of the procedure looks like this:
    PROCEDURE PROC1 (
    errbuf OUT NOCOPY VARCHAR2 ,
    retcode OUT NOCOPY NUMBER,
    p_contract_number IN VARCHAR2,
    p_end_date_char IN VARCHAR2 
    );
    Here my requirement is like this,

    How to make the status of the program contributing to the error even if the program successfully completes.
    Please let me know how?

    Thank you
    Suman V.

    Hello

    To give an error output, simply put the RETCODE contains 2
    To give a warning output set to 1
    for and OK output set to 0.

    If your procedure may be:

    procedure proc1 (errbuf OUT NOCOPY VARCHAR2,
    OUT NOCOPY RETCODE NUMBER,
    p_contract_number IN VARCHAR2,
    p_end_date_char in VARCHAR2
    ) IS
    BEGIN
    RETCODE: = 2;
    errbuf: = ' this CR WRONG because I wanted it ';
    END;

    This will give you an error.
    It may be good to your CR PLSQL like this:

    procedure proc1 (errbuf OUT NOCOPY VARCHAR2,
    OUT NOCOPY RETCODE NUMBER,
    p_contract_number IN VARCHAR2,
    p_end_date_char in VARCHAR2
    ) IS
    BEGIN
    RETCODE: = 0;
    return;

    exception
    while others then
    RETCODE: = 2;
    errbuf: = "an error has unhandeled."
    return;
    END;

    This way execptions generate an error.

  • How to check the status of the import in Windows?

    Hello

    Import runs in my box of Wndows. The log file is not updated since long. How to check the status of the import job? FYI its oracle 10g.

    And I checked the database which.

    FYI
    ===
    Select * from DBA_DATAPUMP_SESSIONS;

    no selected line.

    Select * from DBA_JOBS_RUNNING;

    no selected line


    Select the username, machine, module, sid, State, event, seq #, session seconds_in_wait $ v where type <>'IMPORT' and username = "AUTOTIME";

    no selected line



    Please let me know.

    You actually look at the session of $ v and check the status of the session that is created by the import job.

    Sometimes the underlying tablespace is full, so import session just hangs, it must increase the size of the storage space.

    You should also look at alert.log file and see if there is any error message like "cannot extend table space '.

  • How to check the status of the statistics on a table?

    Hello
    I started the statistics collection on a few large tables in my database.
    How to check the status of statistics about a table? Are there views of data dictionary or tables to monitor the progress of the collection of statistics.


    Regds,
    Malika

    Hi all

    You can check with this little script.
    It lists details of sid for long as running session
    When he started
    What last update
    How long still to the left
    "ACTIVE/INACTIVE" session state etc.

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    -Author: James Syed_
    -Script_name: sid_long_ops.sql
    -Description: list details of sid for long running the session as when it began when the last update how long still to the left.

    fixed lines 200
    Neck LESS to a25

    Select
    a.SID,
    a.Serial #.
    b.Status,
    a.opname,
    TO_CHAR (a.START_TIME,' DD-me-AAAA HH24:mi:ss) START_TIME,
    TO_CHAR (a.LAST_UPDATE_TIME,' DD-me-AAAA HH24:mi:ss) LAST_UPDATE_TIME,.
    a.time_remaining as 'time remaining dry. "
    a.time_remaining/60 as "Min remaining time."
    a.time_remaining/60/60 as 'remaining time in HR.
    V $ session_longops a, v$ session b
    where = select a.sid
    a.sid = & sid
    And time_remaining > 0;

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------

    The sample output:
    --------------------

    SQL > @sid_long_ops
    Enter the SID value: 474
    13 old: a.sid = & sid
    13 News: and a.sid = 474

    SID, SERIAL # STATUS START_TIME LAST_UPDATE_TIME remaining time LESS dry time remaining minutes remaining HR time
    --------------------------------
    474 2033 ACTIVE collection schema statistics June 6, 2012 20:10:49 June 7, 2012 01:35:24 572 9.53333333.158888889

    Thank you & best regards

    Syed James.
    Oracle Apps DBA
    Mobile: + 91 9966270072
    E-mail: [email protected]

  • How to find the status of the package (valid/invalid) was at one time

    How to find the status of the package (valid/invalid) was at one time?
    I want to find the status of an oracle package to 15:00 yesterday. Today, the status of this package is INVALID.
    I'm sure it was VALID yesterday. But no way to prove it. Can any one help please?
    I can generate AWR report for the last 7 days...

    Try to use a flashback, like this query:

    select object_name, object_type, status
    from dba_objects AS OF TIMESTAMP (SYSTIMESTAMP - INTERVAL '18' HOUR)  -- 18 hours ago
    where object_name = 'MY_OBJECT'
    ;
    

    If you have not granted privs FLASHBACK, you may connect as SYS to make a request flashback on a table data dictionary.
    But this should give you the info you need - if it's still in cancellation.

  • How to contact the microsoft company to complain about a page cached Web in their search engine

    How to contact the microsoft company to complain about a page cached Web in their search engine?

    the original site of this Web site has been taken down. I have to go personally to the office of company Microsoft to complain and close a case?

    By search engine, do you mean bing?

    If so, http://onlinehelp.microsoft.com/en-us/bing/hh204505.aspx

  • How to get the message to debug all to running page request OFA?

    Hello

    How to get the message to debug all to running page request OFA? do not use JDeveloper

    Thank you

    Renon,

    this.writeDiagnostics will be work AM and not CO. You mentioned that your code is AM, which is why I give (this.writeDiagnostics).

    You get an error when you use what to ? AM

    in CO, you must use pageContext. writeDiagnostics();

    You don't need to put any profile (other than DNF: Diagnostics), you just need to go to the Diagnostics - select the log on screen and choose the level that you used in the writeDiagnostics method.

    See you soon

    AJ

  • How to check the status of the server added to the vMA

    Hello

    I added 3 servers in vMA. vifp mailing lists list all servers added to the vMA. I turned off one of the servers that has been added to the vMA. But still the mailing lists vifp shows all servers, including the one that is turned off. Is it possible to find out the status of the server added at the VMAs?

    Thank you...

    When you add add a target to vMA to management, it is adds two local accounts (user-vi and vi-admin) and maintains an internal list of targets that can be displayed by using the option of mailing lists . There is no concept of status since it fails just a command when you try to run a command to a host that is not available, you can run a script very generic that loop you through all targets and based on this that take you into account all the targets that are not online.

    A good would be /usr/lib/vmware-vcli/apps/general/viversion.pl

    You would also do a simple ping test before execution of your orders, so it really depends on what you want to check, but there is nothing special with the vifp which gives a current state of your targets.

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    VMware Code Central - Scripts/code samples for developers and administrators

    http://Twitter.com/lamw

    If you find this information useful, please give points to "correct" or "useful".

  • How to remove the status bar at the bottom of the browser full screen

    We have an application that is running in mode full screen for public display, so having the popup status bar at the bottom of the screen is annoying when it moves between pages is distracting and takes away from the experience of the user.
    How to turn off the status bar so that it is no longer appear when the browser is in full screen mode?

    Or you hear the floating message that describes the current activity of the browser (for example, waiting...) or displays the URL of the link currently hovered?

    Which can be deleted using custom style rules. Here is an example of a thread on how you could do this:

    How can I disable the popup to address link at the bottom of the page?

    It is from Firefox 25. It still works in Firefox 30?

  • How to customize the status bar, to see the send/receive status bar

    I have TB 24.4.0 on computers both Win 7 and Win Vista.
    On the installation of Win 7, I can (usually *) see email send/receive progress in the lower-left corner of the status bar (for example "Inbox to check for new messages", then POP3 for my various accounts etc.). I also see a green progress downstairs bar right when messages are sent or received. On this one, I also see the number of messages in each folder, extreme right (no read: # and Total: #).
    On the installation of Vista, numbers no read and Total are below on the left, but when I send and receive my email, there is no similar progress message (and no indication that the send/receive is actually at work, unless I get a new email).
    I would like to be able see the two send/receive status and the progress bar send/receive in the status bar. How can I do this? No read/Total numbers lower-left (instead of at the bottom right) block this?
    (* As in the past, even on my Win 7 installation, sometimes send/receive status disappears from the status bar - and I think that in this case no read/Total numbers to the left switch - but it didn't happen for a while. Why is it?)
    I can add screenshots if this will help.
    Forward advice or solutions. Thank you.

    See if you have the add on Adblocker Plus installed on the problem system. If so turn it off and restart Thunderbird. This add on is known to cause this problem.

Maybe you are looking for

  • iTunes keeps asking me to update when it is already up to date

    My iTunes update me my phone to the iOS 9.2.1 ask again and he has already used this version since this update came out. How can I do this madness stop? It lasts for weeks. iTunes version 12.3.2.35 iPhone 6s version 9.2.1

  • Satellite 2450-201: is it possible to upgrade the P4 to Athlon processor?

    I have a satellite 2450-201 and it came with petium 4 I want ypgrade to the athlon 64 x 2 will be this possible upgrade for my laptop?

  • El Capitan on a Macbook Pro for mid-2012?

    In other words - my OS upgrade needs badly. Slowdowns of Safari and page gel side, I start to have problems of compatibility. I stuck with the Lion of the mountains (OS X 10.8.5) for a while now, and as much as I love him, I decided that I have to up

  • can't connect to windows cuz fingerpreint does not work

    Hey guys Since I clicked on diagnostic startup in msconfig and restarted my laptop (which is pavilion dv6 1390), I can't get through the windows log in the page cuz fingerprint reader does not work and I have fogot my password.btw for more informatio

  • String to the Variable of the PSP?

    Hello I was hoping I could buid programmatically a variable path shared and then use the Reading Variable VI to read a value. Unfortunately, while I can convert a PSP Variable in a string, I can't do the reverse. The output of the string to the share