Apex_item.hidden does not appear to be working correctly

Hi,
I am trying to build a manual MRU form based on the How to tutorial by Christina Cho.
The differences are that I am using Apex 2.2 and thus apex_item functions and that I am putting the insertion row first before the existing rows (I want most recent records first).
To simplify testing I removed the select for the existing records (there are none so far). I have the following select:
select x.problem_id,
x.person_id,
x.probcode,
x.resolved,
x.diag_date,
x.resolved_date,
x.record_status
from (
select apex_item.hidden(1,null) problem_id,
apex_item.hidden(2,:p235_person_id) person_id,
apex_item.popupkey_from_query(3,null,
'select probcode||'' - ''||description d,
probcode from problist',75,75) probcode,
apex_item.select_list(5, '1','-;1, Yes;2') resolved,
apex_item.date_popup(6, null, null, :pick_date_format_mask, null, 12) diag_date,
apex_item.date_popup(7, null, null, :pick_date_format_mask, null, 12) resolved_date,
apex_item.hidden(8, 'ACT') record_status,
apex_item.md5_checksum(null, null, null, null, null, null) cks
from dual
) x
With the apex_item.hidden, the counts apex_application.g_f01, apex_application.g_f02, and apex_application.g_f08 are equal to zero(0) when I submit the data entered. If I change the hidden functions to text functions then the counts are equal to one(1).
The bad counts appear to be screwing up the collection creation procedure too; I expect it has to do with having a null for a loop end point..
I expect that I can create a work-around with the text fields and not showing them in the report, but does the hidden function have a real bug?
Also, for the collection creation routine, what can be done when there is nothing in the arrays? What is the value of the count?
thanks,
Peter

Unchecking the Show checkbox in Report Attributes means you are asking the Apex reporting engine to not render that column on the report.
If the column in question is a apex_item.hidden() call and it is shown (Show checkbox checked), it will display a "empty" column on the report, but the values will be posted to the g_fNN array you specify.
I agree it is a little non-intuitive, that is why I always "piggyback" the apex_item.hidden() API call with a column that is going to be rendered on the report.
Something like
select
apex_item.hidden(...)||apex_item.select_list...()
...

Similar Messages

  • %@ page import="..." % does not seem to be working correctly

    Hi,
              I am running Weblogic 6.1 sp1 and I am having a problem with import page
              directive. <%@ page import="my.package.*" %> does not appear to be working
              correctly when I try to reference classes in imported packages (my.package,
              etc.) from the useBean tag.
              The following code works with Resin, but not Weblogic:
              <%@ page import="my.package.*" %>
              <jsp:useBean id="errorBean" class="ErrorBean" scope="request"/>
              If, I take out the page directive, and change the useBean tag to:
              <jsp:useBean id="errorBean" class="my.package.ErrorBean"
              scope="request"/>
              then the page compiles and runs just fine.
              Michael
              

    Here's a snippet from Sun's j2ee tutorial
              (http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPBeans4.html):
              <jsp:useBean id="beanName"
              class="fully_qualified_classname" scope="scope"/>
              But I agree with you, the excerpt you posted seems to include the
              useBean tag, which is misleading.
              Nils
              Michael Hill wrote:
              >
              > I don't think this is the way it is "supposed" to be. Here is an excerpt
              > from the JSP Syntax reference on http://developer.java.sun.com
              > on the page directive:
              >
              > import= "{ package.class | package.* }, ..."
              > A comma-separated list of one or more packages that the JSP file should
              > import. The packages (and their classes) are available to scriptlets,
              > expressions, declarations, and tags within the JSP file. You must place the
              > import attribute before the tag that calls the imported class. If you want
              > to import more than one package, you can specify a comma-separated list
              > after import or you can use import more than once in a JSP file.
              >
              > ---
              >
              > It says the packages are available to tags within the JSP file as long as
              > you place the import before the tag that calls the imported class. In my
              > case, I am placing the import before the <jsp:useBean> tag.
              >
              > Michael
              >
              > "Nils Winkler" <[email protected]> wrote in message
              > news:[email protected]...
              > > I'm pretty sure that you have to specify the fully qualified class name
              > > in the useBean tag. import won't help you here.
              > >
              > > Nils
              > >
              > > Michael Hill wrote:
              > > >
              > > > Hi,
              > > >
              > > > I am running Weblogic 6.1 sp1 and I am having a problem with import page
              > > > directive. <%@ page import="my.package.*" %> does not appear to be
              > working
              > > > correctly when I try to reference classes in imported packages
              > (my.package,
              > > > etc.) from the useBean tag.
              > > >
              > > > The following code works with Resin, but not Weblogic:
              > > >
              > > > <%@ page import="my.package.*" %>
              > > > <jsp:useBean id="errorBean" class="ErrorBean" scope="request"/>
              > > >
              > > > If, I take out the page directive, and change the useBean tag to:
              > > >
              > > > <jsp:useBean id="errorBean" class="my.package.ErrorBean"
              > > > scope="request"/>
              > > >
              > > > then the page compiles and runs just fine.
              > > >
              > > > Michael
              > >
              > > --
              > > ============================
              > > [email protected]
              ============================
              [email protected]
              

  • My iMessage does not appear to be working. Every time I go to reply to an existing message it just appears as normal text. I have tried to create a new message but it still just defaults to normal messages. I have checked my settings but looks ok. Help?

    My iMessage does not appear to be working. Every time I go to reply to an existing message it just appears as normal text. I have tried to create a new message but it still just defaults to normal messages. I have checked my settings but it is all set up as it should be. Is there anything I've missed or could try? Thanks

    Try the following:
    In Finder, select the problematic volume and then press command-I.
    Expand the Sharing & permissions section if it's collapsed.
    If the section is locked, then unlock it by pressing the padlock button and then authenticating as directed.
    Tick/check Ignore ownership on this volume.

  • HT4053 How do I delete photos, the delete button does not appear to be working?

    I have downloaded all my photos to my new IPad. I need to delete some I do not want, how do I do it. The delete button does not appear to be working?

    I personally don't know of any other software that does syncing, however, you can use another cloud service like Dropbox or Flikr to house your photos, add and delete them and have them available for viewing on any device or comuter that has an internet connection.
    I'm not sure why you would be having trouble not getting photos that you put into your Photo Stream Uploads folder on your iPad. Photo Stream is Photo Stream. Also, just so you know, photo management and Photo Stream have nothing to do with iTunes. Photo management on the computer is done through your photos folder and app (on a Mac, it's iPhoto). You only use iTunes to tell the sync process which items to retrieve and sync from that library. Photo Stream is completely independent of iTunes altogether.
    If you want to get photos from a camera to your iPad without having to use a computer, get a camera connection kit which will allow you to physically hook the camera to the iPad, and to directly download the photos from the camera to the iPad.
    You would still want to also hook the camera up to the computer to back those photos up to your photo library on your computer.
    Also you might want to look into purchasing (for under $5) iPhoto for your iPad:
    https://itunes.apple.com/us/app/iphoto/id497786065?mt=8
    Seems like you might benefit from talking to your local Apple Store about when they might have some sessions for learning photo management and sharing between your device and computer, because what you appear to be wanting to do is all do-able. I guess I'm just missing what your issue is. You can many things with photos on your iPad, however, your device will never be a substitue for your computer for backing up and managing your photos.
    So, best of luck, I hope one of the suggestions above will help you to achieve what you are trying to do.
    Cheers,
    GB

  • I have loaded new software and iMessages does not appear to be working.  All messages appear as in delivered but they will send to the same address on my iPhone.

    I messages does not appear to be working on iPad every time I type a message it comes up as in delivered but I can type the same message on my iPhone and it works straight away

    MMS is a carrier issue... contact Verizon and ensure your account is provisioned correctly.  I would think that someone would be intelligent enough to do that before buying a new device, but......
    iMessage could be an activation issue or a network issue.
    Have you tried Settings > General > Reset > Reset Network Settings?
    Does iMessage work consistently on Wi-Fi?

  • Video will not play on BBC site error message this content does not appear to be working .Help

    I have bbc news as home page after i updated to firefox 10 if i try to play embedded video i get the eror message [this content does not appear to be working] Help

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • My disc drive on my imac does not appear to be working. It takes the disc in but then spits it out without reading it. I have thought about purchasing an external disc drive, can someone advise me please?

    My disc drive on my imac does not appear to be working. It takes the disc in but then spits it out without reading it. I have thought about purchasing an external disc drive, can someone advise me please?

    Try the following:
    In Finder, select the problematic volume and then press command-I.
    Expand the Sharing & permissions section if it's collapsed.
    If the section is locked, then unlock it by pressing the padlock button and then authenticating as directed.
    Tick/check Ignore ownership on this volume.

  • Autofill in Google Toolbar does not appear to be working with Firefox 4 - Aways saying Autofill not available for this page even on pages I have used it before FF4 upgrade

    Autofill in Google Toolbar does not appear to be working with Firefox 4 - It aways gives the message "Autofill not available for this page". This is happening on pages I have used Autofill on before upgrading to FF4 from Firefox 3.5.x

    i did not see a solution posted - I tired what I read. Going back to an old version may solve the problem but it is a stupid solution so I have yet to do that.
    I am on version 4 and autofil this does not work :
    Popular answer Go to this answer
    Uninstall version 5, then Google "google toolbar version 4", follow the link to FileHippo.com, and download and install the last version 4. When you reinstall it, make sure you turn off the option to perform automatic updates.
    6 of 7 people found this answer helpful. Did you? Sign in to vote. Report abuse

  • My on/off button does not appear to be working on my iphone 3.....is there any way around this....anyway around this?...the phone also periodically just switches off.

    my on/off button does not appear to be working on my iphone 3.....is there any way around this....anyway around this?...the phone also periodically just switches off.

    Likely a hardware issue... no way around that except to get it repaired or don't use it (the button).
    Try restoring to solve the switching off problem.

  • Click wheel does not appear to be working

    My click wheel does not appear to be working. I can however, press "menu" & the center button at the same time to reset it. Any suggestions on how to get it working again?

    Have you tried doing a RESTORE on the iPod when plugged in and showing up in iTunes?
    Patrick

  • My microphone does not appear to be working, people can not hear me on Skype.

    My microphone does not appear to be working, people can not hear me on Skype.  TIA

    I have the same problem..-_-

  • Time machine volume does not appear but backup works..

    Hi. I have a Sno Leo server used for Time Machine backups. When I try to add a bew user to the backup, the backup volume does not appear (Time Machine Prefs > Select disk). The backup clients that have been previously set up work as normal.

    In the Finder, press the key combination shift-command-C, or select
    Go ▹ Computer
    from the menu bar. A window will open showing all mounted volumes. Select the one in question and open the Info window. What is shown as the Format in the General section? If it's not "Mac OS Extended," Time Machine can't back up the volume.

  • The link to portal patches(in Metalink) does not appear to be working

    The link at http://portalstudio.oracle.com/servlet/page?_pageid=1787&_dad=ops&_schema=OPSTUDIO
    does not seem to be working. When clicking on the links, I get that I am not allowed access even though my licenses say I am.
    Also, if I enter Metalink and enter that bug number, it is not found.
    What's up with that?

    Don't know since when.  But the last weekend I applied a bunch of SharePoint Updates and the problem seems solved now. Unfortunately I can't say exactly which update it was.
    The similar problem which we had with the blog mail alerts when clicking  on the "view" link, could be solve by
    this workaround.

  • Xen VNC does not appear to be working/listening

    Working through some issues, I am to a point where I think I should be able to install windows in a Xen VM, but when I try to connect to the session, the connection is refused.  I have tried various session numbers to make sure something was not conflicting, but no matter what I do, my connection gets refused.  Besides this, I have what appears to be a healthy system, but for some reason vnc is not listening or maybe it is simply not running.  If I type vncserver, the command it not found, but I am not sure that is needed to function with xen or not.  Any help is appreciated.
    Last edited by smakovits (2013-12-18 21:49:33)

    I thought I should update this with slightly more information based on my testing and findings.  It would seem the most likely reason I am not able to connect to the host from my remote computer via vnc is because vnc is not listening for connections, so I am simply turned away at the door.
    I have tried going into xend-config.spx and making sure the server is set to listen
    (vnc-listen '192.168.0.0')
    I have also tried
    (vnc-listen '0.0.0.0')
    The one thing I was not sure of is if something needs to be restarted between configuration changes.  For me, rebooting would seem to do the same, but I am not sure if I need to run a command to re-read the configuration or not.
    The one thing that is certain is that when I run "netstat -tap" I see nothing using port 5900 and because of this, it is pretty obvious I will not be able to connect.
    Here are the results of a few of the commands i have found and run:
    testARCH ~ # ps -ef | grep vnc
    root 734 1 19 12:04 ? 00:00:05 /usr/lib/xen/bin/qemu-dm -d 2 -domain-name windows -vnc 192.168.0.0:0 -vncunused -videoram 8 -boot dc -usb -usbdevice tablet -acpi -vcpu_avail 0x01 -net nic,vlan=0,macaddr=00:16:3e:51:20:4c,model=e1000 -net tap,vlan=0,ifname=vif2.0-emu,bridge=xenbr0,script=no,downscript=no -M xenfv
    root 835 450 0 12:04 pts/0 00:00:00 grep --color=auto vnc
    testARCH ~ # netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:32469 *:* LISTEN 467/Plex DLNA Serve
    tcp 0 0 *:ssh *:* LISTEN 391/sshd
    tcp 0 0 *:32443 *:* LISTEN 398/Plex Media Serv
    tcp 0 0 *:46850 *:* LISTEN 395/rpc.statd
    tcp 0 0 *:xinuexpansion4 *:* LISTEN 467/Plex DLNA Serve
    tcp 0 0 *:58827 *:* LISTEN 408/Plex Plug-in [c
    tcp 0 0 192.168.0.0:rfb *:* LISTEN 734/qemu-dm
    tcp 0 0 *:sunrpc *:* LISTEN 392/rpcbind
    tcp 0 0 *:32400 *:* LISTEN 398/Plex Media Serv
    tcp 0 0 *:ndmp *:* LISTEN 318/perl
    tcp 0 0 *:sunproxyadmin *:* LISTEN 388/python2
    tcp 0 0 *:52276 *:* LISTEN 564/Plex Plug-in [c
    tcp 1 0 testARCH:38815 192.168.:xinupageserver CLOSE_WAIT 467/Plex DLNA Serve
    tcp 1 0 testARCH:53462 192.168.0.104:6357 CLOSE_WAIT 467/Plex DLNA Serve
    tcp 1 0 localhost.localdo:56842 localhost.localdo:58827 CLOSE_WAIT 467/Plex DLNA Serve
    tcp 1 0 testARCH:47976 192.168.:xinupageserver CLOSE_WAIT 467/Plex DLNA Serve
    tcp 1 0 testARCH:48189 192.168.:xinupageserver CLOSE_WAIT 467/Plex DLNA Serve
    tcp 0 64 testARCH:ssh 192.168.0.99:55725 ESTABLISHED 429/sshd: root@pts/
    tcp 0 0 testARCH:53461 192.168.0.104:6357 TIME_WAIT -
    tcp 1 0 testARCH:53463 192.168.0.104:6357 CLOSE_WAIT 467/Plex DLNA Serve
    tcp6 0 0 [::]:ssh [::]:* LISTEN 391/sshd
    tcp6 0 0 [::]:41638 [::]:* LISTEN 395/rpc.statd
    tcp6 0 0 [::]:sunrpc [::]:* LISTEN 392/rpcbind
    testARCH ~ #
    So it would seem that at this point I have sort of reached the end of the road with the stuff I know and can dig up so I am really hoping someone can help me out a bit.  I also hope I am in the right forum and if not, lets get it moved because this seems to be the last hurdle I need to cross before having a functional Arch/Xen test system.
    Here is one last log that I saw helped someone else resolve things.
    qemu-dm log
    domid: 2
    -videoram option does not work with cirrus vga device model. Videoram set to 4M.
    Using file /dev/VMs/win7 in read-write mode
    Strip off blktap sub-type prefix to /home/win7.iso (drv 'aio')
    Using file /home/win7.iso in read-only mode
    Watching /local/domain/0/device-model/2/logdirty/cmd
    Watching /local/domain/0/device-model/2/command
    Watching /local/domain/2/cpu
    qemu_map_cache_init nr_buckets = 10000 size 4194304
    shared page at pfn feffd
    buffered io page at pfn feffb
    Guest uuid = efe882ed-a79a-4573-8e23-1432529666ab
    populating video RAM at ff000000
    mapping video RAM from ff000000
    Register xen platform.
    Done register platform.
    platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
    xs_read(/local/domain/0/device-model/2/xen_extended_power_mgmt): read error
    medium change watch on `hdb' (index: 1): aio:/home/win7.iso
    I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
    Log-dirty: no command yet.
    vcpu-set: watch node error.
    [xenstore_process_vcpu_set_event]: /local/domain/2/cpu has no CPU!
    xs_read(/local/domain/2/log-throttling): read error
    qemu: ignoring not-understood drive `/local/domain/2/log-throttling'
    medium change watch on `/local/domain/2/log-throttling' - unknown device, ignored
    cirrus vga map change while on lfb mode
    mapping vram to f0000000 - f0400000
    platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
    platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state.
    Last edited by smakovits (2013-12-18 22:24:56)

  • Safe Sleep Does Not Appear to be Working

    Dear Forum,
    I using a 2.33GHz MacBook Pro 17” 3GB RAM 10.6.2 (FireWire HDD Start up (Boot) via a FireWire 6 port hub).
    I have calibrated the battery (after replacing the original) on three occasions, however the system does not restore from the point just prior to the battery turning the system off. Instead after the battery is drained completely (after 6 hours or so) and after plugging in the charger and pressing the power button I get a grey screen, then after a few seconds the screen goes black then I hear the boot up chime and the apple logo appears.
    I thought the system was able to remember where it was before the battery drained.
    I have used this command in Terminal:
    pmset -g | grep hibernatemode
    and have received this in reply:
    hibernatemode 3
    but as I am using Secure Virtual Memory, I read I needed to use mode 7 so I tried…
    sudo pmset -a hibernatemode 7
    which returned:
    hibernatemode 7
    so it looks like I entered the correct command.
    Furthermore, it would appear that something is happening when I choose sleep, as the Mac takes anywhere up to 30 seconds to do as I ask. (This from the sounds of it (literally) is doing what it should do (writing its current state to the drive), as I can hear the G-Drive Mini working away.)
    Q1: Have I entered the correct command? (I am not fluent in the language, I was merely following directions.) (Is this command correct for this Mac?)
    Q2: Can the MacBook Pro enter hibernate mode when booted from an external Firewire drive (G-Tech Mini 250GB (GUID partition))?(Apple says using a FireWire Drive to boot from is OK, at least from what I have read, so I am assuming they would have looked into various usage possibilities (Hibernate (Safe Sleep) mode, one would think is a usage possibility.))
    Q3 I would prefer not to use third party software (Deep Sleep, Smart Sleep) unless I am absolutely forced in to it, as this function is written into the system (therefore should work without third party controls), so can this issue be solved with the setup I have?
    Q4: Have I missed the point somewhere, or misunderstood, what the hibernate mode (safe sleep) is all about and in fact I am asking too much to expect the system to remember where it was after completely draining the battery? (Yet I don’t believe I have misread the following: http://support.apple.com/kb/HT1757)
    I would very much like to get this operational as you can imagine as it is an incredibly useful feature.
    Thanks.

    Well the solution is: Restore from Time Machine to MacBook Pro internal HDD and Safe Sleep functions correctly.
    Now how do I get a bigger HDD into the Mac...

Maybe you are looking for

  • Data Source Login (ColdFusion)

    I am trying my best to work with Coldfusion however, when I'm connecting my database in Dreamweaver it's asking me for a password. Also, when I'm creating my data source in coldfusion I'm getting an error. Should I have my WAMP sever on? and if so, i

  • How to capture the User input value to user exist function module.

    Hi, How can i capture user input value.Here i am using User exist in BPS variable. Calculating days using user exist functin module and my input is another variable i.e user defined value. How can i capture user defined vaule into my function module.

  • Cannot open folder call users

    I have sophos anti virus and it has told me it has put an infected file in users/Shared/infected but when I go to look at this folder it is grayed out (users) finder says that the size is 430 gig but date created is 24 January 1984 08:00 how do I get

  • Oracle 9i Sum() Rounding Error?

    Has anyone encountered problems with the Sum() function rounding the results? Here is the situation and results that I'm observing: We are Priming a new accounting system in preparation for beta testing. This data priming involves importing a number

  • Tomcat4.0 Vs. Tomcat3.3

    Tomcat4.0 Vs. Tomcat3.3, which one is more powerful more scalable, and has less bugs?