Help! Toggle point update-measure the Apex 5 tabular
Hi all the guru.
I previously put in place this in apex 4.0 but now we migrated to 5.0.2 apex and it's functionality does not work (at the console errors)
implementation of high level hollow walk
a. I have a tabular report, all columns are read-only, except for one which is update-able.
b the value of condition/State in the other column this editable column will be enable or disabled
c. dynamic action on the charge to function so that call the following javascript function.
disableItems('f12', 'Y', 'f04')
<script language="JavaScript" type="text/javascript"> function disableItems(checkcolumn, columnvalue, disablecolumn) { var f1 = document.getElementsByName(checkcolumn); var f2 = document.getElementsByName(disablecolumn); var k; if (f1) { for (k = 0; k < f1.length; k++) { if (f1[k].value !== "") { f2[k].disabled = true; f2[k].style.backgroundColor = 'silver'; } } } } function enableItems(column) { var x = document.getElementsByName(column); var k; if (x) { for (k = 0; k < x.length; k++) { x[k].disabled= false; x[k].style.backgroundColor = 'white'; } } } </script> <meta content="30" http-equiv="refresh">
PS: I have activate WHAT JS legacy support under themes.
Error I get on console is less than
Uncaught Condition must be function or Boolean literaldisableItems @ legacy.min.js?v=5.0.2.00.07:1apex.da.gEventList.actionList.javascriptFunction @ f?p=104:132:5120642144112::::::361da.doAction @ desktop.min.js?v=5.0.2.00.07:17da.doActions @ desktop.min.js?v=5.0.2.00.07:17(anonymous function) @ desktop.min.js?v=5.0.2.00.07:17n.extend.each @ jquery-2.1.3.min.js?v=5.0.2.00.07:2n.fn.n.each @ jquery-2.1.3.min.js?v=5.0.2.00.07:2da.actions @ desktop.min.js?v=5.0.2.00.07:17(anonymous function) @ desktop.min.js?v=5.0.2.00.07:17n.extend.each @ jquery-2.1.3.min.js?v=5.0.2.00.07:2n.fn.n.each @ jquery-2.1.3.min.js?v=5.0.2.00.07:2da.init @ desktop.min.js?v=5.0.2.00.07:17(anonymous function) @ f?p=104:132:5120642144112::::::400(anonymous function) @ f?p=104:132:5120642144112::::::400j @ jquery-2.1.3.min.js?v=5.0.2.00.07:2k.fireWith @ jquery-2.1.3.min.js?v=5.0.2.00.07:2n.extend.ready @ jquery-2.1.3.min.js?v=5.0.2.00.07:2I @ jquery-2.1.3.min.js?v=5.0.2.00.07:2
Kindly help me with this problem.
Thanks for your time and input in advance.
I want to disable the COMM column if the WORK = CLERK
I did the following,
In the Classes of CCS in the WORK column, I put: job
Then, I created a DA:
IDENTIFICATION
Name: IS_CLERK
WHEN
event: change
selection type: jQuery Selector
JQuery selector: .job
Condition: equal to
Value: "CLERK"
REAL ACTIONS
Action: Execute the JavaScript Code
fires when the result of the event is: true
Code: disableItems('f03','Y','f07')
It does not work. What's wrong?
Tags: Database
Similar Questions
-
ORA-01465 number hexadecimal invalid on an update of the Apex form
Hello
I get the above error when everything I do is adding data of normal text to a form that is to include a file upload, but the error does not occur when I download a file. It happens when I add data to a text box in which is of type varchar2, not when I download a file. It is in the Apex 4.2.4
If I just enter a text string, the data are updated without error, but the text box is varchar2 (4000) so I don't understand why I get this error. Below is the data entry is successful - no error message, the data is refreshed.
Help on what to look at to find the cause of this error would be appreciated.
Pat
Hello
My report and the form was built using Apex tool wizards. By the process of elimination, I realized that the error came from the "Show only" field I had put on the form for one of the file download I don't want the user to change. So I rebuilt the form/report, so the interactive report shows just the displayable downloads (downloaded previously) by other users and the form only shows the appropriate field to download new files. I have no more errors.
Thanks to all for the replies!
Pat
-
Insert/update of the lines in tabular form from one table to another table
Hello
I'm having a tabular presentation for a table (equip_test) with 2 columns (equip_id, equip_name). I create a new
Button (submit_alt) in this tabular form. I need to insert or update lines that are changed in this table to form
another table (equip_staging) when you press the submit_alt button. How can I do this? How can I identify which lines are
Insert or update? The process of the page I am trying since this button is
But it does not work. Help, pleasebegin FOR i in 1..APEX_APPLICATION.G_F01.count LOOP insert into equip_staging values(APEX_APPLICATION.G_F02(i),APEX_APPLICATION.G_F03(i)); END LOOP; end;
Thank you
TJUnchecking (does not) the column is a problem. Use this SQL instead (which is included in my examples):
SELECT empno, empno || apex_item.hidden (33, wwv_flow_item.md5 (ename, sal, job)) empno_display, ename, sal, job FROM emp
and join this column hidden from your display column. In this way, it should work. When you feel there is no data found message in the treatment in a table, it will mean that the id does not exist.
Denes Kubicek
------------------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
------------------------------------------------------------------------------ -
A table updated outside of the Apex are visible in the Apex?
Hi all
I want to insert into a table from the command line prompt, is it possible to see the update on the same table in my APEX application?
I tried, but it doesn't look like I have, is there something wrong or some tweak I need to do?
If the table is updated within the APEX, I could see it from the CMD. But not the other way around.
My system:
Windows 7
Apex 5
Oracle 12 c 12.1.0.2.0
Thank you.
948287 wrote:
Please update your forum profile with a recognizable username instead of "948287": Video tutorial how to change username available
I want to insert into a table from the command line prompt, is it possible to see the update on the same table in my APEX application?
I tried, but it doesn't look like I have, is there something wrong or some tweak I need to do?
If the table is updated within the APEX, I could see it from the CMD. But not the other way around.
Of course. You are
commit
ting external transactions before trying to view it in APEX? Explicit commits should not by their SUMMIT as at least a validation will be performed internally for each cycle to view/submit page. -
Install the APEX 3.0.1 on RDBMS 11 GR 2
Hi all
I was wondering if it is possible to install version 3.0.1 on oracle database version-11.2.0.3 APEX?
We currently have a database 10g with APEX 3.0.1 installed. We must now upgrade project
to install the latest version of the database. Unfortunately, we do not have enough time to migrate the
Application of the APEX. This is why the APEX version should stay the same.
If someone experiences with APEX 3.0.1 and RDBMS 11.2?
(I searched the oracle documentation, but could not find anything useful.)
Thank you
JoeJoe,
(1) the minimum version of the APEX, which can be used with GR 11, 2 DB is APEX 3.2.1. I know that this is not documented anywhere, but he had made 11 GR 2-specific problems so this SUMMIT could work in DB 11 GR 2. This minimum version is 3.2.1 APEX.
(2) I don't think that there is a way you can avoid the update of the APEX. When you upgrade your version of the database, the DBUA will focus on what version of APEX you. And if the latest version is less than 3.2,1 APEX, APEX and then will be upgraded as well.
My opinion - and it's probably not what you want to hear, but if you can't avoid the upgrade of the APEX, then you can consider as well the upgrade from 4.1.1 APEX before the DB Upgrade (to avoid too much change at the same time).
I hope this helps.
Joel
-
Hidden item (ID) in the apex report
Hi guys!
I need your help with a report of the apex (with editable elements).
History:
I have a table where I want to change the values by a report of the apex (via textfields).
SELECT b_id, - pk
b_1 columns to b_31 are modifiable values (text fields) and I want to be able to update on a single value as an element hidden in my report.
b_c_id, - category
b_u_id,-user
b_mmyyyy,-the month and year
B_1, - monthly day including the value to change in the report
b_2,
b_3,
...
b_29,
b_30,
b_31
BOOKING
The update process will be similar to:
DECLARE
I'm not able to get this value HTMLDB_APPLICATION.g_f32 (i); to be considered as a value hidden on my screen. It is possible at all?
BEGIN
BECAUSE me in 1... HTMLDB_APPLICATION.g_f01. COUNTY
LOOP
update of booking
Set b_1 = HTMLDB_APPLICATION.g_f01 (i),
b_2 = HTMLDB_APPLICATION.g_f02 (i),
b_3 = HTMLDB_APPLICATION.g_f03 (i),
b_4 = HTMLDB_APPLICATION.g_f04 (i),
b_5 = HTMLDB_APPLICATION.g_f05 (i),
b_6 = HTMLDB_APPLICATION.g_f06 (i),
b_7 = HTMLDB_APPLICATION.g_f07 (i),
b_8 = HTMLDB_APPLICATION.g_f08 (i),
b_9 = HTMLDB_APPLICATION.g_f09 (i),
...
b_29 = HTMLDB_APPLICATION.g_f29 (i),
b_30 = HTMLDB_APPLICATION.g_f30 (i),
b_31 = HTMLDB_APPLICATION.g_f31 (i)
where b_id = HTMLDB_APPLICATION.g_f32 (i);
For example: when I put the value ' display as ' to 'Hidden' and then the items do not appear on the screen. (Home page > Application Builder > application 100 > Page 1 > report of the attributes > column attributes > element in a table > displayed as)
Any suggestion?
Thanks in advance,
TobiasTobias,
The name of the package is "apex_item" not "apex_items" - remove the "s" and it should be ok
Andy
-
help to try to simplify the form table, based on the collection using dynamic measurements
Hi everyone, I have tried cleaning and simplify an application designed in 2008 apex 3.2. We have improved in 4.1.2 and want to take advantage of our understanding of the apex and the dynamic measures to simplify a large part of our code, get rid of the redundancies and make it easier for the programmer to debug and improve next.
The application is for traders and commercial fishermen and currently has around 4100 users.
The part that I'm trying to simplify is a tabular report, based on a collection. Almost all areas in this tabular form has a logic linked to it... and in most cases, it is superfluous in that it executes a UPDATE_MEMBER on the collection. I would like to remove as much of javascript and additional processes as possible. I'm also still very new to jQuery and javascript, and faced with the two... but competent in pl/sql.
tabular query is:
{code}
SELECT
seq_id,apex_item. Text (1, seq_id, "," "id ="f01_"| seq_id,",")"DeleteRow. "
apex_item.text_from_LOV (C004, 'SPECIES'). » -'|| apex_item.text_from_LOV (C005, 'RANK') | » -'|| apex_item.text_from_LOV (C006, 'MARKETCODE') | » -'|| Unit apex_item.text_from_LOV_query (c007, 'select unit_of_measure d, unit_of_measure r species_qc'),
apex_item.select_list_from_LOV (6, c008, "STOP," onchange = "getAllDisposition('||) seq_id. "" ")" ',' YES, '0', "- Select favorite -", ' f06_ ' | seq_id, cm) available.
apex_item.select_list_from_LOV (7, c009, style of ' GEAR, "=" background-color: #FBEC5D;) "onFocus ="checkGearPreviousFocus('||). " seq_id |') ; "OnChange ="getAllGears('|| seq_id ||). " "" ")" ',' YES, 'f07_', "- Select favorite -", "3333" | seq_id, cm) Gear,.
apex_item. Text (8, TO_NUMBER (c010), 5, null, "onchange ="setTotal('||)) seq_id. ")" «, » f08_'|| seq_id, cm) quantity.
apex_item. Text (9, TO_NUMBER (c011), 5, null, "onchange ="getPriceBoundaries('||)) seq_id. ")" «, » f09_'|| seq_id, cm) price.
apex_item. Text (10, TO_NUMBER (c012), 5, null, "onchange ="changePrice)
('| seq_id |') "onKeyDown = selectDollarsFocus('||) "(seq_id |', event);" ',' f10_'| "" seq_id, cm) $,.Decode (c013, 'Y', apex_item.text (11, c014, 30, null, "style =" background-color: #FBEC5D;)) ' onClick = 'onFocusAreaFished('|| seq_id||'); "',' f11_'. seq_id, cm), "n","N/A") Area_Fished, "
Decode (c017, 'Y', apex_item.text (12, c018, 4, null, "style =" background-color: #FBEC5D;)) "onBlur ="setUnitQuantity('||). " seq_id. ")" «, » f12_'|| seq_id, cm), "n","N/A") UNIT_QUANTITY, "
Decode (c017, 'Y', apex_item.text (13, 'CN', 3, null, "readOnly = readOnly; ',' f13_'|")) seq_id, cm), "n","N/A") UNIT_COUNT, "
Decode (c050, 'Y', apex_item.checkbox (14, 'Y','id = "f14_" | seq_id |')) "style =" background-color: #FBEC5D; " onClick = "alterYes('|| seq_id||');" "onKeyPress = alterYes('||) (("(seq_id |');" ', c021), "n", "S/o") FinsAttached,.
decode (c050, 'Y', apex_item.checkbox (15, ', "id ="f15_"|")) seq_id |' "style =" "background-color: #FBEC5D;" onClick = "alterNo('||)" seq_id |') ; "onKeyPress = alterNo('||) (("(seq_id |');" ', c022), "n", "S/o") FinsNotAttached,.
Decode (c050, 'Y', apex_item.checkbox (16, 'U','id = "f16_" | seq_id |')) "style =" "background-color: #FBEC5D;" onClick = "alterUnk('||)" seq_id |') ; "onKeyPress = alterUnk('||) (("(seq_id |');" ', c023), "n", "S/o") FinsUnknown,.
Decode (c050, 'Y', apex_item.textarea (17, c028, 3, null, "onchange ="setExplanation('||))) seq_id. ")" «, » f17_'|| seq_id, cm), "n","N/A") explanation, "
Decode (c024,' no, apex_item.select_list_from_LOV (18, c029, 'HMSNATURE','onchange = 'saveNature('||))) seq_id. ")" ',' YES, ' one ', "- Select Nature of sales -", "f18_" | seq_id, cm), 'U', apex_item.select_list_from_LOV (18, c029, 'HMSNATURE','onchange = "saveNature('||)) seq_id. ")" ',' YES, ' one ', "- Select Nature of sales -", "f18_" | seq_id, cm), 'Y', 'N/a') Nature_Of_Sale,.
decode (c020, 'Y',
apex_item.select_list_from_LOV (40, c040, 'HMS_AREA_CODE',
"style =" background-color: #FBEC5D;
"onchange ="saveHMSAREA('||). " seq_id |', this.value) "',' f40_'|" seq_id, cm),
(' N N/A ',' ') HMS_AREA_CODE;C020, c050,
decode (c020, 'Y',
apex_item. Text (41, TO_NUMBER (c041), 5, null, "onchange ="setSalePrice('||)) seq_id |', this.value) "',' f41_'|" seq_id, cm),
(' N n/a ',' ') Sale_Priceof apex_collections
where collection_name = 'SPECIES_COLLECTION' order by desc seq_id{code}
I am slow at first and just try to replace the ONCHANGE for apex_item 41 (retail price). I hope that finally replace all the onblur/onchange to use the same dynamic action.
The ONCHANGE for apex_item 41 is currently:
{code}
function setSalePrice (pRow, savePrice)
{
get var = new htmldb_Get (null, & APP_ID., 'APPLICATION_PROCESS is saveSalePrice', 0);
Get.Add ('SETVALUE3', savePrice);
Get.Add('ATTRNBR3','41');
Get.Add ('SEQUENCEID', Prow);
gResult = get.get ();
}
{code}
the saveSalePrice application process is:
{code}
Start
apex_collection.update_member_attribute (p_collection_name = > 'SPECIES_COLLECTION',)
p_seq = >: SEQUENCEID.
p_attr_number = >: ATTRNBR3,.
p_attr_value = >: SETVALUE3);
end;
{code}
I created two new hidden fields: P110_ID and P110_VALUE.
I created a dynamic action: CHANGE COLUMN
event: change
selection type: jQuery Selector
jQuery Selector: input [name = "f41"]
real action 1 - records P110_ID with javascript expression: this.triggeringElement.id
real action 2 - P110_VALUE value with javascript expression: this.triggeringElement.value
true action 3 - run pl/sql code
{code}
declare
number of v_member;
number of v_seq;Start
v_member: = TO_NUMBER (SUBSTR (: p110_id, 2, 2));
Select ltrim (substr(:p110_ID,5,4),'0 ') in the double v_seq;safis_collections.update_column (v_seq,
v_member,
(: p110_value);
end;{code}, where safis_collections.update_column is a package of db
{code}
Procedure update_column ()v_seq in varchar2
v_attr in number ,
v_value in VARCHAR2 )
is
Start
apex_collection . update_member_attribute()p_collection_name=> 'SPECIES_COLLECTION'
p_seq = > v_seq ,
p_attr_number = > v_attr ,
p_attr_value = > v_value );
apex_debug . message ()'put a day of column.seq ='| v_seq || 'attribute =' || v_attr || "with" || v_value );
end ;
{code}
real action 4 - refreshment area
I modified the query in a table to reference apex_item 41 to be
Decode(C020,'Y',apex_item.) Text (41, TO_NUMBER (c041), 5, null), 'No,' N/a ') Sale_Price in the hope that it would fire the dynamic action. I get the below error. The value of P110_ID is null, the value of P110_VALUE seems to be correctly set.
call returned Ajax Server ora error-sequence of 20103:member does not work
There are in the collection 'SPECIES_COLLECTIO' application to run PL/SQL codeI appreciate all thoughts/help on this.
Thank you, Karen
AHHA. change the query to
Decode (c050, 'Y', apex_item.textarea (28, c028, 3, null, null,,'f28_'| seq_id, cm), ' n ',' n/d "") explanation,.
and that did the trick. On the next item.
-
Since a recent issue of app updates on my iPad a applications - Gummy Drop mini disappeared and there seems to be no update in my update of the applications list or I can delete. I tried a reset nothing helps. What can I do? Thank you very much. Steve.
Not quite sure what "disappeared" means. You can try to remove and re - download.
-
Question
I have another type of problem with Firefox
Description
Window "Ready to Install" Firefox "Software Update" appeared. The folder "C:\Program Files\Mozilla Firefox\updates\0" contained the files update.mar, update.status and update.version. Each of the 3 files have been deleted. The next time that Firefox has been started, no update occurred because update files were missing. In the Menu bar, clicking Help showed in the menu drop-down that "apply downloaded update now" was always on the list. By clicking on "Apply downloaded update now" open "Software Update" window "Ready to install update", so that Firefox still considers that the update files exist, but they do not. In the window "Software Update", by clicking on "Restart Firefox" restart of Firefox, but once again it there's no update, and remains "apply downloaded update now" on the Help menu. How can "Apply downloaded update now" be replaced by "Check for Updates" so the update files can be downloaded?
Version of Firefox
3.6.3
Operating system
Windows XP
User Agent
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; RV:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Plugins installed
- npmnqmp - 989898989877
- NP-mswmp
- Adobe PDF plugin for Firefox and Netscape "9.3.2.
- Default plugin
- Foxit Reader plugin for Firefox and Netscape
- Shockwave Flash 10.0 r45
- Version 1.0.3 copyright 1996-2009 The VideoLAN Teamhttp: / /www.videolan.org/
You can manually reset the software update feature by closing Firefox and remove the file "updates" (which seems you have done) and the two files "active - update.xml" and "updates.xml" - these are in the installation (C:\Program Files\Mozilla Firefox) directory or in the profile folder (C:\Documents and Settings\nom_utilisateur\Application Data\Mozilla\Firefox\Profiles\something.default).
If it does not, see our KB article How to resolve the failure of the update of Firefox update error message - the section of 'last resort' can be useful, or or read this article from MozillaZine KB, software update.
Please let us know how the above work, and if we can be of further assistance.
-
I just ran the last update for my iPad and now it just continuously reboots to the black screen with the Apple Logo. I left plugged in all night and still no change. Hard restarting does not help, neither do not connect the unit to aMacBookPro. When I do this, iTunes complains that it can not connect because the iPad 'expires '. Now it is disconnected, but I can't turn it off. Even close the lid will not extinguish it. Any ideas?
Try the following. It seems yo may have to let the battery drain is completely:
- iOS: do not respond or does not light
-Also try DFU mode recovery mode post-test
How to put iPod touch / iPhone in DFU "Karthik doodles."
-If failed and that you cannot completely turn completely the iOS device, leave the battery to drain completely. After loading a hour repeat the foregoing.
-Try a different cable
-Try on another computer
S ' there is still not successful that usually indicates a hardware problem and an appointment at an Apple store Genius Bar is in order.
-
Please help I'm looking for the dowload 10.10 update my dads computer and I can not find it! Does anyone know where could it have?
10.10 is no longer available unless you had previously downloaded. In this case, it would be in the purchase of the Mac App Store section. Its not available for direct plus download.
You can directly update 10.11 El Capitan.
-
After the last update of the operating system and iMovie it seems I can't create a movie in the PAL standard. Can anyone help?
NTSC and PAL are analog standards and don't apply to the share or export settings in iMovie.
It creates the same FPS and dimensions as your source file.
What you trying to create?
-
Measure the distance between 2 points of glare
Hello
Does anyone know how to measure the distance between 2 points (attached Image) glare. The image shows 10 sets of points of glare. I appreciate if you can guide me to process the image and produce the algorithm to detect the 10 sets of points of glare and measure the distance from each game.
Thank you
Farid
Check if this will do
-
Please help me understand how to install updates with the following error Message
The following updates were not installed:
Security for Microsoft XP KB 2289162 update
See the section "How to get help" of http://support.microsoft.com/kb/2289162
For individuals, please visit the Microsoft Solution Center and antivirus security for resources and tools to keep your PC safe and healthy. If you have problems with the installation of the update itself, visit the Microsoft Update Support for resources and tools to keep your PC updated with the latest updates.
Buying to meet problems installing Microsoft security updates also can visit the following page for assistance: https://consumersecuritysupport.microsoft.com/
~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft
-
Right. I read the other posts and do not know if it's the same or not, but...
Update Windows page fails to load - no error message
antivirus and another updater with update in the URL cannot purely and simply, or don't load - no error message
any attempt to download anything from microsoft download site fails to load - no error messageI got stardock, not my colors, uninstalled
same result.
any ideas?
CLM-NSWG4,
It seems to me that you can have to deal with a virus\malware infection. You can watch these threads discuss virus problems and see if you are able to detect problems, that I suggest you use an online scanner (if you are able to) and scan your system.Windows Live OneCare Safety Scanner Windows 7\Vista
Windows Live OneCare Safety Scanner Windows XP
Can I clean an already infected computer?
If you need more help then read: what to post in the Windows Update forum
Mike - Engineer Support Microsoft Answers
Visit our Microsoft answers feedback Forum and let us know what you think.
Maybe you are looking for
-
How can I customize action keys?
I'm working on a G62 - 320CA who has five actions keys on the left side (mail, media, web browser, print and Calculator). How can I customize these? They do not open programs. Thank you Shane.
-
The Amazon "who bought this item also bought...". "feature has stopped working for me recently, I have however noticed that if I click on the arrow to move the forthcoming proposals and open my all in one sidebar suggestions next load URL of affected
-
PXI 2576 - all switches can be converted simultaneously
Switches all (or several) in a converted Bank simultaneously? As shown below
-
Cannot print from the site Microsoft Learning with my Kodak all-in-One printer
Yes, I use an all in one Kodak printer that seems to work correctly. However, while I am online on the Microsoft Learning site and try printing the glossary of words in the definitions, it seems that the learning site does not allow me to print the
-
All downloads stop before they finish! Need help now!
On every internet browser all stop downloads before they are completed. For example on youtube videos start to load then stop and never play, and all the files I download just stops right up until they are doing but still say they download at the sam