Manually created tabular - conditionally hide a checkbox control in MSIE

Hi all!

I think that the main culprit here is MS Internet Explorer, but... let explain me what I'm trying to do.

Work environment:
-Express 4.1.0.00.32 application
-Oracle Oracle 10.2.0.3.0 on MS Windows Server 2003
-Windows 7 Enterprise edition (my PC)
-12.00, 14.0.1, Internet Explorer 8.0.7600 Firefox opera


There is a tabular presentation that is based on a hierarchical query result. Users are supposed to look at the stuff and check whether or not they have passed validation. To do this, there is a checkbox in this tabular form which users to check (or not).

What I want to do is to hide a checkbox for "topic" records recognized by LEVEL, so - if the level! = 5 then do not display the check box.

Here's a test case (this table simulates a hierarchical query results; LVL is the virtual LEVEL):
create table test_tf
  (id      number,
   lvl     number,              -- level
   sifra   varchar2(10),
   naziv   varchar2(30),
   cb_nedo number(1)            -- checkbox
  );

insert into test_tf 
  select 1 id, 3 lvl, '1.1'     sifra, 'Heading 1 title' naziv, 0 cb_nedo from dual union
  select 2 id, 4 lvl, '1.1.1'   sifra, 'Heading 2 title' naziv, 0 cb_nedo from dual union
  select 3 id, 5 lvl, '1.1.1.1' sifra, 'Normal 1' naziv       , 0 cb_nedo from dual union
  select 4 id, 5 lvl, '1.1.1.2' sifra, 'Normal 2' naziv       , 1 cb_nedo from dual;
A tabular presentation is created by a wizard - type page is a classic report. SQL is (pay attention to the APEX_ITEM. CHECKBOX2)
select
  apex_item.text(1, id, 2)     t_id,
  apex_item.text(2, lvl, 2)    t_lvl,
  apex_item.text(3, sifra, 4)  t_sifra,
  apex_item.text(4, naziv, 13) t_naziv,
  --
  apex_item.checkbox2(5, 
                      cb_nedo, 
                      case when lvl != 5 then 'hidden="hidden"'
                           else case when cb_nedo = 1 then 'checked="checked"'
                                end
                      end
                     )     t_cb_nedo
from (select id,
             lvl,
             sifra,
             naziv,
             cb_nedo
      from test_tf
     )
order by id
The attributes of the columns are changed so that their ' display as ' property is set to "Standard report column. Finally, run the page.

Here's the result (a screenshot [url http://ch-slike.com/images/2012/08/01/XKnM3.png]; I don't know how to integrate it in this post so please, take a look if possible).

As you can see (I hope), Opera and Firefox work properly, while Internet Explorer shows the boxes in the position to record levels.

Interestingly,
case when lvl != 5 then 'disabled="disabled"'
that disables these boxes, but I just can't hide.

Someone knows how to fix this? Unfortunately, IE is a 'must '...

Kind regards

LF

P.S. No problem if you know another option that would conditionally don't hide an element (checkbox in this case); I have searched a lot, makes the work and then - Jinx, IE refuses to cooperate!

Small-foot wrote:

What I want to do is to hide a checkbox for "topic" records recognized by LEVEL, so - if the level! = 5 then do not display the check box.

When you say 'hide', what you mean exactly? That should not be visible? That she shouldn't have/present value? Both?

If you don't want the box/value at all, simply move the case outside:

case when lvl != 5
then
  null
else
  apex_item.checkbox2(5, cb_nedo)
end t_cb_nedo

P.S. No problem if you know another option that would conditionally don't hide an element (checkbox in this case); I have searched a lot, makes the work and then - Jinx, IE refuses to cooperate!

Where did you find the hidden attribute? What prompted you to use it?

Tags: Database

