Two questions: Event on a Date Picker and Read Only on a full page?

Hello,
I make use of this very informative board to develop an application but i have been unable to find info on these two topics. Sorry if it has been already discussed extensively.
Using HTMLDB 2.2 for now.
=>First question:
I have a date picker item with an event
onChange="resaStatusChange();"
in the HTML Form Element Attribute field.
The event is triggerring if i put a new data in the field but does not trigger if i use the picker.
Is it a standart behaviour? Is there a way to trigger the event when new data is provided through the date picker?
=> Second question:
One page in my application has to be used either to only display information or as a mixed displaying/entering data sheet.
When the context is appropriate to use the page as a simple display (testing both global authorization and data to be displayed), is there a way to put a read only attribute on the full page instead of putting the read only conditions through each and every item of the page?
Sorry if the questions are not clear and apologize for what should be newbie questions.
Any link or info will be appreciated.
Regards,
Daniel Gureghian

Hi Daniel,
I'm not sure about your first question, but I can hopefully give you a helpfull answer for your second one.
I'm handling it this way:
var elInput = document.getElementsByTagName('input');
var elTextArea = document.getElementsByTagName('textarea');
var elSelect = document.getElementsByTagName('select');
for (i = 0; i < elInput.length; i++)
  setReadOnly(elInput, true);
for (i = 0; i < elTextArea.length; i++)
setReadOnly(elTextArea[i], true);
for (i = 0; i < elSelect.length; i++)
setReadOnly(elSelect[i], true);
function setReadOnly(pThis, pRead)
     if (pThis && pRead)
          pThis.disabled = pRead;
          pThis.style.emptyCells = "show";
          pThis.style.color = "black";
          pThis.style.backgroundColor = "#DDDDDD";
     else if (pThis && !pRead)
          pThis.disabled = pRead;
          pThis.style.emptyCells = "show";
          pThis.style.color = "black";
          pThis.style.backgroundColor = "#FFFFFF";
I never used it on a whole page, only for regions. So maybe you have to make some changes.
chrissy

