Help, please. Make a dynamic action
Hi all
How can I make a page click Dynamics? Example: In an event calendar application, when someone clicks on the menu drop down and select a type of event, the calendar should refresh without the person needing to click on submit.
I tried selecting the "scope of the event" to be dynamic, but that has not changed anything.
Help, please.
Sincerely,
Delphine Renaud
create a dynamic action on the basis of
action-> change
separated by a comma to name point item1 (list), eventselect list (item2)
Tags: Database
Similar Questions
-
Dynamic action on the fields of forms in table form
Hello guys.
That I can see on the form fields in a table, I can't perform dynamic actions. What I want is to have an element of the selection list when in the change event, it changes the values for all the records in the report. For example if I have 40 records in this tabular form and I change the value of 'Open' to ' near the field called State, I want to see this change (status value of 'Open' close ') all rows in this tabular presentation. Is this sensible?
Thank you very much, Bernardo.
Hello Bernardo.
There are several ways to accomplish what you want.
-You can create a PL/SQL procedure to manage an update on all the rows according to the value of the value of your column. I wrote once a blog that can help you with that:
http://vincentdeelen.blogspot.nl/2013/06/custom-multi-row-processing-using.html
-You can create a dynamic action with javascript or jQuery to handle the change event.
The first option is more secure because it is managed by the database, the second is more simple and example adjustable all the entire column for all rows displayed, without the need to refresh your tabular presentation, or your entire page. For course work, you should however have little validation at the end of the database. I also think that it is not possible to set the values of the rows that are not displayed, which would again require some PL/SQL for handling.
If you need help setting up the dynamic action, please set up an example on apex.oracle.com.
Kind regards
Vincent
-
Confirm the dynamic action does not not as expected in the APEX 4.2.5
This looks like a bug in APEX 4.2.5. I have a page with a "Cancel" button that redirects to another page. There is a dynamic action that fires on the button with a confirmation action and the text ' are you sure? However, if the user selects OK or cancel in the confirmation dialog box makes no difference - the redirect is always performed.
I found this question after the migration of a page that worked to 4.1.1-to-4.2.5.00.88 APEX and were also able to replicate on apex.oracle.com here:
https://Apex.Oracle.com/pls/Apex/f?p=19896:2
(Press the Cancel button in the top right of the page redirects to page 1, regardless of the user's response to confirm the popup.)
I don't need someone to suggest the alternative code, I know how to build my own confirmation processing. I want to just raise this as a bug as possible and see if there is a solution to make the dynamic action works as it should.
NB I found this in the patch notes for 4.2.5.00.88 on a fix for a similar problem:
15984978
Dynamic action front-Submit with a confirmation message does not
Hi Tony,.
I think the problem is that the action of the button is defined as 'Redirect page in this Application', but it must always be "defined by the dynamic Action" as soon as you have set dynamic actions 'click' to a button. Normally, which is automatically changed as soon as you create your first dynamic action of a button, and I just confirmed by creating a test button in your application that has been defined as «Redirect...» ». After that I created a dynamic action the action of the button is set to "defined by the dynamic Action.
Is it possible that you have modified the action of the back button to «Reorient...» » ? The question why «redirect...» "does not work, it's that we cannot guarantee in what order the browser will process click on events defined with onclick in the tag button itself and those events attached as a click event handlers. This is why it is necessary that everything is defined as dynamic actions. Only in this case you will be able to cancel the treatment.
Concerning
Patrick
Member of the APEX development team
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf
Post edited by: Patrick Wolf
-
APEX dynamic action - how to hide an element after the loading of the page
Hello
I have a form with the element Type, lesson and page. I want to create a dynamic as action ' on page load "If Type = x don't then see the lesson and the elements of the page. .
How can I know if Type = x don't see the lesson and the page. It does not show them.
Please note the dynamic, action = Page load event
Thank you
Try adding
When the Condition "Javascript expression."
Value: $v ('P1_TYPE') == 'x')
-
With the help of JavaScript condition in the dynamic action of JQuery selector
Hi guys,.
I have a Setup master detail on a page.
The detail section, I have a tabular presentation. One of the fields is a selection list. The first record in the select contains the value * not * that has a value of primary key for the 1. I have a distinct region with a simple text field where the user can insert a value into the table if the value does not exist.
I want than the region of text element to only appear if the value * not listed * is selected.
I managed to make it work when the value is selected with the help of dynamic action with a bit of JQuery and JavaScript by setting the ID on the selection list to 'create' and have the following in JavaScript $(this.triggeringElement) .val ()! = 1 in the JavaScript for dynamic action condition shows it or hides the region of 'create' and that works well.
However, if the secondary table is empty before the detail records were created (nothing selected in triggering jQuery Selector) the region of create is displayed when I don't want it.
I guess I need some sort of NVL in JavaScript condition?
I use APEX v4.2.
Any advice would be appreciated.
Chris
Cashy wrote:
I have a Setup master detail on a page.
The detail section, I have a tabular presentation. One of the fields is a selection list. The first record in the select contains the value * not * that has a value of primary key for the 1. I have a distinct region with a simple text field where the user can insert a value into the table if the value does not exist.
I want than the region of text element to only appear if the value * not listed * is selected.
I managed to make it work when the value is selected with the help of dynamic action with a bit of JQuery and JavaScript by setting the ID on the selection list to 'create' and have the following in JavaScript $(this.triggeringElement) .val ()! = 1 in the JavaScript for dynamic action condition shows it or hides the region of 'create' and that works well.
However, if the secondary table is empty before the detail records were created (nothing selected in triggering jQuery Selector) the region of create is displayed when I don't want it.
I guess I need some sort of NVL in JavaScript condition?
I use APEX v4.2.
Simple solution is to hide the region containing the element of text by default, using the style = "" view: no ' in the property of the attributes of the area in the region. " It will be always hidden when the page initially, but its visibility will be controlled by the DA subsequently.
-
helps with the update of tabular form using dynamic Action
Hello world
I'm trying to simplify a tabular presentation based on a collection so that it uses more dynamic actions that will be ultimately more easy for us to debug.
Our tabular presentation is based on the query:
SELECT apex_item.text(1,seq_id,'','','id="f01_'||seq_id,'','') "DeleteRow", seq_id, seq_id display_seq_id, c003, c004, c005, c006, apex_item.text_from_LOV(c004,'SPECIES')||'-'||apex_item.text_from_LOV(c005,'GRADE')||'-'||apex_item.text_from_LOV(c006,'MARKETCODE')||'-'||apex_item.text_from_LOV_query(c007,'select unit_of_measure d, unit_of_measure r from species_qc') unit, apex_item.select_list_from_LOV(8,c008,'DISPOSITIONS','onchange="getAllDisposition('||seq_id||')"','YES','0',' -- Select Favorite -- ','f08_'||seq_id,'') Disposition, apex_item.select_list_from_LOV(9,c009,'GEARS','style="background-color:#FBEC5D; "onFocus="checkGearPreviousFocus('||seq_id||');"onchange="getAllGears('||seq_id||')"','YES','3333','-- Select Favorite --','f09_'||seq_id,'') Gear, apex_item.text(10,TO_NUMBER(c010),5,null, 'onchange="setTotal('||seq_id||')"','f10_'||seq_id,'') Quantity, apex_item.text(11,TO_NUMBER(c011),5,null,'onchange="getPriceBoundaries('||seq_id||')"','f11_'||seq_id,'') Price, apex_item.text(12, TO_NUMBER(c012),5,null, 'onchange="changePrice ('||seq_id||')" onKeyDown="selectDollarsFocus('||seq_id||',event);"','f12_'||seq_id,'') Dollars, decode(c013,'Y',apex_item.text(14, c014,30,null,'style="background-color:#FBEC5D;" onClick="onFocusAreaFished('||seq_id||');"','f14_'||seq_id,''),'N','N/A') Area_Fished, c014, c015, c016, c017 additional_measure_flag, decode(c017,'Y',apex_item.text(18, c018,4,null,'style="background-color:#FBEC5D; "onBlur="setUnitQuantity('||seq_id||')"','f18_'||seq_id,''),'N','N/A') UNIT_QUANTITY, decode(c017,'Y',apex_item.text(19,'CN',3,null,'readOnly=readOnly;','f19_'||seq_id,''),'N','N/A') UNIT_COUNT, c024 fins_attached, apex_item.textarea(28,c028,3,null,'class="hms_info"','f28_'||seq_id,'') Explanation, decode(c024,'N',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','class="hms_info"''onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'U',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'Y','N/A') Nature_Of_Sale, c030, c031, c032, c033, c034, c035, c036, c037, c038, c039, apex_item.select_list_from_LOV(40,c040,'HMS_AREA_CODE','style="background-color:#FBEC5D;" class="hms_info" ',null,null,null,'f40_'||seq_id,'') HMS_AREA_CODE, c020 hms_flag, apex_item.text(41,TO_NUMBER(c041),5,null, 'class="hms_info"','f41_'||seq_id,'') Sale_Price, c042, c043, c044, c050 shark_flag from apex_collections where collection_name = 'SPECIES_COLLECTION' order by seq_id
Note that many of the fields referenced are c0xx... and really serve as place holders so that the c0xx = fxx. It's awkward, like every time that a movement or move a column, it upsets the fxx value. So, I tried to use the CLASS if possible.
I have a dynamic action that had worked perfectly, until I moved one of the columns... and now, it seems not to work when I'm trying to update anything with the HMS_INFO or SHARK_INFO class. Grrr.
dynamic action: CHANGE COLUMN
event: CHANGE
selection type: JQUERY SELECTOR
jQuery selector: input [name = 'f10'], input [name = 'f11'], input [name = 'f12'], input [name = "f24"], textarea [name = "f28"], select [name = "f40"], input [name = "f41"]
true action1: defined value, expression javascript, set P110_ID = this.triggeringElement.id
true action2: defined value, expression javascript, set P110_VALUE = this.triggeringElement.value
true action3: run pl/sql,.
declare v_attr number; v_seq number; begin v_attr := TO_NUMBER (SUBSTR (:p110_id, 2, 2)); select ltrim(substr(:p110_ID,5,4),'0') into v_seq from dual; safis_collections.update_column(v_seq, v_attr, :p110_value); end;
the safis_collections.update_column package is:
procedure update_column(v_seq in varchar2, v_attr in number, v_value in varchar2) is begin 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('updated column. seq='||v_seq||' attribute='||v_attr||' with '||v_value); end;
I wonder if there is a way to make the CLASS in my JQUERY SELECTOR, so something like reference entry [class = "HMS_INFO"], input [CLASS = "shark_info"]... and if so, what happens if a single item in the class is an option button and the other is a selection list and the other an element?
is it possible to not have to rely on the fxx. Currently, my collection columns map to the investment in the form of tables... sense, c024 = f24... because I placed c024 to be the 24th editable column, but this seems crazy. Is there a simpler way? I'm just learning class, then maybe there is something extra, or rather that I could use...
any help is appreciated. Thank you!
I think I have solved the problem.
dynamic action: CHANGE COLUMN
event: CHANGE
selection type: JQUERY SELECTOR
jQuery selector: input [name = 'f10'], input [name = 'f11'], input [name = 'f12'], .shark_info, .hms_info
true action1: defined value, expression javascript, set P110_ID = this.triggeringElement.id P110_VALUE POINT KEYS
true action2: run pl/sql code
begin null; end;
items to submit page: P110_ID
true action3: defined value, expression javascript, set P110_VALUE = this.triggeringElement.value P110_VALUE POINT KEYS
true Action4: value: PL/SQL expression, the value P110_SEQ = rtrim (substr(:P110_ID,5,4),'0 ') CONCERNED POINT: P110_SEQ
true Action5: run pl/sql code
declare v_attr number; begin v_attr := TO_NUMBER (SUBSTR (:P110_id, 2, 2)); apex_collection.update_member_attribute (p_collection_name => 'SPECIES_COLLECTION', p_seq => :P110_SEQ, p_attr_number => v_attr, p_attr_value => :P110_VALUE); end;
items to submit page: P110_ID, P110_VALUE, P110_SEQ
true action6: refreshment area
I think it is the combination of the use of pl/sql expression to calculate P110_SEQ and also your tip on TRUE ACTION2 to submit the item that did the trick.
Thanks Kofi, for your patience and help! It was great.
Ugh... on the next issue.
Karen
-
Help with dynamic action and the selection list item
G ' Day Apex gurus.
I have problems trying to achieve to trigger the Help window from an element automatically select. A Help window is triggered when it is clicked on the label of an item, but my customer wants to be triguered automatically as soon as the user clicks to view the options in the select list.
I think I should be able to do with dynamic actions but I can't function.
I know when someone clicks on the label of the item selection list trigger this JavaScript
JavaScript:popupFieldHelp('277938589795252851','1545903379570909')
So I want to trigger the javascript also when the user click on the item selection list and pull down the options and for that I think that the dynamic action is the way to go, but I can't do things.
That's what I have to do:
I created a dynamic option as follows:
Name: test
Sequence: 30
Even: click
Selection type: product (s)
Article (s): P1_RATING <-a selection list item
Condtion: - no requirement.
Real Actions
Sequence: 10
Action: Run the JavaScript Code
Fires when the result of the event is: true
Fire on loading the page: checked
Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')
Thank you anyone who can tell me what I'm doing wrong here or bring a solution to my problem to trigger the Help window from an element automatically select.
Kind regards
CarlosHi Carlos,
I've set up a test case of exactly in the same way and it worked fine for me. I've created a page element called P1_DA_DEMO and added some values of the static selection list, then added a help text. I used the settings are lower, I suggest you try again, but also make sure that you have no other Javascript errors on the page. Use a tool like firebug to check.
Name: Action Dynamics demo
Sequence: 10
Even: click
Selection type: product (s)
Product (s): P1_DA_DEMO<- a="" selection="" list="">->
Condtion: - no requirement.Real Actions
Sequence: 10
Action: Run the JavaScript Code
Fires when the result of the event is: true
Fire on loading the page: unchecked
Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')Scope of the event set a Bind s.
Thank you
Paul
-
Help, please! Can I carry more than 15 actions in a form?
After trying to "debug" my form for a while, I realized the action builder removes random actions from the manufacturer of the action when there is more than 15.
I do not find anything mentioning documentation that, no error messages appear, no way to add more than 15 stocks I build a form that requires at least 30 measures. Help, please! Thanks in advance
Once you have built 15 actions:
(1) select the subform above in your hierarchy palette
(2) open your script editor. Because you will probably never use it, it will be docked to the top of your mode of creation. You'll want to drag out of here it is in its own window.
(3) in the upper left corner of your script editor, select view: 'Events with Scripts', just to the right theres a button with a plus sign. Make sure that who is toggled.
(4) you can see all the code in all of your having to script objects. You will also notice a lot of this code is green. Which is commented out code that Designer recognizes as a script generated from the action Builder. Remove all the Green script. Make sure you get the green / /-at the end of each event too.
You will notice that all actions have gone from the manufacturer of the action, but they are still working in the form. At least, now, you can add more shares without them having been removed by some designer bug has.
Kyle
-
The guys that I need help please,
Last night I tried to install the update to alcapitan to my macbook pro, but it does not work it makes me a message (your installation cannot be finshed) and many many things and when I try to strt my macbook still keeps it install the updat and then get the message again...
I need help please
Hello, check if the mac you can use El Capitan. See the information update of OS X El Capitan - Apple Support here
-
When I turn on my new macbook air, the fan starts to make the strong nose. I got this less tha a month ago and I took good care of yhis. I'm tired of ressetting as MSC, but it did not work. Help, please
If you got less than a month ago, it is still under warranty of 90 days (I think), so take it back to the Apple Store you got OR no matter what Apple Store close to you if you bought it online.
-
Date arithmetic gives error in dynamic Action that makes the value value
Hello
I am trying to create a dynamic action that automatically assigns the value of P8_ENDTIME to P8_STARTTIME + 30 minutes. Both are date variables.
So far, my settings
Dynamic action:
Event: change
Selection type: elements
Items: P8_STARTTIME
Scope of the event: static
Real Action:
Action: Set
Set type: PL/SQL Expression
PL/SQL expression: P8_STARTTIME + 1/48
Page items to submit: P8_STARTTIME
Affected elements Type: elements
Assigned items: P8_ENDTIME
Note: I read online by adding 1 to a date increments of one day. And the addition of 1/24 Add 1 hour. 1/48 will add a half an hour.
These settings compile but when I change the STARTTIME field for a new date on my page it says:
AJAX call back Server error ORA-06502: PL/SQL: digital or value error: character number conversion error to set the value.
I have to mention if I did my right PL/SQL expression: P8_STARTTIME then no error is thrown. : P8_ENDTIME be successfully will set the value of: P8_STARTTIME
Your help is very appreciated.
Item is string. not of type datetime. You must first fills in /date datetime type and then add 30 min. After that, maybe you must convert to a string.
-
Need help with dynamic Action through 4 items
Hello everyone.
I'm having some trouble trying to comp with dynamic action that will turn on or display a select list item when a value is set for the four elements of the Radio button group.
P1_SELCT_LIST
P1_RADIO_GROUP_1
P1_RADIO_GROUP_2
P1_RADIO_GROUP_3
P1_RADIO_GROUP_4
So once all four Radio groups are not null, I want the select View list item.
Any help with this would be great.
I'm on Apex 4.2.0.00.27
Hello
You can create the following action:
Event: click on
Selection type: jQuery selector
jQuery selector: radio
condition:
$v ('P1_RADIO_GROUP_1')! == ''
&&
$v ('P1_RADIO_GROUP_2')! == ''
&&
$v ('P1_RADIO_GROUP_3')! == ''
&&
$v ('P1_RADIO_GROUP_4')! == ''
Then add a real Action as follows:
ACtion: show
Fires when the result of the event is: true
Fire on the page loading: No. (uncheck)
Assigned to elements, selection type: product (s)
Product (s): P1_SELECT
Also add an Action to false as follows:
ACtion: hide
Fires when the result of the event is: false
Fire on the page loading: YES (check)
Assigned to elements, selection type: product (s)
Product (s): P1_SELECT
Kind regards
Vincent
-
Hi help me make sure is it you please how to make my header that I defined in a template to be top of my web pages when I parade
Please follow the steps:
-Go to the Master Page
-Open the layers panel
-Add a new layer
-Do drag the content (header) back layer
If ' make sure that the new layer is the top layer in the layer panel.
Thank you
Sanjit
-
Hi everyone, I posted this question in the past and made huge strides with the help of Denes Kubicek: https://apex.oracle.com/pls/apex/f?p=31517:294:115851992029365: based on my previous question posted: https://forums.oracle.com/forums/thread.jspa?threadID=2537494
I'm fighting with a single element in my tabular presentation. There is a radio button. The choices all seem correctly, but the value is not saved in the collection (and therefore not recorded in the table). All the other elements in the form of tables to record properly.
Here's what I have for the query. This is element c024 (which maps to;) ("F03'), which is defined as a radio based on an existing LOV LOV.
Currently I have:
2 items on the page:
P110_ID
P110_VALUE
Dynamic action called COLUMN of CHANGE:
event: CHANGE
selection type: jQUERY Selector
jQuery:
Select jQuery = input [name = "f03"], select [name "f08"], select [name = "f09"], input [name = 'f10'], input [name = 'f11'], input [name = 'f12'], select [name = "f40"], input [name = "f21"], input [name = 'f22'], input [name = "f23"], input [name = 'f50']
scope of the event: Dynamics
real action #1: set the P110_ID javascript expression this.triggeringElement.id
real action #2: set the P110_VALUE javascript expression this.triggeringElement.value
action 3: run pl/sql code
declare v_member number; v_seq number; begin v_member := TO_NUMBER (SUBSTR (:p110_id, 2, 2)); select ltrim(substr(:p110_ID,5,4),'0') into v_seq from dual; safis_collections.update_column(v_seq, v_member, :p110_value);
refreshment area true creation #4: LANDINGS_COLLECTION
the tabular presentation is based on the query:
SELECT apex_item.text(1,seq_id,'','','id="f01_'||seq_id,'','') "DeleteRow", seq_id, seq_id display_seq_id, apex_item.text_from_LOV(c004,'SPECIES')||'-'||apex_item.text_from_LOV(c005,'GRADE')||'-'||apex_item.text_from_LOV(c006,'MARKETCODE')||'-'||apex_item.text_from_LOV_query(c007,'select unit_of_measure d, unit_of_measure r from species_qc') unit, apex_item.select_list_from_LOV(8,c008,'DISPOSITIONS','onchange="getAllDisposition('||seq_id||')"','YES','0',' -- Select Favorite -- ','f08_'||seq_id,'') Disposition, apex_item.select_list_from_LOV(9,c009,'GEARS','style="background-color:#FBEC5D; "onFocus="checkGearPreviousFocus('||seq_id||');"onchange="getAllGears('||seq_id||')"','YES','3333','-- Select Favorite --','f09_'||seq_id,'') Gear, apex_item.text(10,TO_NUMBER(c010),5,null, 'onchange="setTotal('||seq_id||')"','f10_'||seq_id,'') Quantity, apex_item.text(11,TO_NUMBER(c011),5,null,'onchange="getPriceBoundaries('||seq_id||')"','f11_'||seq_id,'') Price, apex_item.text(12, TO_NUMBER(c012),5,null, 'onchange="changePrice ('||seq_id||')" onKeyDown="selectDollarsFocus('||seq_id||',event);"','f12_'||seq_id,'') Dollars, decode(c013,'Y',apex_item.text(14, c014,30,null,'style="background-color:#FBEC5D;" onClick="onFocusAreaFished('||seq_id||');"','f14_'||seq_id,''),'N','N/A') Area_Fished, decode(c017,'Y',apex_item.text(18, c018,4,null,'style="background-color:#FBEC5D; "onBlur="setUnitQuantity('||seq_id||')"','f18_'||seq_id,''),'N','N/A') UNIT_QUANTITY, decode(c017,'Y',apex_item.text(19,'CN',3,null,'readOnly=readOnly;','f19_'||seq_id,''),'N','N/A') UNIT_COUNT, c024 hms_flag, decode(c050,'Y',apex_item.checkbox(21,'Y','id="f21_'||seq_id||'" style="background-color:#FBEC5D; " onClick="alterYes('||seq_id||');" onKeyPress="alterYes('||seq_id||');"',c021),'N','N/A') FinsAttached, decode(c050,'Y',apex_item.checkbox(22,'N','id="f22_'||seq_id||'" style="background-color:#FBEC5D;" onClick="alterNo('||seq_id||');" onKeyPress="alterNo('||seq_id||');"',c022),'N','N/A') FinsNotAttached, decode(c050,'Y',apex_item.checkbox(23,'U','id="f23_'||seq_id||'" style="background-color:#FBEC5D;" onClick="alterUnk('||seq_id||');" onKeyPress="alterUnk('||seq_id||');"',c023),'N','N/A') FinsUnknown, decode(c050,'Y',apex_item.textarea(28,c028,3,null,null,'f28_'||seq_id,''),'N','N/A') Explanation, decode(c024,'N',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'U',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'Y','N/A') Nature_Of_Sale, decode(c020,'Y', apex_item.select_list_from_LOV(40,c040,'HMS_AREA_CODE','style="background-color:#FBEC5D;"',null,null,null,'f40_'||seq_id,''), 'N','N/A') HMS_AREA_CODE, c020,c050, decode(c020,'Y', apex_item.text(41,TO_NUMBER(c041),5,null,null,'f41_'||seq_id,''), 'N','N/A') Sale_Price from apex_collections where collection_name = 'SPECIES_COLLECTION' order by seq_id
I noticed the following:
When I change the column C011 (price) the following values are defined in dynamic action:
P110_ID = f11_1
P110_VALUE is everything that I change the price.
When I change the column C024 (hms_flag), the following values are defined:
P110_ID = f03_0001
P110_VALUE = change everything what I hms_flag to.
the region is updated in my dynamic action, and change of hms_flag does not take. I tested the SQL query that generates the value of v_SEQ in the dynamic action. Both a change of price and HMS_FLAG, it seems valid
Select ltrim (substr(:p110_ID,5,4),'0 ') in the double v_seq;
If f11_1, v_seq: = 1
If f03_0001, v_seq: = 1
Thank you!
solved. sort of.
domain c024 references f03.
dynamic ACtion, step 4 calculated v_member as a substring of P110_ID... and in all other areas, the column and the field (fxx) displayed the same value... otherwise c024.
I'm not exactly sure how solve it, but see the problem.
-
Help with dynamic Action with pl/sql and Javascript
Hi all
I'm a little hard with the following and I was wondering if someone can help me.
I have a list of unique selection on the page that queries a table in my diagram.My test app is here: http://apex.oracle.com/pls/apex/f?p=32581 workspace: Leppard Login: guest pw: app_1000 Tab: DB Link (page 19)
This is the flow that works, but not the user experience I want:
User clicks on the button Create Page 19 > the next page, page 20, appears as a popup window > user enters the name of the link = "MyLink" (or other) and one unit number, i.e. 1234 (or other) > user clicks 'Create using process' button > success message > user closed the window to return to the page 19 > user clicks LOV refresh to refresh the list of selection so that the new value is displayed.
That's what I'm aiming for: user clicks on the button Create Page 19 > the next page, page 20, appears as a popup window > user enters the name of the link = "MyLink" (or other) and one unit number, i.e. 1234 (or other) > user clicks button "create using the DA ' > dynamic action is called running pl/sql closes the popup window and refreshes the list of selection on page 19.
I know that I have some problems with my dynamic action. First of all, the pl/sql is not yet recognize the values that I enter the fields in item on page 20. I created a first pl/sql "null;" to force these items in session state, but it does not work for me and the pl/sql just inserts a null value into my table. Secondly, I can't get javascript to fire code to refresh the list of selection on page 19. The code I use in the DA is the same thing as what is behind the button refresh LOV, so I am confident that the code works, I just can't get this fire click the button "create using the DA" on page 20.
Sorry if this is confusing - I can clarify if necessary, let me know. Thanks in advance. Of course I'm still learning...
John
Published by: John K. on May 30, 2013 19:28I modified your DA as follows.
In real Action of DA,.
1 Seq 10, I added the element page 20 Page points to submit and return Pagenames. You forgot to add items here
2 Seq 20, I changed your simple code to insert. Simple code just insert
3 Seq 30, I added the new code to close the window and reload the window open.Thank you
Lacombe
Maybe you are looking for
-
How to reconnect Apple Watch after reset/restore of the iPhone?
9.3.5 ios update bricked by phone and I did a factory reset followed by a restore of backup. Not everything was restored because my Apple Watch is more matched with my iPhone. Is there an easy way to put back them as they were before the reset?
-
Hello How can I protect my phone of any virus?
-
original title: securtity settings in my computers. where should I go and see what are my security settings? the settings saved on this computer for the network do not match the requirements of the network. where should I go and see the settings?
-
Is any way to allow the user, set the value of a null datetime-local field
Dear all, During development, I found that it is not possible for the user to set the value of a field to enter a non-empty value to null datetime-local. Take for example, the monitoring scenario -User set a track the date and time for a task -L' use
-
Is it possible to browse the titles of thread with this new forum software?
This new version of the community is sometimes very frustrating. I followed a few spaces for products I use actively. Sometimes I like to just browse the titles of wire to see if anyone has interesting topics that might be useful for me. With the pre