Dynamic Action on item not working in APEX 4.2.1
Created Dynamic action on item(Radio based on LOV) to show/ hide other items (event is Change). But its not working. I mean nothing happening onchange ..
Based on the Radio item value "a" (Y/N) i am showing or hiding items b and c. All these items are in same region.
Output seen : By default all the items are displayed and no action on changing the value of the radio item a.
Similar Messages
-
IRR dynamic action filter does not work when condition set.
Hi All
I've set up a filter on an Interactive report using a dynamic action. The fiilter is used to display records that expire within a term ( example 30,60,90 days.) The dynamic action is set to fire On Change. This all works fine as long as I do not set the report condition to only display when P1_DAYS is not null.
I am using a report template that includes #REGION_STATIC_ID# as referenced in this post -
http://anthonyrayner.blogspot.com/2010/07/report-filtering-with-apex-40-dynamic.html
I hoped not to display a blank report region .. wait until after the user selects the "term" before displaying the results. Any workaround suggestions would be appreciated.
Version -
Application Express 4.0.1.00.03
Thanks
MOKindly check the following link for reference.
sample configuration link
http://www.cisco.com/c/en/us/td/docs/wireless/controller/5700/software/release/3se/security/configuration_guide/b_sec_3se_5700_cg/b_sec_1501_3850_cg_chapter_01110.html
http://www.cisco.com/c/en/us/td/docs/wireless/controller/7-0/configuration/guide/c70/c70intf.html
Trouble shooting link
http://www.cisco.com/c/en/us/support/docs/security/secure-access-control-system/113485-acs5x-tshoot.html -
Oracle dbms.set_role does not work in APEX application
Hi, in our j2ee applications, we use secure application role. Basically, the data source use the app user schema to connect to the database. the app user only has create session privileges. the database logon trigger will copy a set of attribute to the local secure context. (ip address, session user, client id, application name). The applications explicitly invoke the stored procedure sec_mgr.set_role before any DMLs are executed.
the sec_mgr.set_role will check the local context attribute , authorize the ip, application name, and set an appreciated role to this session based on session user.
we want to apply the same framework to the APEX application. First, we change the paring schema to the app schema which only has create session privilege. then we put the plsql code in which sec_mgr.set_role is called in the application builder --> shared components ---> edit security attribute ---> Virtual Private Database (VPD).
however, we got the error ORA-06565: cannot execute SET ROLE from within stored procedure
the sec_mgr.set_role is defined as invoker's right(AUTHID CURRENT_USER)
do i missing something in APEX to get it work?
ThanksPlease explain it does not work in APEX? Is the application updating tables that have a trigger? APEX does NOT override trigger actions. Is it possible the values your trigger is looking for are NOT available in your APEX application? Can you post the trigger code here for review?
Thank you,
Tony Miller
Webster, TX
What if you really were stalking a paranoid schizophrenic... Would they know?
If this question is answered, please mark the thread as closed and assign points where earned.. -
Select count(*) not working in Apex
Hello,
The following sql works in both SQL*Plus and Toad but not in apex. The variable seems always to be 0 no matter what data I have on the table.
Basically I try to flip the status from "Inactive" to "Active" only when there is no "Inactive" status left on the table. Say there are 2 inactive statuses.
If I delete one inactive status, the overall status should still be "Inactive". However, with this code, it flips to "Active" status regardless.
I tried manually assign the variable to 1 and the status was not flipped. Therefore, it sounds to me that the count(*) is not working in APEX.
Does anyone experience this before?
Thanks in advance,
Ning
===================================
DECLARE
v_status_count NUMBER;
BEGIN
UPDATE LGR_APP_STATUSES
SET DELETED = 'Y'
WHERE LGR_APP_STATUS_ID = :P42_LGR_APP_STATUS_ID;
commit;
select count(LGR_STATUS_ID) into v_status_count from LGR_APP_STATUSES
where DELETED = 'N'
and LGR_APPLICATION_ID = :p42_application_id
and LGR_STATUS_ID in (3,8);
IF (v_status_count = 0) THEN
update lgr_applications
set lgr_application_status = 'ACTIVE'
where LGR_APPLICATION_ID = :P42_LGR_APPLICATION_ID;
commit;
END IF;
END;Hi,
In query you have used p42_application_id.
Other statements use P42_LGR_APP_STATUS_ID
Do you have that item? What is session state for that?
Regards,
Jari -
I can't get the original disk to work on a reinstall. I get the message
AdobeColorCommonSetRGB
Error:
Error 2.
I teach a class using this program on Macintosh computers running 10.9.5 and the action script is not working. It will work on any program designed using the 10.8 but if you design any animation on 10.9.5 the action script will not work for the buttonsYou would have to manually delete the color profiles in question... Run the cleaner tool and see if it gets you started.
http://www.adobe.com/support/contact/cscleanertool.html
Mylenium -
File Upload Action Button are not working
Hi ,
In the File Upload Process when the processor are open change request there are Action Buttons Approve/Reject ,
When the CR Processor are Click on either Approve or Reject these two Action Button are not working (means its not show any activity) , while rest of all action button like save,close check , Run validation are working ...
While Processor has authorization to Approve/Reject that CR ...Hello Nikhilesh
These buttons are dependent upon the workflow steps. Check that. Check the linkage for workflow. Check SWI6 - CR number and the step. Based on the step you can identify whether the proper step is assigned or not.
Thanks
Kiran -
Authentication function not working in APEX but works in pl/sql
Greetings, Jim here.
I have written a very simple authentication funtion which uses the dbms_ldap package to authenticate using the userid and password from the login page.
I've tested this function thru pl/sql and it returns true and false accordingly.
I've created a custom authentication schema and in the authentication function I have return myfunction;
The problem is, when called thru APEX, it appears to always return true and lets the login proceed, even if the password is correct. I know its using the function due to the fact that if I enter a bogus function as the authentication function, APEX spits up a message saying so.
So, I know the function works, but I don't know why it does not work with APEX. Posting function below.
CREATE OR REPLACE FUNCTION ODBS.CUSTAPEXLOGIN (p_username IN VARCHAR2,p_password IN VARCHAR2)
RETURN BOOLEAN AS
retval PLS_INTEGER;
emp_session DBMS_LDAP.session;
ldap_host VARCHAR2(256);
ldap_port VARCHAR2(256);
ldap_user VARCHAR2(256);
ldap_passwd VARCHAR2(256);
ldap_base VARCHAR2(256);
BEGIN
ldap_host := 'oraldap';
ldap_port := '389';
ldap_user := p_username;
ldap_passwd := p_password;
ldap_base := 'cn=users,dc=company,dc=com';
emp_session := DBMS_LDAP.init(ldap_host,ldap_port);
retval := DBMS_LDAP.simple_bind_s(emp_session,('cn=' || ldap_user || ',' || ldap_base),ldap_passwd);
if retval = 0 then
return true;
else
return false;
end if;
EXCEPTION
WHEN OTHERS THEN
begin
if sqlcode = -31202 then
return false;
end if;
end;
END;
/Hi Jim,
Can you clarify this -
The problem is, when called thru APEX, it appears to always return true and lets the login >proceed, even if the password is correctThat implies you're saying your authentication function ALWAYS returns true? Is that correct? Also 'even if the password is correct' doesn't read correctly to me, did you mean 'even if the password is incorrect'?
You then say -
now the function works, but I don't know why it does not work with APEX.So by 'does not work' you mean in APEX it is always returning true therefore allowing you to login regardless of the username/password you use? Is that correct? -
PS5 Action Keyboard Shortcuts Not Working
PS5 Action Keyboard Shortcuts Not Working -- Running 10.6.7 on a Mac Pro. Any suggestions?
I've tried restarting, changing key combinations, etc. Nothing works and I'm wasting time using my mouse...
Any help is greatly appreciated.I had this problem too but using Windows 7. I tried resetting, renaming the shortcuts, swearing loudly, none of it worked. I found out it was a totally unrelated program, Xfinity Protection Suite, that was the culprit. My virus protection program added it as an 'upgrade.' AFter I uninstalled it everything was back to normal. Have you installed anything new onto your computer lately that could be interfering?
-
Hi.......
Switching from one theme to another theme is not working in apex 4.2..............
Thanx in advanceHi!
Same problem.
Upgraded from 4.1 -> 4.2.
Change theme from slightly modified Green theme (in mine case 101 is number and original was 11, One level Tabs) to Theme 25 Blue Responsive.
Login page for instance doesn have "Login Region" for instance (not in LOV). And all pages are softly said strange.
All have DISPLAY problem described on "http://1.bp.blogspot.com/-GzseTk6Lpes/UHvJkg9GulI/AAAAAAAAHRQ/Wt406GGZADQ/s640/Screen+Shot+2012-10-15+at+10.25.29.png", but without many parts that Dmitri describe.
Rg
Damir -
Dynamic drill link is not working when i substitute some parameters in Plus
Hi Gurus,
Dynamic drill link is not working when i substitute some parameters in Discoverer plus(Tools--->Manage Links--->Edit links--->Parameters options), when i substitute some parameters it working when i click on drill value the link is popping up to go another worksheet.For some parameters link is not popping up. Could you please give any ideas.
Thanks & Regards
VikramHi Vikram
Oh gosh, me and my big mouth!
Patch 5381032 has two references to issues with links. You might want to discuss your scenario with Oracle and ask them if this patch would resolve your issue.
Another solution would be to upgrade to 10.1.2.2 (available as a patch on MetaLink) which has most of the fixes from all of the patches applied. Again I would advise you speak with Oracle Support as they are the only one who can actually confirm whether this particular issue was fixed in this release.
Are you by any chance seeing zero numbers display as 00 and are you seeing any graying out of icons? If so, then patch 5345595 (sometimes referred to as 5345528) fixes this and is a good patch to apply if you haven't already done so.
All of these patches require a password which can only be obtained from Oracle by raising a service request to Support and stating the issues that you have.
Hope this helps
Regards
Michael -
Gmail in Safari - it's menu items not working or on and off
Ned Hamson here: Down loaded the neat ap and here is what if found:
Don't have a clue what leadertech is? Gmail in Safari - it's menu items not working or on and off.
[failed] com.leadertech.PowerRegister.LGT2.c59807af95d106639fca8f10676ced62.plist
Hardware Information:
MacBook (13-inch, Mid 2009)
MacBook - model: MacBook5,2
1 2.13 GHz Intel Core 2 Duo CPU: 2 cores
2 GB RAM
Video Information:
NVIDIA GeForce 9400M - VRAM: 256 MB
System Software:
OS X 10.9.2 (13C1021) - Uptime: 0 days 5:31:41
Disk Information:
FUJITSU MHZ2160BH FFS G1 disk0 : (160.04 GB)
EFI (disk0s1) <not mounted>: 209.7 MB
Maggie (disk0s2) / [Startup]: 159.18 GB (128.13 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
MATSHITADVD-R UJ867A
USB Information:
Micron Built-in iSight
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Computer, Inc. IR Receiver
Logitech USB Receiver
Thunderbolt Information:
Gatekeeper:
Mac App Store and identified developers
Problem System Launch Agents:
[running] com.paragon.NTFS.notify.plist Support
Launch Daemons:
[loaded] com.adobe.fpsaud.plist Support
[loaded] com.genieoinnovation.macextension.client.plist Support
[loaded] com.google.keystone.daemon.plist Support
[loaded] com.oracle.java.Helper-Tool.plist Support
Launch Agents:
[loaded] com.google.keystone.agent.plist Support
[loaded] com.oracle.java.Java-Updater.plist Support
[loaded] com.paragon.updater.plist Support
User Launch Agents:
[loaded] com.adobe.ARM.[...].plist Support
[loaded] com.citrixonline.GoToMeeting.G2MUpdate.plist Support
[running] com.google.Chrome.framework.plist Support
[failed] com.leadertech.PowerRegister.LGT2.c59807af95d106639fca8f10676ced62.plist Support
[not loaded] com.spotify.webhelper.plist Support
User Login Items:
iTunesHelper
SpeechSynthesisServer
Dropbox
AdobeResourceSynchronizer
FriendFeed
Opera
EvernoteHelper
Internet Plug-ins:
FlashPlayer-10.6: Version: 13.0.0.206 - SDK 10.6 Support
Default Browser: Version: 537 - SDK 10.9
AdobePDFViewerNPAPI: Version: 11.0.06 - SDK 10.6 Support
AdobePDFViewer: Version: 11.0.06 - SDK 10.6 Support
Flash Player: Version: 13.0.0.206 - SDK 10.6 Support
o1dbrowserplugin: Version: 5.3.1.18536 Support
QuickTime Plugin: Version: 7.7.3
nplastpass: Version: 2.0.25 Support
googletalkbrowserplugin: Version: 5.3.1.18536 Support
DirectorShockwave: Version: 12.1.0r150 - SDK 10.6 Support
JavaAppletPlugin: Version: Java 7 Update 55 Check version
Safari Extensions:
LastPass: Version: 3.1.21
AddThis: Version: 1.7
Evernote Web Clipper: Version: 6.1
TypePad Blog It: Version: 1.0
XKit 7: Version: 7.4.2
Keeeb : Version: 1.2.17
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 2.0 - SDK 10.9
AppleAVBAudio: Version: 203.2 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
iTunes Plug-ins:
Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
User Internet Plug-ins:
WebEx64: Version: 1.0 - SDK 10.5 Support
CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 Support
Picasa: Version: 1.0 - SDK 10.4 Support
Google Earth Web Plug-in: Version: 7.1 Support
3rd Party Preference Panes:
Flash Player Support
Java Support
Paragon NTFS for Mac ® OS X Support
Xmarks for Safari Support
Time Machine:
Skip System Files: NO
Mobile backups: OFF
Auto backup: NO - Auto backup turned off
Volumes being backed up:
Maggie: Disk size: 148.25 GB Disk used: 28.92 GB
Destinations:
Seagate Expansion Drive [Local] (Last used)
Total size: 2
Total number of backups: 8
Oldest backup: 2014-02-28 01:27:57 +0000
Last backup: 2014-05-04 20:43:07 +0000
Size of backup disk: Excellent
Backup size 2 > (Disk size 148.25 GB X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
Top Processes by CPU:
3% WindowServer
2% mdworker
0% systemstatsd
0% mds_stores
0% mds
Top Processes by Memory:
90 MB Opera
35 MB Finder
33 MB FriendFeed
23 MB Opera Helper
23 MB CVMCompiler
Virtual Memory Information:
34 MB Free RAM
566 MB Active RAM
544 MB Inactive RAM
305 MB Wired RAM
3.58 GB Page-ins
63 MB Page-outs
<Re-Titled By Host>Hi..
[loaded] com.genieoinnovation.macextension.client.plist
You have inadvertently installed malware (Genieo)
Help here > The Safe Mac » Search Results » genieo
As for the Safari Gmail menu items not working ..
It may be one or more of your Safari extensions:
Safari Extensions:
LastPass: Version: 3.1.21
AddThis: Version: 1.7
Evernote Web Clipper: Version: 6.1
TypePad Blog It: Version: 1.0
XKit 7: Version: 7.4.2
Keeeb : Version: 1.2.17
From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall. -
Interactive Reports not working with APEX listener
Hi,
I have posted this question APEX listener forum couple of weeks ago but very few responses.
If any one from here can help then it would be great.
Interactive Reports not working with APEX listener
Best Regards,
BaigSorry for late response.
It was a firewall issue -
Dynamic Action on Item Value Change with AjaxRequest not working
Hello,
I have a select list of users called P222_USERS. When a new user is selected, I want to run a Query to find the email for the new user selected and stick it in text field P222_EMAIL.
I have an On Demand process on the change of P222_USERS that calls a javascript function:
fetchEmail($('#P222_USERS').val());
In my header, the function calls an Application Process in an Ajax request:
function fetchEmail(email){
var ajaxRequest = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=GET_EMAIL', 0);
ajaxRequest.add('P222_USERS', $('#P222_USERS').val());
ajaxResult = ajaxRequest.get();
Here is my On Demand PLSQL Process GET_EMAIL:
begin
select email into :P222_EMAIL from login where userid = :P222_USERS;
end;
The email is not getting populated into :P222_EMAIL. I know i'm close, but have already spent a bunch of time with various alternates to the above function/on demand process. Any help is greatly appreciated. I wish the PL/SQL process on the item change worked in this manner instead of going through AJAX.
Thank you,
JohnnyJohnny98 wrote:
Hello,
I have a select list of users called P222_USERS. When a new user is selected, I want to run a Query to find the email for the new user selected and stick it in text field P222_EMAIL.
I have an On Demand process on the change of P222_USERS that calls a javascript function:
fetchEmail($('#P222_USERS').val());
In my header, the function calls an Application Process in an Ajax request:
function fetchEmail(email){
var ajaxRequest = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=GET_EMAIL', 0);
ajaxRequest.add('P222_USERS', $('#P222_USERS').val());
ajaxResult = ajaxRequest.get();
Here is my On Demand PLSQL Process GET_EMAIL:
begin
select email into :P222_EMAIL from login where userid = :P222_USERS;
end;
The email is not getting populated into :P222_EMAIL. I know i'm close, but have already spent a bunch of time with various alternates to the above function/on demand process. Any help is greatly appreciated. I wish the PL/SQL process on the item change worked in this manner instead of going through AJAX.
Thank you,
JohnnyThe fact is that your application process sets the items value in the session state and not populate the value on client/browser side
So you need to return the value from on demand process and assign the value in javascript like this
function fetchEmail(email){
var ajaxRequest = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=GET_EMAIL', 0);
ajaxRequest.add('P222_USERS', $('#P222_USERS').val());
ajaxResult = ajaxRequest.get();
//newly added
alert(ajaxResult);
$s('P222_EMAIL',ajaxResult);
//amend your On Demand PLSQL Process GET_EMAIL like this
begin
select email into :P222_EMAIL from login where userid = :P222_USERS;
//newly added
htp.prn(:P222_EMAIL);
end;This way the value will be set into session state and client side as well -
How to make dynamic actions using Set Value work in all browsers?
I’m having a cross-browser incompatibility issue with dynamic actions using Set Value. The dynamic action works like a charm on Chrome but has no effect on either IE or Firefox. The code in oracle.apex.com and here are the credentials:
Workspace: DDBA
Username: [email protected]
Password: redtruck12
These code is on page 3 and here are the details:
There are two report lists (Standard and Special) and some of the reports require additional information supplied in either select lists or text boxes.
If the user selects a Standard report requiring a select list/text box, then the dynamic action sets the value of Special Reports to NULL (and vice-versa).
The dynamic action is to prevent a simultaneous selection of both the Standard and Special reports. To see how it works on Chrome, do this:
Run Page 3
Select the ‘Report for Search Criteria’ option from the Standard Report list. A ‘Search Criteria’ text box appears
Select the ‘Report by Release’ option from the Special Reports list. A select list appears and the ‘Search Criteria’ text box disappears.
If you do the same things on IE or Firefox, the text box does not disappear.Hi,
Things are going wrong with setting the item values to NULL. If you check your session state, you'll see that in chrome your items values indeed will be set to null, but in firefox they won't.
Also I've noticed that you don't reset the other input fields, so their values persist in the session state. Since you submit your page every time you change one of the report select lists, this might lead to unexpected behaviour. Lastly, I've noticed you use a sql exists expression to manage the display/hide of your page items. A condition of type "Value of expression 1 = expression 2" causes less overhead as you don't need to switch to the db sql engine for every item to validate.
I'd suggest you rethink your specs and try to create:
- One dynamic action (since a value of standard select excludes the value of special select, and vice versa)
- Set the values for hidden items to null, also in session state
- Use a refresh of region as extra event in your dynamic action, instead of submitting your page for every change.
Regards,
Vincent
http://vincentdeelen.blogspot.com -
SkillBuilders Modal Page is not working in Apex 4.2
Hi All,
I am trying to set up an example in apex.oracle.com of an application developed in Apex 4.1 and the SkillBuilders Modal Page plug-in is not working.
To show this situation, I created a simplified version of the application, with only two pages, in apex.oracle.com.
Workspace: EDIAZJORGE
Username: TEST
Password: test123
Application: 66464 - Modal Page Sample
When Page 3 loads, a Dynamic Action is executed to open Page 2 (Interactive Report) as a modal page, but it is not working (the modal page does not open).
Please notice that this is working in Apex 4.1, and the Embed in Frames property in my application is set to Allow.
I appreciate any help.
Thanks,
Erick
Edited by: ediazjorge on Jan 30, 2013 3:20 PM
Bump!Erick,
This is due to a change that was made to the Dynamic Actions framework in 4.2. The workaround for now is to change your event to resource load on the DOM window object.
It's working now. In the next release of the plug-in you'll be able to go back to the Page Load (ready) event.
Regards,
Dan
blog: http://DanielMcghan.us/
work: http://SkillBuilders.com/APEX/
Maybe you are looking for
-
Dear SAP Gurus, Depot sales Scenario: 1. Sales order in depot: Sales doc type ZDEP. 2. Release P.R 3. Create S.T.O: Doc type ZPPO 4. Create replenishment delivery 5. Proforma invoice. 6. Goods receipt at depot: MIGO 7. Delivery to customer from depot
-
Passing a Path string results in mangled name
So I have a script that I made that takes a bunch of PDFs from a folder, and puts the resulting PDF into DropBox's Public folder. So, the DropBox path is ~/ericdannewitz/Dropbox/Public/JulieanneMartin/ and the file name would be JuileAnne Martin - 08
-
Missing Links (IDCS2 to CS4-MAC)
Hello all, I know that this has been discussed earlier in details (http://forums.adobe.com/message/3007065#3007065) but I am curious to know if anybody has got way out for this. We are moving all our CS2 covers to CS4 and as for the known issue as so
-
Purchased Mountain Lion but can't access.
I purchased Mountain Lion, received two emails, copied the password into the space provided in one of the emails but when I went to access the PDF I was taken back to my original email. Never received a disc as I did with Snow Leopard so don't know
-
How do I subscribe to Adobe PDF pack without automatic renewal?
How do I subscribe to Adobe PDF Pack for one year only without automatic renewal?