Similar Messages

  • Editable and Read-Only Date Picker have different display formats -- Bug?

    Hi all,
    This is a follow on to a previous posting about getting a Date Picker field to display read-only (Date Picker and Read-Only Condition works on LAST state of element
    Now past that hurdle, I have noticed something about the date picker field when it is displays read-only. Namely, the date format is not the format selected, nor does the read-only date format comply with the format mask in the source section.
    I've modified my small test app to work as intended in order to demonstrate this feature. I also opened it up so everyone can see it <blush>. You can find it here: http://htmldb.oracle.com/pls/otn/f?p=42513: Please navigate to the Update Project tab.
    When a project in Program One through Four is selected (which has a Spec Committed date), the date is displayed DD-MON-YY format. When a project the other Programs (which do not have Spec Committed dates at the time of this writing) are selected, and a date value selected with the date picker, the date is displayed in the anticipated DD-MON-YYYY format.
    Anyone else notice this, or have I just missed something obvious?
    Thanks,
    Petie

    I'm not sure why this happens but to work around it I added this before header process code to the page:
    execute immediate 'alter session set nls_date_format = ''DD-MON-YYYY''';
    Scott

  • Data storage and read

    Hello all,
    I got a problem in data storage and read. I used the combination of "Open data storage", "Write data" and "Close data storage" to store some data as an array as shown below.
    And used the inverted combination to read data as shown below:
    As shown the data file is in tdm form. This works fine in my computer, both the VI and the stand alone application. However when I run the stand alone application in a target pc, the storage file can't be generated!
    I don't know if it's the problem of my code or the problem of the target pc, since the target pc has tiny memory card with few drivers installed. I'm wondering if anybody could help me fix this problem. If there's other way I can store and read the file? or if I can make the target pc generate the tdm file.
    Thanks!
    Chao
    Solved!
    Go to Solution.

    What error is being presented when the file isn't being generated?  Is it an error with permissions?  Or an error with a folder not existing?  Can you manually make a file in the location where you expect the file to be generated?
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Crashes and read-only file systems

    Notice: I apolgize for the long post, I've tried to be as thorough as possible.  I have searched everywhere for possible solutions, but things I've found end up being temporary workarounds or don't apply to my situation.  Any help, even as simple as, "have you checked out XYZ log, it's hidden here", would be greatly appreciated.  Thanks
    I'm not sure what exactly caused the issues below, but they did start to happen within a day of running pacman -Syu.  I hadn't run that since I first installed Arch on December 2nd of this year.
    Setup:
    Thinkpad 2436CTO
    UEFI/GPT
    SSD drive
    Partitions: UEFISYS, Boot, LVM
    The LVM is encrypted and is broken up as: /root, /var, /usr, /tmp, /home
    All LVM file systems are EXT4 (used to have /var and /tmp as ReiserFS)
    The first sign that something was wrong was gnome freezing.  Gnome would then crash and I'd get booted back to the shell with all filesystems mounted as read-only.  I started having the same issues as this OP:
    https://bbs.archlinux.org/viewtopic.php?id=150704
    At the time, I had /var and /tmp as ReiserFS, and would also get reiserfs_read_locked_inode errors.
    When shutting down (even during non-crashed sessions) I would notice this during shutdown:
    Failed unmounting /var
    Failed unmounting /usr
    Followed by a ton of these:
    device-mapper: remove ioctl on <my LVM group> failed: Device or resource busy
    Nother of these errors had ever appeared before.
    After hours of looking for solutions (and not finding any that worked) I was convinced (without any proof) that my Reiser file systems were corrupt and so I reformatted my entire SSD and started anew - not the Arch way, I know   I set all logical volumes as EXT4.
    After started anew, I noticed
    device-mapper: remove ioctl on LVM_SysGroup failed: Device or resource busy
    was still showing up, even with just a stock Arch setup (maybe even when powering off via Arch install ISO, don't remember).  After a lot of searching, I found that most people judged it a harmless error, so I ignored it and continued setting up Arch.
    I set up Gnome and a basic LAMP server, and everything seemed to work for a couple of hours.  Soon after, I got the same old issues back.  The System-journald issue came back and per the workaround on https://bbs.archlinux.org/viewtopic.php?id=150704 and a couple other places, I rotated the journals and stopped journald from saving to storage.  That seemed to stop THOSE errors from at least overwhelming the shell, but I would still get screen freezes, crashes, and read-only file systems.
    I had to force the laptop to power off, since poweroff/reboot/halt commands weren't working (would get errors regarding the filesystems mounted as read-only).
    I utilized all disk checking functions possible.  From running the tests (SMART test included) that came as part of my laptop's BIOS to full blown fsck.  All tests showed the drive was working fine, and Fsck would show everything was either clean, or
    Clearing orphaned inode ## (uid=89, gid=89, mode=0100600, size=###
    Free blocks count wrong (###, counted=###)
    Which I would opt to fix.  Nothing serious, though.
    I could safely boot back into Arch and use the system fine until the system decides to freeze/crash and do the above all over again.
    The sure way of recreating this for me is to run a cron job on a local site I'm developing. After a brief screen freeze (mouse still moveable but everything is otherwise unreponsive) I'll systemctl status mysqld.service and notice that mysqld went down.
    It seems that it's at this point my file systems are mounted as read only, as trying to do virtually anything results in:
    unable to open /var/db/sudo/...: Read-only file system
    After some time, X/Gnome crashes and I get sent back to shell with
    ERROR: file_stream_metrics.cc(37)
    RecordFileError() err = 30 source = 1 record = 0
    Server terminated successfully (0)
    Closing log file.or_delegate.h(30)] sqlite erro1, errno 0: SQL logic error or missing database[1157:1179
    rm: cannot remove '/tmp/serverauth.teuroEBhtl': Read-only file system
    Before all this happened, I was using Arch just fine for a few weeks.  I wiped the drives and started anew, and this still happens with just the minimal number of packages installed.
    I've searched for solutions to each individual problem, but come across a hack that doesn't solve anything (like turning off storing logs for journal), or the solution doesn't apply to my case.
    At this point, I'm so overwhelmed I'm not even sure where exactly to pick up figuring this issue out.
    Thanks in advance for any help

    Did this occur when you booted from the live/install media?
    What is your current set up? That is, partitions, filesystems etc. I take it you have not yet reinstalled X but are in the default CLI following installation?
    If turning off log storage didn't help, reenable it so that you may at least stand a chance of finding something useful.
    What services, if any, are you running? What non-default daemons etc.?
    Does it happen if you keep the machine off line?
    Have you done pacman -Syu since installation and dealt with any *.pacnew files?
    Last edited by cfr (2012-12-26 22:17:57)

  • Missing "illustrations" tab and read-only information

    After a Windows XP Home repair, no illustration tab and read-only information by new music downloads. Have most recent itunes. Can someone help me...please?

    Thanks Gilad, In that case, is there then a way (via a script) that if I leave field 2 as not readonly, so the cursor moves into this field on tab out of field one, that I can reject any input from the user, if field one does not contain any data ? I thought this might be a solution. I have the script with the If Else statement, that sets the value of field 2 to "", if the value of field 1 is also "", but what is the else statement required to accept the value, if the content of field 1 is not "" ?.
    The script preoduces an error, if field 1 is blank, and I try to enter data into field 2 and then tab out of field.

  • The selected data source is read-only

    Anyone know how to fix this "issue"
    The selected data source is read-only. You cannot change the view configuration.
    Thanks in Advance.

    Assuming that it's not actually read-only (because you're trying to hit a follower node or a data source that is currently loading non transactionally, etc.), you should be able to just click the Data Source edit button and click Save to "wake it up".
    In previous versions of the product there was a "Refresh Data Sources" that would do the trick but I haven't seen it in the 3.0 version of Studio.
    If enough people need it, maybe we'll just write it or something. 
    Patrick Rafferty
    http://branchbird.com/

  • Stuck on ISW installation step - Config of other master and Read only

    I'm trying to figure out how to complete one of the last steps for my isw install. Stuck on this step:
    Configure the Sun Directory Server plugin on every other master and read-only replica that manage users under o=myorganization.

    2011 Macs do not have a PPC processor.   They have an Intel processor.  Apple menu -> System Preferences -> Energy Saver allows you to modify the sleep settings.
    Is your data backed up?

  • How to retrieve data from a read-only Excel file

    Hi Developers,
    I'm trying to retrieve data from a read-only Excel file. I used the same code that I used to retrieve data from a normal Excel file, but it can't work.
    My code is as followed:
    try
    InputStream KpExcel = new FileInputStream("kp.xls");
    HSSFWorkbook Kpwb = new HSSFWorkbook(KpExcel);
    HSSFSheet Kpsheet = Kpwb.getSheetAt(0);
    catch(Exception e)
    e.printStackTrace();
    System.out.println("Exception: "+e.getMessage());
    The error I received is as followed:
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:224)
    at org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:160)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:163)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:210)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:191)
    at photoproductionsystem.IncomingWIPPanel.getKp(IncomingWIPPanel.java:118)
    at photoproductionsystem.IncomingWIPPanel.<init>(IncomingWIPPanel.java:76)
    at photoproductionsystem.TabbedDisplay.<init>(TabbedDisplay.java:47)
    at photoproductionsystem.Display.create(Display.java:73)
    at photoproductionsystem.Display.init(Display.java:44)
    at photoproductionsystem.Display.main(Display.java:229)
    Caused by: java.lang.ArrayIndexOutOfBoundsException
    at java.lang.System.arraycopy(Native Method)
    at org.apache.poi.hssf.record.UnknownRecord.<init>(UnknownRecord.java:62)
    at org.apache.poi.hssf.record.SubRecord.createSubRecord(SubRecord.java:57)
    at org.apache.poi.hssf.record.ObjRecord.fillFields(ObjRecord.java:99)
    at org.apache.poi.hssf.record.Record.fillFields(Record.java:90)
    at org.apache.poi.hssf.record.Record.<init>(Record.java:55)
    at org.apache.poi.hssf.record.ObjRecord.<init>(ObjRecord.java:61)
    ... 15 more
    Can someone please help me with my problem? Thanks a lot in advance!

    Madeline wrote:
    how do I ask at Apache mailing list?I wonder why it seems to be a strange idea to some people to look at the software vendor's site for product support. :p
    http://poi.apache.org/mailinglists.html

  • How to use same view as editable and read only in ADF

    Hi,
    how to use same view as editable and read only in ADF ?? How can we achieve this in TF's ???
    -mrudul

    Hi,
    Steven Davelaar wrote a presentation about this "Building Highly Reusable Taskflows"
    Starting slide 14 is where your use case comes into play
    Frank

  • Possible to make an item editable for certain users and read only for other

    Is it possible to make an item editable for certain users and read only for others?
    I've been able to accomplish this by taken the select statement that I used to define an authorization scheme, placing it in the Read Only condition of the item. However, I would like to simply reference the authorization scheme to utilize caching, and to help keep things cleaner for future maintenance.
    Is it possible to reference an authorization scheme in an item condition similar to the way another item can be referenced by preceding it with a colon (i.e. :P1_First_Name)?

    Thank you, your suggestion worked.
    It would be nice on a future release of APEX if a drop-down box existed under the Ready Only section that would allow an existing Authorization Scheme to be selected or negated when applying the Read Only attribute to a form item.

  • Can't mount USB disk with the atribute of  fix and read-only

    Hello All,
    I have a usb disk which is set as fix(non-removalbe) and read-only. I tried to connect it to Macbook version 10.4.11 ,but it failed to mount the disk. However, connecting to 10.5.X and windows XP work fine. I am wondering is it a bug specifically in 10.4.11 only ? Could I get any patch for this problem ?
    Thanks,
    Ying

    HI Ying and Welcome to Apple Discussions ...
    Try repairing disk permissions.
    Quit any open applications/programs. Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac.
    Carolyn

  • I chose double sided printing and it only printed half the pages. it didn t ask me to flip them

    I chose doubke sided printing on my F2280 and it only printed half the pages for me. . . . .  .I didn task me to flip them round and continue and it is quite a big document to print it over again
    can you help please? : )
    Thanks

    Sometimes the wireless MagicMouse can be erratic and seem to automatically zoom in, etc.  Try going to System Preferences and detuning the sensitivity settings, see if that helps.

  • My web browser will open only to a full page and to get it to do that, I have to right click on 'maximize' - the intermediate size button minimizes the window.

    When I click on the Firefox icon, it will not open, so I have to right click on 'maximize' and it opens to a full page.
    Nothing happens if I right click on 'restore'.
    If I click on the intermediate size button (upper right corner of the open window), it minimizes the window altogether.

    Clear Cookies & Cache
    * https://support.mozilla.com/en-US/kb/Template:clearCookiesCache
    Clear the Network Cache
    * https://support.mozilla.com/en-US/kb/How%20to%20clear%20the%20cache#w_clear-the-cache
    Firefox cannot load websites but other programs can
    * https://support.mozilla.com/en-US/kb/Firefox%20cannot%20load%20websites%20but%20other%20programs%20can
    Check and tell if its working.

  • Problem with Date Picker and wwv_flow_item.date_popup()

    I have a Report based on the HTMLDB How-To “Build Tabular Forms for Multi-Row Operations”
    This is my code:
    select
    X.RRIT_UID,
    X.DOS,
    X.CPT_CODE,
    X.MOD,
    X.DX_CODE,
    X.CHARGES,
    X.UNITS
    from
    (select
    htmldb_item.text(1,RRIT_UID) RRIT_UID,
    wwv_flow_item.date_popup(2,null,RRIT_DATE_OF_SERVICE) DOS,
    htmldb_item.text(4,RRIT_SUBMIT_SERVICE_CODE,6) CPT_CODE,
    htmldb_item.text(5,RRIT_SUBMIT_MODIFIER,3) MOD,
    htmldb_item.text(6,RRIT_ATT_DIAG_CODE,6) DX_CODE,
    htmldb_item.text(7,RRIT_BILLED_CHARGES,9) CHARGES,
    htmldb_item.text(8,RRIT_UNITS,3) UNITS
    from
    RRIT_REPRICE_ITEM
    where
    RRRR_UID = :P5_RRRR_UID
    union all
    select
    htmldb_item.text(1,null) RRIT_UID,
    wwv_flow_item.date_popup(2,null,null) DOS,
    htmldb_item.text(4,null,6) CPT_CODE,
    htmldb_item.text(5,null,3) MOD,
    htmldb_item.text(6,null,6) DX_CODE,
    htmldb_item.text(7,null,9) CHARGES,
    htmldb_item.text(8,null,3) UNITS
    from
    dual)
    X
    My problem is when I run the page and select a date from the Pop-Up calendar I get this error:
    Line 10
    Error: ‘opener.document.forms.0.f02.0’ is null or not an object
    I know it is something to do with data formats and the fact that I do not fully understand the use of wwv_flow_item.date_popup().

    Hi DK,
    It is a WD Java application, Backend is ABAP (MM module).
    The UI is input field, where the context attribute type is Date, So its been changed to Date Picker.
    The problem is when the user runs the WD application in Portal, The calendar format is being changed for some users. That is for few users the Week starts with Monday and for few users the week starts with Sunday.
    I need all the users to have Monday as the First day of the week.
    Please let me know, what will be solution for this.
    Since I haven't done anything in regard to date, it is a simple Date format.
    Thanks & Regards,
    Palani

  • New Date Picker and JAWS

    I am trying to make my APEX applications more ADA section 508 compliant for the visually impaired without sacrificing functionality for the non-visually impaired.
    I would prefer to use the new APEX 4.0 Date Picker based on jQuery; however, it is not compatible/spoken by a Screen Reader such as JAWS. The classic date picker is compatible with a Screen Reader but is not nearly as nice or customizable.
    The APEX 4.0 Release Notes state:
    The new inline date pickers used in the Oracle Application Express are not usable with a screen reader.
    Workaround:The only workaround available currently is to enter the date manually into the date input field.
    This issue is tracked with Oracle bug 9740473.
    Are there any plans afoot to make this new date picker "screen readable"?
    Thanks.

    Hi,
    we are a little bit dependent here when the folks of jQueryUI (http://www.jqueryui.com) are making improvements in that area. It might would help if you post in the jQueryUI forum as well.
    But what we could do for 4.1 if no newer version of jQueryUI is available which addresses this accessibility issues, we could fallback to the "Classic Date Picker" if the application is running in "Screenreader Mode". Sighted users would still get the nice jQueryUI based date picker.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

Maybe you are looking for

  • Canon Lens Wish List ?

    Hello guys What would be you wish list in terms of lens ? Post yours here and let's hope the voices will go all the way to Tokyo. Personally, considering Canon has not announced any bright EF lens (less than 2.8) since 2008, I really miss some exciti

  • Translation text for ESS MSS

    Hi  , I am having issues with translation in the WD Java files ,in the ESS MSS Business package. After transport , some of the texts are coming in English and soome in German. e.g in personal information - some texts are coming in english and some in

  • Showing updated lov target value in jsp

    I've tried to add an LOV to an edit.jsp page for employees. The LOV displays employee names and is used to change the ManagerId of an employee. It works fine, but when i've changed the ManagerId through the LOV, the changed value will not display. Th

  • Mac os x unexpectedly quit after going to sleep

    Running Mac OS X 10.5.8, the main software changes have been installing new software for a Netgear Wireless Router, and deleting two programs, Cisco Clean Access Client for a network I no longer will use, and the MotoCast app for the Android phone. T

  • HT5085 when i start cloud the songs in my macbook air, coming error about give an authorised to to open the previous purchased

    hi, i want to know how i can to cloud the songs i purchased from my IPhone. for your information i can see all the songs in my Itunes in my macbook but i cant run the songs and coming a massage to give an authorized to open the previous purchased son