Updating Date field that is set as read only
I have a date field that I have set the "HTML Form Element Attributes" to "readonly = "TRUE" " I would like to have the option of clearing the value in the date box without a computation, I'd like it to be java based so that it is "on the fly" without having to refresh...
I have an example that I use that works on POPUP LOV's ...
"<"img src="/i/delete.gif" onClick="document.getElementById('#CURRENT_ITEM_NAME#_HIDDENVALUE').value='';document.getElementById('#CURRENT_ITEM_NAME#').value=''" ">"
Both examples are used here .. http://htmldb.oracle.com/pls/otn/f?p=22240:2
Any ideas?
Just use the same technique that you use for popup lovs except just use #CURRENT_ITEM_NAME#, not #CURRENT_ITEM_NAME#_HIDDENVALUE
See an example at http://htmldb.oracle.com/pls/otn/f?p=24317:91
Similar Messages
-
After 10.5.3 update, Time Machine disk getting set to read-only
"The Further Adventures of Time Machine..."
Since applying the 10.5.3 update, Time Machine (or something) seems to be randomly setting my backup disk (external Western Digital "My Book Studio Edition" 500GB) to read-only which, of course, brings Time Machine backups to a halt. I can generally just restart my MacBook Pro and all is well again but then after a few more hourly backups, it will go back to read-only status again. There's a couple of things about this that are odd:
1) Even if I open "Get Info" and try to reset the permissions on the drive, I'm locked out of doing so even though I'm the admin. What's even odder (more odd?), my user and "staff" show read & write but about the user name list, it states "You can only read"!?
2) I have this disk partitioned and even the partitions are read-only. Disk Utility reports the entire disk is locked.
Like I said, this has only start happening since 10.5.3 update.
Regards,
TerryHere's the latest:
Also, the time machine back up drive had been smooth sailing since I hooked it up. Never had an ounce of problems until 10.5.3.
Format is Mac OS Extended.
Thanks.
CP
Last login: Mon Jun 9 18:36:23 on ttys000
cpstaley:~ cpstaley$ ls -aleO@ /Volumes/iMac\ Back-Up
total 9008
drwxrwxr-t@ 35 root admin - 1258 Jan 3 20:22 .
com.apple.FinderInfo 32
drwxrwxrwt@ 7 root admin hidden 238 Jun 5 21:04 ..
com.apple.FinderInfo 32
-r-------- 1 root wheel - 16 Dec 31 20:43 .0011243977f4
-rw-rw-r--@ 1 cpstaley admin hidden 12292 Feb 18 21:26 .DS_Store
com.apple.FinderInfo 32
-rw-rw-rw- 1 cpstaley cpstaley - 862 Dec 31 16:12 .MaxSyncConfig
drw------- 3 root admin hidden 102 Dec 31 20:43 .Spotlight-V100
drwxrwxrwt@ 3 cpstaley admin hidden 102 Jan 3 20:22 .TemporaryItems
com.apple.FinderInfo 32
d-wx-wx-wt 2 root admin hidden 68 Jun 5 16:46 .Trashes
-rw-r--r--@ 1 cpstaley admin hidden 135038 Jan 1 20:15 .VolumeIcon.icns
com.apple.FinderInfo 32
-rw-r--r-- 1 cpstaley admin - 59078 Aug 31 2007 .VolumeIcon.icns.candybarbackup
-rw-r--r-- 1 root admin - 0 Dec 31 19:52 .com.apple.timemachine.supported
drwx------ 96 root admin - 3264 Jun 5 03:30 .fseventsd
drwxrwxr-x@ 122 root admin - 4148 Dec 31 15:49 Applications
com.apple.FinderInfo 32
drwxr-xr-x+ 3 root admin - 102 Dec 31 20:44 Backups.backupdb
0: group:everyone deny addfile,delete,add_subdirectory,deletechild,writeattr,writeextattr,chown
-rw-r--r--@ 1 root cpstaley hidden 6656 Dec 31 19:50 Desktop DB
com.apple.FinderInfo 32
-rw-r--r--@ 1 root cpstaley hidden 11522 Dec 31 19:30 Desktop DF
com.apple.FinderInfo 32
drwxrwxr-t@ 48 root admin - 1632 Dec 31 15:49 Library
com.apple.FinderInfo 32
drwxr-xr-x 2 root wheel - 68 Dec 31 15:52 Network
drwxr-xr-x 4 root wheel - 136 Nov 26 2007 System
lrwxr-xr-x 1 root admin - 60 Dec 31 19:19 User Guides And Information -> /Library/Documentation/User Guides and Information.localized
drwxrwxr-t 7 root admin - 238 Dec 31 19:34 Users
drwxrwxrwt@ 3 root admin hidden 102 Dec 31 16:33 Volumes
com.apple.FinderInfo 32
drwxr-xr-x@ 4 root admin hidden 136 Aug 30 2007 automount
com.apple.FinderInfo 32
drwxr-xr-x@ 40 root wheel hidden 1360 Nov 26 2007 bin
com.apple.FinderInfo 32
drwxrwxr-t@ 2 root admin hidden 68 Mar 22 2005 cores
com.apple.FinderInfo 32
dr-xr-xr-x 2 root wheel - 68 Dec 31 15:51 dev
lrwxr-xr-x@ 1 root admin hidden 11 Dec 31 19:19 etc -> private/etc
com.apple.FinderInfo 32
-rw-r--r--@ 1 root wheel hidden 4352200 Oct 10 2007 mach_kernel
com.apple.FinderInfo 32
drwxr-xr-x@ 6 root wheel hidden 204 Dec 31 15:51 private
com.apple.FinderInfo 32
drwxr-xr-x@ 63 root wheel hidden 2142 Dec 26 13:32 sbin
com.apple.FinderInfo 32
lrwxr-xr-x@ 1 root admin hidden 11 Dec 31 19:19 tmp -> private/tmp
com.apple.FinderInfo 32
drwxr-xr-x@ 9 root wheel - 306 Sep 10 2007 usr
com.apple.FinderInfo 32
lrwxr-xr-x@ 1 root admin hidden 11 Dec 31 19:19 var -> private/var
com.apple.FinderInfo 32 -
Error while updating Date Field on Process Form.
Hi,
I am using java code to pre-pop date on the process form.First I used a java code whic took java.sql.date as input and returned the same java.sql.date.But it gave an error that:java.lang.String cannot be converted to java.sql.date.......
So I changed the java code and now it takes string as input and returns java.sql.date. This code works fine for Pre-pop adapter and the date is populated on the process form.
But when i use the same code in a Process Task adapter to update the date, then it gives the following error:
ERROR [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.ADAPTERS - Class/Method: tcAdpEvent/updateDataSetValuePost encounter some problems: Adapter Execution Error: updateDataObjFieldValuePost: error updating UD_OID_USR_DATE_OF_BIRTH
ERROR [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.ADAPTERS - Class/Method: tcAdpEvent/updateDataSetValuePost encounter some problems: {1}
Can anyone suggest any method to update date field on process form?Hi Abhi,
Can you tell me how you have implemented populating an UDF based on Prepopulation of another UDF. I have a similar kind of requirement. It would be great if you share your code or relevant part of it.
Regards,
Sunny Ajmera -
Issue in Updating Date Fields in JDBC
Hi Experts ..
I am having issues in updating date fields in Oracle Database.
My Sender Sends date in format 2007-05-19T14:34:55.0000000+02:00
Can any one please suggest me how does the above format can be updated in JDBC with format 2007/05/19
Thanks !Hi,
See this Scree shot
http://img517.imageshack.us/my.php?image=16324662pf7.jpg
Take the Substring Function From Text Functionsand mention the position from 0 to 10 to take the Date alone from the Whole String which is getting in Source Field.
And after that apply the Transform date Function fron Date Functions and mention the source date format and the target date foramt that needs to convert into.
REgards
Seshagiri -
How can I update data fields in a merged document ?
Hi,
I'm looking for a way to update the values of data fields in a merged document with a script just as you can do with the user interface.
I don't find any method like "updateDataFields ()" in the DataMerge object.
Si I try to invoke the menu action "Update Data Fields", but it fails. The script error message is: "Error 53762, the script is not active." On the contrary, the action works if I use the interface.
Can anyone help me?
Thanks in advance,
FredIsnard
PS : I work with CS5.5 and JavaScript.Hi!
You might be looking for this one:
DataMerge.mergeRecords (outputOversetReportFile: File )
Merges records and produces an optional overset report.
outputOversetReportFile: Data Type: File
The path to the file in which to store the overset report. (Optional)
Best regards,
Andreas -
Update Date field automatically
When a user is adding a new entry I want two of the fields in the table to be automatically updated without the user knowing (hidden fields), I want a current date and time to be entered into the Updated Date field and the :APP_USER to be entered into the Updated_by VARCHAR2 field.
How do I go about doing this can I just put code to do so into the source of ITEMS or do I have to create a process?
Thanks
sS,
Triggers are a good method, see this thread:
Re: Table Trigger Syntax
Jeff -
Permissions on Android AT200 removable SD card set to read only
Recently the removale SD card on my at200 has been set to read only for all but a few applications. This mean that when editing or trying to save, copy docs on the SD card I get the "not enough permissions" message. Any editing by these applications requires shifting files to onboard SD card and back again.
Toshiba file manager is able to rw OK, but my other file manager fails, as does ezy PDF.
Reading the attributes of the SD card show that it is set to rw for data.p (permissions XML). But looking at info from file manager shows sdcard directories and files set to dr- or -r-.
Is there some way of getting this changed to allow access for all my installed apps? Or even some?
Cheers
rabelMisterX,
Found this note from zc2 on the xda forum dealing with the same issue December 2011.
"The owners of Honeycomb-powered tablets experience a problem writing to the external SD card, because since v3.2 the permissions for the files there were changed from sdcard_rw to media_rw.
According the file /system/etc/permissions/platform.xml, any application with declared permission "android.permission.WRITE_MEDIA_STORAGE" should be included to that media_rw group.
But that won't happen.
I made a test application to show the group membership (it just executes the "id" command), and according to its output, the application is not member of the media_rw group, despite the "android.permission.WRITE_MEDIA_STORAGE" permission is mentioned in its manifest.xml"
This is somewhat confirmed by a comment returned to me from the AntTek File Explorer developers on an interum work around for this problem (a common one since 3.2)
"While waiting, the simple solution, if your device is rooted, is as follows:
1. Using AntTek File Explorer, active Native mode from application preference.
2. Navigate to /system/etc/permissions.
3. Open platform.xml and find the WRITE_EXTERNAL_STORAGE permission.
4. Add an additional group definition for this permission: <group gid="media_rw" />. It will grant AntTek Explorer (and other applications) permission to writing to removable SD Card. After edited, it will look like:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE">
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
5. Save the changes to the file.
6. Restart your tablet."
My tablet is not rooted so this was not available to me, but it appears this is a major issue for Honeycomb, including the version on the AT200. Is there any plans to fix this bug do you think? Or is there a date for the promised update to ICS for the AT200, another prime selling point.
Cheers -
User can't update time in Task grid; it's read-only
Project Server 2010.<o:p></o:p>
This started a couple of weeks ago for two different users. They suddenly were unable to update hours in the My Work/Tasks grid. They can still see the Planned hours per day, but can't enter
a value in the Actual field. The can also select a task and use the "Mark Complete" option.<o:p></o:p>
For one user, this happens for all dates prior to a certain date for all projects; for the other user, it's for all dates after a certain date but only some projects. I'm not aware of any changes
to these users' profiles in the past few weeks. All others are not
experiencing
this at all.
Any thoughts on what could be causing this?<o:p></o:p>I've determined this impacts every user if 7/20 is NOT the first date of the period shown on the Tasks page. If 7/20 falls anywhere in the middle of the display, 7/20 and every date following for that time period, is read-only. If 7/20 is the
first date in the displayed period, or if it is not included in the period at all, everything is OK.
While trying to find a cause/solution to this, I also happen to notice that under Server Settings, Time Reporting Periods, the last defined period ends on 7/19. Given the relationship to this date and the date that causes the problem above, it seems
it can't be a coincidence. However, we don't use timesheets, so my understanding is that Time Reporting Periods won't impact anything. Also, it wouldn't explain why you can move a period past 7/20 and everything is OK. -
How to set the read only property for dynamic ALV column
Hi All,
I have built one dynamiv ALV and I have one name column inside that ALV for which I have to set read only property based on two column fields that exist in the same ALV,say IS_SP and IS_CORP of type boolean.
If any one of the flag is 'X',i have to make that name column as display only and
If both flag are not set,it should be displayed as ediatable column.
I have written one method as INIT_ALV which gets called when ALV is loaded.
Code is as follows:
lr_column_settings ?= wd_this->alv_all_roles.
lt_columns = lr_column_settings->get_columns( ).
LOOP AT lt_columns INTO ls_column.
CASE ls_column-id.
WHEN <NAMECOLUMN>. "name column which should be editable/display
Create Input Field
CREATE OBJECT lr_uie_input_field_ro
EXPORTING
value_fieldname = ls_column-id.
ls_column-r_column->set_cell_editor( lr_uie_input_field_ro ).
After this,I have to set the read only property based on IS_SP and IS_CORP values,
CALL METHOD lr_uie_input_field_ro->set_read_only_fieldname
EXPORTING
*value = 'IS_SP' or 'IS_CORP'
ENDLOOP.
I dont want to use cell variants also.
Help me to achieve this.
Thanks and Regards,
DivyaDivya - I have done it in the past following these documents. Please read it and try it it will work.
Please read it in the following order since both are a continuation documents for the same purpose (it also contains how to change colors of row dynamically but I didnt do that part I just did the read_only part as your requirement)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71393
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0155eb5-b6ce-2b10-3195-d9704982d69b?quicklink=index&overridelayout=true
thanks!
Jason PV -
Changing sales employee on document set to read only
*Our customer has invoices set to read only for certain users. however they need these users to be able to change just one field - sales employee.*
*Is there anyway this can be achieved??
Edited by: Samantha Glanville on Oct 8, 2009 3:25 PMIf it set up as read only, there is no room for updating even only one field. Better leave this to other more powerful user to change. Otherwise, the read only setting would be overridden.
Thanks,
Gordon -
JDev 10.1.2: How to update an attribute which is rendered as read-only
Hello guys, I hope someone can help me with this, I think it should be something easy to do:
I have a UIX page which renders an input form to update a record, in this input form I want to display (as read-only) the user id which is performing the update, but I want the record to be updated with the user id. I have the user id available from another binding.
If I put the input box as editable the attribute is updated, but If I set it read-only it isn't.
Do you know how can I do this?
Thank you.Ok... I solved it, though I don't think this is the right way.
SOLUTION:
I inserted a formValue into the UIX page like this:
<formValue model="${bindings.AttributeToUpdate}"
value="${bindings.TheValue}"
name="VB_AttributeToUpdate" />The formValue name is very important and must start with VB_ followed by the name of the attribute to update. I figured out this by looking at the generated html code when I inserted the "AttributeToUpdate" as an editable inputtext, it uses the VB_ prefix and was the only way to get the attribute updated.
Thanks anyway, and if someone knows of another way to do this I'd like to know it.
Bye.
Mensaje editado por:
Fer Domin -
Query faild against database that is opened in read only mode
ORA-16000: database open for read-only access
Hi ,
I am quering against a database that been opened in read only mode (10g version)
SQL> select controlfile_type,open_mode,database_role from v$database;
CONTROLFILE_TYPE OPEN_MODE DATABASE_ROLE
STANDBY READ ONLY PHYSICAL STANDBY
Currently when selecting against this database
i am getting the following error:
SELECT PS_RF_PROVGRP_VW.SETID, PS_RF_PROVGRP_VW.PROVIDER_GRP_ID, PS_RF_PROVGRP_VW.NAME1,
PS_RF_PROVGRP_VW.STATUS, PS_RF_PROVGRP_VW.SYNCID, PS_RF_PROVGRP_VW.SYNCDTTM
FROM PS_RF_PROVGRP_VW
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-16000: database open for read-only access
The owner of the object is PSSYS and i am running the queries as user INFORMIX.
select owner,object_name,object_type from dba_objects where object_name ='PS_RF_PROVGRP_VW';
OWNER OBJECT_NAME OBJECT_TYPE
INFORMIX PS_RF_PROVGRP_VW SYNONYM
PSSYS PS_RF_PROVGRP_VW VIEW
User informix have "SELECT ANY TABLE" privilage
In the source database (e.g: not the cloning one) the queries results are returning susseccfully ,
and only in the clonning the database the problem exists.
Does someone have an idea what the problem could be ?
Thanks.Hi
Object can become invalid, if the underlying objects are dropped/invalidated.
So even if you create or validate the underlying objects these objects by themself do not become valid. You have to either make them valid or you should use it atleast one time as select/desc or any other query so that Oracle implicitly make it valid.
Your source datatabase has valid synonym because after dropping/creating you must have selected that synonym atleast one, but this selection procedure would be after you copied your data to the target database.
Regards -
Is ProPhoto.icm's permissions suppose to be set to Read Only in CS2/OS X?
I went rummaging around Application Support>Adobe>Color>Profiles and found ProPhoto.icm is set to Read Only as seen in the Get Info Window in CS2 OS 10.3.9.
All the other profiles in this folder are set to Read and Write as are the rest of the Colorsync profiles in the system. Colorsync Utility's Profile First Aid reports ProPhoto needs fixing reporting "Header white point is not D50". Of course it can't fix it because it reports it is locked.
Is there a reason it's locked or is this a repair permission issue?
The only way for me to make ProPhoto Read and Write is to drag a copy to the desktop and change it in the Get Info Window. It's grayed out when it's in the Application Support folder.
I'm using a third party RAW converter-(Raw Developer) with ProPhoto set as my output space and I'm wondering if this permission setting is causing it to randomly crash.Ok - I understand now, but I'm not able to duplicate this behavior. When I create a group web calendar that anyone can view but only group members can edit, clicking on a time block (to create a new event) opens a login window. I noted that while it does appear to create an event, but when I navigate away from, then back to the web calendar, that event is no longer there. Also, it doesn't show up in the 'Upcoming Events' sidebar on the Wiki's home page.
If I double-click on an existing event, the event opens as if it's going to allow me to edit it. But once I click the 'OK' button, a login window opens. Still, it seems as if I was able to edit the event...until I navigate away, then back to the web calendar page. Then all changes are gone. So it does give the illusion that events can be created/edited by non-group members.
By any chance, are you logged in as a non-group member when you try to create/edit a calendar event, and are these users included in the list of those that can create Wiki's in Server Admin?
BTW: I'm not using Sunbird. -
My shared files are all set as read only. How do I sort this out?
I am trying to set up our iMac and MacBook so that they share files.
In System Preferences/Sharing I have set the File sharing to ON, I have selected which folders are to be shared and I have set it so that everyone can read and write the files.
In the iMac files when you check various properties NONE are set as read only, however, when the files are access from the MacBook they are all READ ONLY.
What am I doing wrong and how do I sort this out so that I can access files from either computer and amend and save them without having to change file names?
Please help!!
KarlI have had similar problems and have given up trying to use the "everyone" user setting. Instead, to give shared access to a folder I add specific users and then set their access level. To add users to a folders sharing profile click on the [+] button at the bottom of the Users column.
-
Help. After updating my software my external disc is "read" only. How do I change it back to Read and Write?
ThanksHave you formatted it for Mac using Disk Utility?
If not, open Disk Utility (Applications>Utilities folder) and select the drive to the left. Make sure that you select "Mac OS Extended (Journaled)" and then the erase button.
If you have already formatted the drive, call back...
Clinton
Maybe you are looking for
-
HTML DB 10g installation problem on linux HTTP-503 ORA-604
I have a problem after the installation of HTML DB from the linux 10g R2 companion image. I installed HTML DB and HTTP server in one go, on an new system that only has the default orcl database installed. I run Red Hat enterprise linux on a x86_64 sy
-
When i press the calculate button it will calculate a price depending on the options chosen and show the results in an OptionDialog. I need help with the two buttons (New Quote and Close), I want it so that if i press New Quote it will return to the
-
Hello, Can you please suggest if it is possible to change mail title for a amended PO as 'Purchase Order Amendment' whenever a change is done to PO and then the output message is reprocessed?Any advice would be greatly appreciated.Thanks. Kind regard
-
Images Blurry on Printed Documentation Output
Hello everyone, With my current project, consisting of several linked Word documents, when I generate a printed documentation output the images (pdf or word) within the document are extremely blurry. The images are embedded within the Word docs, then
-
CS5 language pack? (language update?)
Hi dear users! I have a big problem! I installed CS5 Master Collection with all features enabled, but I didn't knew that the package doesn't have German language, so I have it now installed in English. Is there any possibility to update it to German