Dynamic action - Edit in place
Has anyone converted an edit-in-place jQuery plugin to an APEX plugin yet? Makes for a pretty cool UI pattern.
Thanks
http://apex-plugin.com/oracle-apex-plugins/item-plugin/jeditable-apex-item_190.html
OK I see a plugin that does this but it only supports page items. I was hoping to use it on a classic report region column. Any ideas? Thanks
Similar Messages
-
Is it possible in a before-page-submit dynamic action to cancel processing?
I have a page where when the user submits, I check certain conditions and prompt the user with a confirmation ("are you really sure you want to submit this...?") and if they press OK (javascript true) continue to submit as normal, else (javascript false) the page should stop submitting.
I know I can do this by putting Javascript code on whatever buttons I need to such that they're prompted from whatever appropriate button but I then thought it might be more elegant to just put it in one place in a before-page-submit DA.
So I figured that in my DA for a before-page-submit I'd try explicitly returning true or false thinking that I returned true it would continue to submit but if false it would stop submitting. Unfortunately no dice.
Example:
Dynamic Action
Before Page Submit
Condition (Javascript Expression): (this.data=="SAVE")||(this.data=="MULTI_ROW_DELETE")
var response=checkPbcDml();
alert(response); //for debugging and I do properly get true or false back
if(!response)
return(false);
else
return(true);So I'd like return(false) to stop the submission process (was only guessing that it'd work, and it doesn't). Is there any other javascript command that I could execute to cancel the submission processing?
Yes I know that I really can do this on my buttons and it'll work...
javascript:if(checkPbcDml())apex.confirm(htmldb_delete_message,'DELETE');
javascript:if(checkPbcDml())apex.submit('SAVE');...but was just hoping to do something in the DA as a matter of elegance to put code in one place rather than two places.
Edited by: gti_matt on Jun 14, 2012 10:30 AMtrent wrote:
Personally, I'd just try to utilise the confirm action - probably achieved by incorporating the checkPbcDml() function into the dynamic action condition, at the sime time you are checking the request value.Aha! That's it.
The "Confirm" DA action's OK/Cancel response is evaluated by the "Before Page Submit" and cancels the processing.
What I did was:
1. Looked at my old function's conditions:
function checkPbcDml()
if (($v('P265_FREEZE_FLAG')=='Y') && ($v('P265_PUR_MFG')=='M'))
return(true);
else
return(confirm("Part Bid Categories information will only be saved from this page for frozen &F182_MAKE_TEXT. parts.\nDo you want to continue with this action anyway?"));
}2. Appended them to the existing DA conditions that were evaluating the save or multi-row-delete request:
((this.data=="SAVE")||(this.data=="MULTI_ROW_DELETE")) && (!(($v('P265_FREEZE_FLAG')=='Y') && ($v('P265_PUR_MFG')=='M')))3. And created a Confirm action with that message text and removed my checkPbcDml() function. -
HR - Dynamic Actions help required
Hi,
We have a requirement like this:
Each Org unit is attached to a Work Address and the same is stored in Infotype 1028.
Whenever hiring action takes place the dynamic action should read the Infotype 1028 for the Org unit to which the employee is assigned and fetch the Work address details.
These details should be stored in Infotype 0006 under Work Address subtype.
Request your help as this is a very urgent requirement for us.
Title edited by: Alvaro Tejada Galindo on Jun 12, 2008 7:05 PMIn the dynamic actions, you can specify the name of a subroutine of a program.
Create a subroutine, and write code inside that -
Dynamic action on text box change does not working
i have a page with following components.
a report that has and edit link.
a text box to catch the primary key from report link when it is clicked
a number of elements (text boxes, check boxes and LOVs) which are used as data entry form.
Now my design is that user enter values save them and no sooner did they save, the report depicts new
values. if user want to edit any record, they click on edit link and the data entry form elements
should now bring all those values from DB on page. i m successful to pick primary key and bring
it in a hidden text box and wrote a dynamic action on its change event that will bring values from
DB and set all page elements. but but but.........the change event doesnt work. it only work
when focus is lost from the text box...!! offcourse user wont want to click in that "hiddent" text
box and then click some where else to bring values in page data entry form......
help is humbly requested from forum or if any other solution approach is to be used easier than
one i m using, would be appreciated.
thanks in advance for reading my bore question :)bundles of thanks for reply. i m going to elaborate.
1. My page no is 3.
2. Hidden Item name is P3_EDIT_ACTIVITY_ID
3. Data entry form, hidden item and the report are on the same page.
4. on the edit link of report, i have used following settings.
Target: Page in this application
Page: 3
and i set hidden item as follows......
Item 1 P3_EDIT_ACTIVITY_ID Value #ACTIVITY_ID#
well, when i click the link on report it does bring Activity_Id in the hidden box (which is not yet hidden for debugging purpose)
Next i wrote Dynamic action which fires on the change event of P3_EDIT_ACTIVITY_ID and run PL/SQL code with in it which is as follows
declare
Dept varchar(50);
begin
select my_dept into Dept from activity_main ACTIVITY_ID = :P3_EDIT_ACTIVITY_ID;
:P3_Dept := :Dept; (i did use :P3_Dept := Dept also but this wont work)
insert into testdynamic (stamp) values (Dept); (I did this to check whether correct value is brought from DB, yes it works correctly, correct Dept is being inserted in stamp column)
end;
i have created another true action to check when the dynamic action is fired. its very simple alert. and the problem is, it only fires when focus is lost from the P3_EDIT_ACTIVITY_ID. i mean, when u keep changing value inside the text box, nothing happens, when u go outside, the alert is fired and so the pl/sql procedure. but the line
:P3_Dept := :Dept; OR :P3_Dept := Dept; arent working which is the actual requirement.
I m not using set value here as i have to set a lot of values on page not one. further. plz let me get rid of this lost focus thing as i want the form to be populated with correct values related to P3_EDIT_ACTIVITY_ID as the user click on any edit_link in the report.
Thanks for persistence. i hope i have provided all the details.
looking forward. -
Dynamic action with interactive report region refresh
Hi!
I'm using APEX 4.02
I've got a page with 2 regions.
Region1 is a (input) form
Region2 is an interactive report on the same table as region 1
When entering values on the form I'm trying to dynmically lookup similar records in the table with the interactive report.
I've made a dynamic action on the change of the form fields which should refresh the interactive report region. I can see this one fires if I add a alert to debug if it fires.
The dynamic report is based on a query with bind variables pointing to the form fields, for example
where
field1 = :P2_FIELD1
This works great on the page load, so no dynamic action is fired but I can see the rows in the report region are the ones I am looking for.
But the refresh of the report region is not working, it is never refreshing and/or showing the correct data after a change of the form fields, so it looks like the dynamic action "refresh region" is not working on the interactive report.
Any ideas why this can go wrong ?
I would like to solve this using standard dynamic actions and preferrably not via PL/SQL or JS, shoudl be possible if I should believe the documentation... ;)
Cheers
Bas
Edited by: bklerk on 26-apr-2011 3:07Hi,
When you change value to item, I assume you do not set value to session state.
Use interactive report advanced attributes "Page Items to Submit" , set items session state before report is refreshed.
http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/app_comp.htm#sthref1235
Similar post/issue here
Hide and show region - hides on refresh
Regards,
Jari -
Dynamic action with set value on date field
Hi,
I'm using APEX 4.02
I'm trying to calculate the age based on the date of birth dynamically on a form. I'm trying to do this with a (advanced)dynamic action with set value.
I'm able to get this kind of action working based on a number field etc, but NEVER on a date field.
I've read all posts on this subject but so far no solution. Even if I try to simply copy the value over to another date field or typecast it to a string ( to_char function ) it does not work. So for me the problem seems to be in the source field being a date field.
I've tried using the source value as is in a select statement :
select :P33_GEBOORTEDATUM from dual;
and also type casted based on the date format :
select TO_DATE(:P33_GEBOORTEDATUM,'DD-MON-YYYY') from dual
but still no luck.
On the same form I don't have any issues as long as the calculation is based on number fields, but as soon as I start using dates all goes wrong.
Any suggestions would be greatly appreciated. If you need any extra info just let me know.
Cheers
Bas
b.t.w My application default date format is DD-MON-YYYY, maybe this has something to do with the issue .... ?
Edited by: user3338841 on 3-apr-2011 7:33Hi,
Create a dynamic action named "set age" with following values.
Event: Change
Selection Type: Item(s)
Item(s): P1_DATE_OF_BIRTH
Action: Set value
Fire on page load: TRUE
Set Type: PL/SQL Expression
PL/SQL Expression: ROUND( (SYSDATE - :P1_DATE_OF_BIRTH)/365.24,0)
Page items to submit: P1_DATE_OF_BIRTH
Selection Type: Item(s)
Item(s): P1_AGE
Regards,
Kartik Patel
http://patelkartik.blogspot.com/
http://apex.oracle.com/pls/apex/f?p=9904351712:1 -
Dynamic Action based on Interactive Report Select List Value
I'd like to perform a Dynamic Action when a user selects one of 3 options from a Select List within an Interactive Report:
select APEX_ITEM.SELECT_LIST(
p_idx => 3,
--p_value => deptno,
p_list_values => 'Copy;Copy,Delete;Delete,Export to PDF;Export to PDF',
--p_attributes => 'style="color:red;"',
p_show_null => 'YES',
p_null_value => NULL,
p_null_text => '--Select--',
--p_item_id => 'f03_#ROWNUM#',
p_item_id => 'P6_IR_SELECT_LIST',
p_item_label => 'Label for f03_#ROWNUM#',
p_show_extra => 'YES') "Actions"
from dual;
When building the Dynamic Action, I chose the following values from the Advanced wizard
Event: Select
Selection Type: DOM Object
DOM Object: P6_IR_SELECT_LIST
Condition: Equal to
Value: "Delete"
True Action: Execute Javascript Code: Alert('Here');
Doesn't seem to be firing...can anyone help?
Thanks in advance,
JohnHi,
I am not sure if the "equal to" condition applies to a DOM object... after all, a DOM object can be anything (any HTML element) not only a field.
Try using a javascript expression instead, like this:
$v('P6_IR_SELECT_LIST')=='Delete'UPDATE: Sorry, I just tested and "equal to" condition works for DOM objects... should have tested before posting!
Luis
Edited by: Luis Cabral on Feb 29, 2012 4:45 PM -
Smartform of a particular employee with dynamic actions
Hi All,
I am making an HR smartform - pulling data from infotypes - so I am using logical database pnp. Now Everytime I enter the personal number in the PNP screen, it gives me form with correct data of respective employee.
I want to club this smart form's driver program to a dynamic action, so the personal number would ne chosen dynamically. For that I believe we have to choose HR report category from program attributes of driver program as '0000003'.
If I do that and hardcode the employee number it do not takes it but it starts printing smartforms of all the employees - even if I keep the report category as 0000001, it asks for a personal number at runtime,n do not takes hardcoded value - The getpernr statment is not fetching up the data for that particular employee but it pulls data for all employees.
Please suggest how could I use the hard coded value of pernr to get the resp3ective data in the smartform. Do I have to create another report category - a new one? if so how?
If u have any sample code? Please share it.
Thanks
RibhuHi Suresh, I was just testing it by hardcoding, wheather it takes the pernr from places other than input box of the report category. Right.
Below is the code. If you want to know anything else, Please let me know.
Thanks
Ribhu
Here is the code:
REPORT ZHRtest.
tables : q0008, pa0001, pa0000, pa0002, pa0014, pa0021, pa0022, pa0008, pa0006, pernr, t500p,t530, t512t, t510, t526, t529t, t528t,
M_PLOMC, T7INA3, T7INB5, T7INB7, T518B.
infotypes : 0000, 0001, 0002, 0014, 0021, 0022, 0008, 0006, 0105, 9003.
data : E_DATE TYPE SY-DATUM, " Date
E_ORGUNIT TYPE ORGEH, " Organizational Unit
E_PERSNO TYPE P_PERNR, " Personnel Number
DATA : WS_UCOMM LIKE SY-UCOMM.
data: begin of pers_tab occurs 0,
E_SLAB1MIN TYPE PIN_MINBS,
E_SLAB1MAX TYPE PIN_MAXBS,
E_SLAB1INCR TYPE PIN_AMINC,
E_SLAB2MIN TYPE PIN_MINBS,
E_SLAB2MAX TYPE PIN_MAXBS,
E_SLAB2INCR TYPE PIN_AMINC,
end of pers_tab.
DATA: BEGIN OF WAGETYPES,
E_LGA LIKE P0008-LGA01,
E_BET LIKE P0008-BET01,
E_pernr like pernr-pernr,
END OF WAGETYPES.
data : E_lga like pa0008-lga01,
E_bet like pa0008-bet01.
data: count type i.
data : v_year(4) type c,
v_mon(2) type c,
v_date like sy-datum,
v_date1 like sy-datum.
data : v_formname type tdsfname ,
v_fmname type rs38l_fnam.
data: i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE.
DATA : WAGETYPES1 LIKE BAPIP0008P OCCURS 0 WITH HEADER LINE.
data: begin of temp_tab occurs 0 ,
t_minbs type PIN_MINBS,
t_maxbs type PIN_MAXBS,
t_aminc type PIN_AMINC,
end of temp_tab.
data: hr_pernr like p0000-pernr, " persno of hr emp
plans_hr like p0001-plans . " position text.
constants : c_x type c value 'X', " Sign
c_pernr(8) type n value '00000000', " Pernr
c_val1(2) type c value '31', " Date Type
c_val2(2) type c value '12', " Date Type
c_val like p0041-dar01 value '01', " Date Type
c_1 like pernr-persg value '1', " Emp Group
c_type like hrp1001-otype value ' ', " Object Type
c_date1 like sy-datum value '18000101', " Date
c_date2 like sy-datum value '99991231', " Date
r_all value 'X'.
selection-screen begin of block b2 with frame title text-001.
selection-screen begin of line.
parameter pdf radiobutton group smf.
selection-screen comment 5(20) text-002.
parameter prn radiobutton group smf.
selection-screen comment 40(20) text-003.
selection-screen end of line.
selection-screen skip 3.
selection-screen begin of line.
selection-screen comment 3(30) text-007.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 5(30) text-004.
parameter p1 radiobutton group pg.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 5(30) text-005.
parameter p2 radiobutton group pg.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 5(30) text-006.
parameter p3 radiobutton group pg.
selection-screen end of line.
Selection-screen end of block b2.
ws_ucomm = sy-ucomm.
*CLEAR PERNR.
*CLEAR PNPPERNR.
At selection-screen.
perform validate_screen.
start-of-selection.
perform get_period.
PERNR-PERNR = 27.<b> <<<<< ----- this is where i tried to hard code</b>
PNPPERNR-LOW = 27.
get pernr .
LOOP AT PERNR.
*IF PNPPERNR-LOW NE PERNR-PERNR.
*CLEAR PERNR.
*ELSE. EXIT.
*ENDIF.
*ENDLOOP.
**PNPPERNR-HIGH = ''.
E_PERSNO = PNPPERNR-LOW.
rp_provide_from_last p0000 space pnpbegda pnpendda.
rp_provide_from_last p0002 space pnpbegda pnpendda .
rp_provide_from_last p0021 space pnpbegda pnpendda.
rp_provide_from_last p0022 space pnpbegda pnpendda.
rp_provide_from_last p9003 space pnpbegda pnpendda.
describe table p0008 lines count.
describe table p0001 lines count.
PERFORM FORM_SELECTION changing P1 P2 P3."<----
To get the fathers name.
select FAVOR FANAM from pa0021 into corresponding fields of p0021 where pernr = E_PERSNO and FAMSA = '11'.
if sy-subrc = 0.
E_FIRSTNAME = P0021-FAVOR.
E_LASTNAME = P0021-FANAM.
endif.
endselect.
FORM validate_screen .
CLEAR PERNR. <b><<<<< ----- this is where i tried to hard code</b>
PERNR-PERNR = '00000027'.
PNPPERNR = '00000027'.
**PNPPERNR-HIGH = ''.
E_PERSNO = pnppernr-low.
p9003-pernr = 27.
*E_PERSNO = p9003-pernr.
pnppernr-low = E_PERSNO.
clear sy-index.
loop at pnppernr.
endloop.
if sy-index GT 1.
message 'Enter only one personal number' type 'E'.
endif.
if pnppernr-low is initial.
PNPPERNR-LOW = '27'.
message 'enter a personal number' type 'E'.
endif.
ENDFORM. " validate_screen -
Session Timeout and Dynamic Actions
Did anybody ever use the Session Timeout feature in APEX successfully?
I have set an idle session timeout and provided an url to redirect to once the session is expired: Home > Application Builder > Application nnn > Shared Components > Edit Security Attributes > Session Timeout
It works so far during the page rendering and page processing phase. But I have major problems with dynamic actions and custom ajax requests.
Dynamic actions will just hang and simply don't return. Even worse, when I execute the dynamic action once the session is expired, the session seems to be physically deleted and thus the next click on a tab will not redirect to the expiration page but go straight to the login page.
Did anybody make it work or is the best way to implement a custom session timeout?
Thanks,
Dietmar.Hi All,
Check out the Session Timeout plug-in available here:
http://skillbuilders.com/plugins
Let me know if that helps.
Regards,
Dan
blog: http://DanielMcghan.us/
work: http://SkillBuilders.com/APEX/ -
Disable only one radio button in a Radiogroup using Dynamic Actions.
Hello everyone,
I'm using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit with Application Express 4.1.1.00.23
I have a radio group which has 3 radio buttons. Now in certain situations I want only one of the radio buttons to be disabled.
I don't want to resort to Javascript for this as that would mean another piece of code that can go wrong and introduce bugs.
Is this possible using a Dynamic Action? Although DA is also JS, I feel its much easier to maintain.
Regards,
ArijitI know, you did ask for DA
Try to put this code in DA and run this code on page load
=-==========================================
var pOption = 3;
var nameArray = $('input[name=p_v01]').map(function(){
return this.getAttribute('value');
}).get();
for (i=0;i<nameArray.length;i++){
if(pOption == nameArray[i]){
$("#P2_CHECK1_"+i).attr("disabled", true);
==========================================
Plain Javascript
<script type ="text/javascript">
function disableCheckBox(pOption){
var nameArray = $('input[name=p_v01]').map(function(){
return this.getAttribute('value');
}).get();
for (i=0;i<nameArray.length;i++){
if(pOption == nameArray[i]){
$("#P2_CHECK1_"+i).attr("disabled", true);
$(document).ready(function(){
var chkOption = 3;
disableCheckBox(chkOption);
</script>
Thanks,
Ramesh P. -
Dynamic Action not triggering on Radio Group change
I have a form that contains a text item, a radio group item and a display-only item. I have created a single dynamic action "CHANGE SUBJECT" associated with both the text and radio group items that updates the display-only item's value whenever either is changed. The action fires properly when the text item is changed, but not when the radio group is changed. If I set the radio group item's "Page Action when Value Changed" property to "Redirect and Set Value", than everything works, but that is not the desired behavior as that requires a refresh of the entire page. Any suggestions on how to make this action work? Is there a different action for the radio-group that I should be using instead of CHANGE? Thanks for your help.
-Jeff
Edited by: jritschel on Sep 1, 2010 2:05 PMOK, then change it to JavaScript Expression instead of SQL and put this code in the value :
"Radio Group Value= "+ $v('P65_RADIO_GROUP')+" - Text Box Value= "+ $x('P65_TEXT').value I tried it and it work!
Sam
Update:
I tried the same code you had before (plsql Expression) but there is something that you need to do to make it work, in the TRUE action setting , there is a "Page Items to Submit" field, you need to put your text item and radio in it as follows:
Page Items to Submit : P65_RADIO_GROUP,P65_TEXTThis should make your code work in addition to the other way I provided.
Thanks,
Sam
Edited by: Sam_06 on Sep 1, 2010 2:27 PM -
Dynamic action on tabular form
Hi all,
I'm working on a page with a tabular form. Based on the value of a radio button group, some of the columns has to be hidden. I have some experience with dynamic actions, but not in conjunction with tabular forms. I guess I have to use a jquery expression, but that's another area I don't have any experience in...
Can someone help me or give me some directions? I'm on Apex 4.1
Tom
Edited by: Tom van der Duin on 22-okt-2011 12:02Hi there,
I am using Apex 4.0 and it seems to generate tabular forms like this:
<th id="START_DATE" class="header"> headings
<td headers="START_DATE" class="data" style=""> data cellsSo, you can use the Javascript code below to hide and show a column based on its name:
function hideShowTabularFormColumn(name, show){
if(show) {
$("td[headers='"+name+"']").show();
$("th.#"+name).show();
} else {
$("td[headers='"+name+"']").hide();
$("th.#"+name).hide();
onsomesortofevent="hideShowTabularFormColumn('START_DATE', false);"Note that, even hidden, the fields will still be submitted.
Luis -
Dynamic Action on DOM object not working
Thru a dynamic action I am executing PL/SQL Code that creates additional item using APEX_ITEM.CHECKBOX (see code on bottom). Thru another Dynamic action, I am trying to execute additional Java. I have it set to fire like this:
Event: Click
Type: DOM Object
DOM Object: document.forms[0].f11 (this matches the APEX_ITEM.checkbox fxx value)
Just trying a simple alert("hi"). doesn't work. Am I missing something?
DECLARE
l_hold_table_name varchar2(1000) := :P1223_HOLD_TABLE_NAME;
l_hold_html varchar2(32000) := '';
l_hold_session_state varchar2(32000) := '';
CURSOR get_columns IS
select b.column_heading, b.column_name
from dual
BEGIN
l_hold_html := '<DIV><TABLE border="2"><THEAD><TR><TH>' || l_hold_table_name ||
'</TH></TR></THEAD>';
FOR x in get_columns LOOP
l_hold_html := l_hold_html || '<TR><TD>' || APEX_ITEM.CHECKBOX(20,x.column_name,null) || x.column_heading || '</TD></TR>';
END LOOP;
l_hold_html := l_hold_html || '</TABLE><DIV>';
:P1223_HOLD_INNERHTML := l_hold_html;
END;Hi,
first your code in example does not compile.
CURSOR get_columns IS
select b.column_heading, b.column_name
from dual
There is a ; missing and even with that this query is not OK.
If you have a problem with DOM selector, then try jquery selector:
Event:Click
Selection Type: jQuery Selector
jQuery Selector: input:checkbox[name*='f11']
For testing I created a test page with one dynamic PLSQL region and following source:
DECLARE
l_hold_table_name varchar2(1000) := 'MYTABLE';
l_hold_html varchar2(32000) := '';
l_hold_session_state varchar2(32000) := '';
CURSOR get_columns IS
select
'My Checkbox' column_heading, 'a' column_name
from dual ;
BEGIN
l_hold_html := '<TABLE border="2"><THEAD><TR><TH>'
|| l_hold_table_name
|| '</TH></TR></THEAD>';
FOR x in get_columns LOOP
l_hold_html := l_hold_html ||
'<TR><TD>' ||
APEX_ITEM.CHECKBOX(20,x.column_name,null) ||
x.column_heading ||
'</TD></TR>';
END LOOP;
l_hold_html := l_hold_html || '</TABLE>';
htp.p( l_hold_html );
END;And Dynamic Action with properties as described above (only that in my case name of the checkbox is f20)
You can see working example here : http://apex.oracle.com/pls/apex/f?p=60428:4
Regards,
Aljaz
Edited by: Aljaz on 5.3.2012 22:36 -
Dynamic Action on tabular form: to auto set value for all changes rows
Hi All:
I am using APEX4.2.3 and I am not very familar with JQUERY or Javascript.
I am having a tabular form to support Update and Delete action. The tabular form has 4 columns:
Column A: ID (Number) : Read-only column
column B: Name (Varchar2) : Editable
Column C: Age (Number) : Editable
Column D: ChangeFlag (Varchar2) : Read-only column ==> however, I want this column been automatically upldated by my APEX application
Here is the requirement: First user update Column B, or C or both for # of rows; then user click "Save Change" button. For ALL updated rows, I need to automatically update Column D with below logic:
For a given row,
IF Column D IS NULL THEN
set value = 'M' -- M means modified
ELSE --- column D has a value already
IF last character of Column D is 'M', THEN
don't do anything;
ELSE
set value of D = existing value + 'M' (here + means concatenate
END IF;
END IF;
I thought this can be done by creating dynamic action on tabular form ... I have researched this on this forum and can't find a good match example ..
I know I can implement this using a DB trigger; however, I want to learn if this can be achived via Dynamic Action.
Thanks!
KevinHi Expert:
Anyone can offer any direction or help on this?
Thanks!
Kevin -
Dynamic action on button click
Hi:
I need some help.
I am trying to create a dynamic action on the click of a specific button.
I have set the Event to 'click" and the Selection Type to "DOM Object", but I do not know how to reference the button. I am using a standard template button and #BUTTON_ATTRIBUTES# is not included in the template - I am not sure how to include it in order to be able to specify an id for the button.
Can someone give me some guidance on the steps I msut take to implement a dynamic action on the click of a button.
Thanks.
BruceBruce,
edit your button template and add #BUTTON_ATTRIBUTES# to the button-tag of your button
e.g.
<button value="#LABEL#" onclick="#LINK#" class="button-gray" type="button" #BUTTON_ATTRIBUTES#>
<span>#LABEL#</span>
</button>
brgds,
Peter
Blog: http://www.oracle-and-apex.com
ApexLib: http://apexlib.oracleapex.info
BuilderPlugin: http://builderplugin.oracleapex.info
Work: http://www.click-click.at
Maybe you are looking for
-
Error message when I run the Web Dynpro Project
Dear friend, I had deploy & run project, but it's got the error message under the line: I had install NWDS V. 2.0.11 on my PC, but the project which I deployed was the version that I created by NWDS V. 2.0.9, and I had install new OS as XP Home inste
-
Adobe premiere Pro CC 2014.2 has stopped Working
Hey guys, I can start up my premiere pro CC 2014 but as soon as I choose a project to open, it loads for a second and then I keep getting the same error window that says: Adobe premiere Pro CC 2014.2 has stopped Working My computer: Processor: Intel
-
Is there a way to find out "dbm_user " in MAX DB?
Hi, Can someone tell me how to find the "dbm_user" name in MAX DB. I could find an option called 'user_getall' using 'dbmcli' but not sure how to use it. Please let me know the syntax to use it. Thanks.
-
How to stop auto-mount of server?
I am trying to troubleshoot an issue on a client's iMac that I am providing tech support for. It was originally configured by another IT person who is now unable to be contacted. The iMac seems to have some sort of auto-mount in operation that period
-
CFC Generator doesn't create anything?
Ok, this is baffeling me! We have Coldfusion Builder installed as a plugin to FlashBuilder. I have the CFC generator extension installed. When I right-click on a table in my RDS view and select "Create CFC" It prompts me for a location. Location rela