Similar Questions

  • Check all the items of the box manually created tabular form

    Hi all

    A manual generated in form for users to enter data more effectively, we need to create several columns are by using the checkboxes as:

    apex_item. CheckBox (10, empno, decode (jobtype, 'P', 'CHECKED', null)) jobtype

    Is there a way I can add a checkbox in the column header when the user clicks the header of each checkbox in the column even is will be checked? I found this blog of Carl,

    http://carlback.blogspot.com/2007/09/mini-check-all-HOWTO.html

    very useful to know but unfortunately none of our box columns are in the first column.

    Thank you very much for your time and your help.

    Best regards
    Pete

    Replace f01 f10 and add onClick = "checkAll (this)" your master check box in the header. " This is taken directly from the generated apex tabular presentation.

    
               function checkAll(masterCheckbox) {
                    if (masterCheckbox.checked) {
                        for (var i = 0; i.checked==false) {document.wwv_flow.f01[i].checked=true;highlight_row(document.wwv_flow.f01[i],i);}}} else {rowsNotChecked=0;for (var i = 0; i
    
  • Get the error when you try to manually create a restore point in Vista 32 - Bit - System - Protection of the system control panel. Got the unable to create the specified task

    Get the error when you try to manually create a restore point in Vista 32 - Bit - System - Protection of the system control panel.
    Got the unable to create the specified task

    Hello

    What is the exact error message received when the problem occurs?

    Methood 1:

    Auditor of file system (CFS) scan to fix all of the corrupted system files. To do this, follow the steps in the following link:

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833 

    Method 2:

    You can start Windows Vista by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    I suggest to put the computer in a clean boot state, and check if the problem persists, see the link:
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: See step 7; Reset the computer to start as usual after troubleshooting is performed.

    Method 3:

    You can temporarily disable the security software and check if the problem occurs. Check out the following link to do the same thing:

    http://Windows.Microsoft.com/en-GB/Windows-Vista/disable-antivirus-software

    Warning: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    I hope this helps! Let us know if you need more assistance.

  • Windows Media Player: Hide the toolbar control to view full screen

    Hope someone can help me...

    I have Windows XP on my computer and Windows 7 Starter on my netbook and I can't find out about one of them how to hide one playback, pause, volume, etc. Control Panel down the screen when I play a wmv video, I created mode full screen. Any suggestions? It is particularly important for me to be able to do in Windows 7, as I play a slide show for a group of people in two days on this.

    Thanks in advance!

    Thanks - it started me in the right direction, but it was not actually found in the same menu for me. The way real, I managed to do was to first start WMP the only way I knew how, by double clicking to read my file mwv and then pressing the "switch to library" icon at the top right. The library, as there is no menu 'Tools' to choose from, I realized that, by selecting "Organize" menu, I can then select 'Options '.  Then I went to the 'Player' tab and the box 'Allow the auto-hide the playback controls' were found there.

    Thanks for the help :)

  • CheckBox control using Expressions

    Hi all

    I'm controlling the layer mask property in the plugin Colorama to always select the active layer. What I've done is created a Checkbox control effect in the active layer to dictate that the layer mask is always assigned to the index of the current layer. If the Checkbox control is set to off, I would like to select the layer 'None '. Here's what I came up with, but since I'm new to expressions, it does not work. What I am doing wrong?

    If (("CheckBox Control") effect (1) == true) {}
    Effect ("Colorama") (mask Layer") = layer (index)';
    } else {}
    Effect("Colorama") ("Layer mask") = layer (None) ;}

    Thanks in advance for your expertise!

    You're right on all points. If you have a ton to do this, you could write a small script that would go through the computer, looking for layers with applied Colorama and change the setting to mask layer, but it's perhaps more trouble that it's worth.

    Dan

  • conditional hide or show columns

    Hello

    I'm starting to work my way in OBIEE and have a problem that I can not find a solution.

    I need to create a table in the responses with static columns and a single column that I change with a column selector. So far no problem. The problem is that for a selection, I need an additional column on the screen, so it's a kind of conditional hide or show. Here is a cut from the version of the problem. Columns 1 to 3 are fine, but I'm stuck with column 4.


    Expected result:

    Permanent show:

    Column 1: ID

    Column 2: name


    Editable by guest column selector:

    Column 3: City or Occupation OR status


    Must appear when in the city of 3 Col is selected

    Column 4: Street



    Any help is highly appreciated

    Turalf

    Create a new column in the responses and concatenate the city and the street. You will need to format the appropriate column. This is the base column. Select the status and Occupation of your column selector column.

  • The HID-compliant consumer control device

    I have 2 PCs both running window XP. Recently, every time a PC is turned on, it always pup - up window and asking for "a new HID-compliant consumer control device" is and ask you to install the device driver.
    However, I can't find the driver - when I have the PC auto search the drive and tried to install it, it has always failed to do so and next time, when the PC is turned on, the same situation happened. Isn't it very annoying. correct driver. Pls help-

    1. What is consistent with the above HID consumer control device?-my PC another has no such feature compliant consumer control, when I checked the "Human Interface Device/Hardware Manager.
    2. how to solve this annoying problem...

    Thanks for your help.

    Hi Benshu,

    ·         Did you do changes on the computer before the show?

    I suggest you to disconnect all external devices (printers, scanner, USB (universal serial bus) drives, etc...)  Except the keyboard and mouse and then start.

    If this solves the problem, then add back devices at a time until you discover the piece of hardware causing the issue.  Then get any drivers\software update for the device.

    Also go through the event viewer crash logs and check what is the application and the module that fails to load. If you find error messages after return the exact error message so that we can help you better.

    Procedure to view and manage event logs in Event Viewer in Windows XP

    http://support.Microsoft.com/kb/308427

  • "This file has no program associated with it for performing this action. Create a partner in association with control panel

    I download HotSpot Shield, but when I run the program it shows "this file has no program associated with it for performing this action. Create a partner in association with control panel

    Hello rajlama blanchon,.

    I suggest to download Hotspot Shield 2.18 from the following link and then try to install it.

    http://hotspot-shield.en.softonic.com/

  • Restore points are not generate and also removed when manually created in Win 7

    I am running Win7 with all available updates.

    No restore point is automatically generated by the operating system.

    Manually created restore points are deleted every day.

    System protection IT for only c: drive.

    20% (5.7 GB) assigned to the protection of the system.

    Anyone has any ideas about this problem?

    Thank you, Jerry

    Original title: in Windows 7 Restore Points

    Found this article. Definitely worth a visit:

    Click here to view article

    Hope this helps you solve the problem.

  • Migration of the TMS Movi/Jabber manually created the AD users

    I have a lot (75) of users created manually Movi/Jabber in TMS. When we turn to the AD authentication what is happening the old-fashioned manually created accounts? Have they disappeared? In addition, accounts created manually have the same username as their counterparts in AD. Which will cause a problem?

    Thanks advance!

    Douglas,

    I tested in the laboratory and it does not matter the user of the AD, it gives an error.

    Given that I had already 'Michael Schumacher' user added in the local database with the same login name database with AD synchronization does not matter the user and generates the error.

    I use TMS PE and TMS 14.3.2

    Concerning

    Alok

  • I created show and hide features in InDesign I want to export to interactive PDF format. These functions work when seen in Acrobat on the desktop, but not on iPad/Tablet - why?

    I created show and hide features in InDesign I want to export to interactive PDF format. These functions work when seen in Acrobat on the desktop, but not on iPad/Tablet - why?

    Why? Most likely because the PDF Viewer on the Tablet is too stupid to deal with show/hide functionality.

    You could try PDF Expert of Readdle on qpdf Notes Pro on Android and iOS devices.

    Depending on how the show/hide was created during the export of InDesign, it can work in viewers. Otherwise, you will need to open PDF files in Acrobat and edit features show/hide something more digests of PDF device viewers.

    BTW, you will encounter the same issues with the PDF display components in web browsers.

    I hope this can help.

  • creation of listener for the manually created database

    Hi all

    Oracle 11 g 2

    RHEL 5

    I have a server with a single database that is installed with the default listener listen to 1521.

    Now, I'll create another data base to help create database statement. I want to have a separate listener called listener2 on port 1522. How the database manually created to listen to listerner2...

    Kind regards

    1 / created the database manually

    Using SQLPLUS > CREATE DATABASE...

    For additional info check documentation for version you use.

    2 / create a new listener

    USE NETCA or UPDATE YOUR LISTENER. ORA or use srvctl

    For additional info check documentation for version you use.

    3 / update the database using the parameter local_listener with the new name of listening port?

    Using sqlplus > alter system set local_listener = scope = <> = sid<>

    For additional info check documentation for version you use.

  • Several conditions in a burst control file filter

    Hi all
    I try to use multiple conditions in a burst control file filter and get up a mistake.
    You can correct me on this please.

    [["< xapi:template type ="rtf"location =" xdo://AR. Filter=".//G_INVOICE[BILL_CUST_NAME='ABC XXRAXINVOPCO.en.00? getSource = true" COMPANY "] and .//G_INVOICE[BILL_CUST_NAME='ABC SOCIETY ']" > "

    Thank you
    -John.

    Please try this:

  • Manually create an instance of the DSO on 11 GR 1 material

    Hallo,

    I have to install MANUELLEMENT 11 GR 1 material ASM on Solaris 10, it must be smooth, but looking around metalink, there's just a note

    * How to manually create an ASM Instance From Scratch [421827.1 ID] *.

    It's about 10 gr 2 version.

    So I wonder if there is something else:

    1 - installation of CSS via the localconfig script
    2 - manually create a pfile
    3. manually create the ADR directory structure

    Thank you

    is this is a stand-alone server (no cluster), then it is exactly like that.

    in a clustered environment, it is better to operate the asm RAC...

  • Position of the text of a checkbox control

    Hello

    Is it possible to have the text on the left side of a checkbox control?

    I use spark and tlf.

    Thanx

    Allan

    I should say "by reskinning the check box". You would not normally modify the CheckBoxSkin.mxml file that defines the default appearance; you make your own version of it and tell the checkbox for use instead.

    Gordon Smith

    Adobe Flex SDK team

Maybe you are looking for

  • Satellite L450-16 t belong to what series?

    * Hi all, *. I just want to know what is _Toshiba 16T_ L450 series belong to? This is in order to download the necessary drivers! Have a nice life! * Best regards! *

  • VI does not take into account my INI file settings

    I created a VI Labview 7.1 in 2006 on Windows XP. Now I wanted to use it again, under the execution engine, but now I have Windows 7 and the control panel is different. On my current computer should I use Windows system police 125% otherwise, I would

  • PROMBLEMS WITH ACTIVATION CODE ON WINDOWS XP CD INSTALLATION

    .. I HAVE A MOOSE WIINDOWS XP HOME EDITION...  I INSTALLED A NEW HARD A PORTABLE OLDER DRVE... WHEN I INSTALLED IT IN THE COMPUTER... HE SAID THAT THERE IS ERROR ANN WITH ACTIVATION CODE SO WHA I NEED ALSO TO DO?  PLEASE LET ME KNOW...  Thank you

  • Computer Vista laptop starts on its own

    I Hibernate my laptop at night, switch on in the morning and it is completely flat. I think it's Vista put on during the night. I had this problem before. It's been fixed by to change me the time that Windows Update has done its thing. I tried to do

  • CRUD operations.

    I create crud operations in a workflow.When I'm clicking addJob, fragment works. The question is: if I did not build all the data, and in my opinion 'read only table' that show all the data. I found the new, blank record added.That is why I sequence