Articles through dynamically

Hello

I'm tying to create a region where I dynamically order items with partial success.  The order of the elements is defined by the user, so I can't have a predefined list and I create it dynically as the page loads

I have five elements

P2_ITEM_1

P2_ITEM_2

P2_ITEM_3

P2_ITEM_4

P2_ITEM_5

And I want to show in this order

P2_ITEM_4

P2_ITEM_2

P2_ITEM_3

P2_ITEM_1

P2_ITEM_5

I created a dynamic action that uses the following code, but I'm doing something wrong, because it does not

$('#P2_ITEM_4').insertBefore('#P2_ITEM_2');

$('#P2_ITEM_2').insertBefore('#P2_ITEM_3');

$('#P2_ITEM_3').insertBefore('#P2_ITEM_1');

$('#P2_ITEM_1').insertBefore('#P2_ITEM_5');

$('#P2_ITEM_5').insertBefore('#P2_ITEM_4');

The items do not seem to go as planned and labels of items do not move

I created an example here

https://Apex.Oracle.com/pls/Apex/f?p=40517:2

No idea what I am doing wrong or is there a better way to do this?

Thanks in advance

Hi Wowl

I made a sample, it solves your problem, I hope

https://Apex.Oracle.com/pls/Apex/f?p=49204:1:16221135238629:

Test/test

Your problem is that you do not use the container ID...

For example, the dynamic action code attached to the button is

var itemBefore = $x('P1_ITEM_BEFORE').value;
var itemAfter = $x('P1_ITEM_AFTER').value;
$('#P1_ITEM_'+itemBefore+'_CONTAINER').insertBefore('#P1_ITEM_'+itemAfter+'_CONTAINER');

Concerning

Mahmoud

Tags: Database

Similar Questions

  • Through dynamic color management

    Hey guys.

    I know I don't know too much about the management of colors now, but reading a how-to article related to this Board who suggested that all the comps should be set to a linearized workflow 32 bits (or 16) with the workspace sRGB 2.1.

    So far, I found the colors to be more accurate than the default setting of AE and I love it. My problem is now a dynamic link with Premiere Pro.

    I'm working on a sequence sent to me for a VFX'ing. Using dynamic links facilitates the work between the 2 programs, but when I work with colors above management parameters, the resulting image in AE looks fine, but the image in first update is darker several notches.

    Is it possible for effective work through dynamic color management link between the 2 projects?

    Thank you very much.

    In fact, I advised you DO NOT linearize your workspace until you fully understand the linear workflow. Which, among other things, means that you should not workspace linearize in all EI projects. On the contrary, you have to understand when to linearize the and when not. This blogpost Stu Maschwitz, the link where I presented, contains many other links, including this one in the discussion on linear time to go.

    Your current issue focuses on the issue that neither PrPro or SOUL is manageable (aware color) application. It can be corrected in several ways:

    1 as Rick said, just disable linearize working space (it can ruin your correction of the current color as well).

    2. apply the Gamma Correction effect on your comp dynamically linked in the chronology of PrPro (which is not quite correct work around this problem, in fact).

    3. to not rebuild links dynamic before dialing which is in your linked dynamically comp now in another. In your linked comp dynamically updated go to the view menu and disable the use display color management. Apply on your layer demo and sRGB color profile converter, leaving entered a mode 'space project' by default output profile.

  • publish article through CSelement assets

    Hello world

    How can I publish my asset article through other than the admin UI custom cselement?

    My goal is to publish article assets automatically once the workflow is complete.

    Thank you!

    Hello

    In addition to what Gerardo said, you can set a scheduled publication that runs and publishes the approved asset every minutes of X. Once you have approved them with your workflow step.

    See http://docs.oracle.com/cd/E29542_01/doc.1111/e29636/publoverview.htm#WBCSA592 .

    Kind regards

    Guillermo.

  • HTML Article assemble dynamically, do scroll is not possible after the orientation change

    Hi guys,.

    I encountered the following problem today:

    Im having an HTML page set dynamically from a source JSON file, manipulation of information in JSON with jQuery. I'm downloading the page HTML (html page is empty until the page is in the DPS stack, then it builds) as an HTML article with the ' Smooth Scrolling: vertical. So far so good.

    When I open the page inside the Adobe viewer app on my iPad, I can see the "first" part of the page (the first 1024px in portrait orientation), but I am not able to scroll further down the page.

    However, when I do a change in orientation of the device (turn it landscape and then come back), I can scroll perfectly well and am able to see everything on the page (so I'm quite sure that the json in jquery for html conversion work). still unknown, when I let the page tell me his height (via $("body").height () and $(document) .height ()), it shows me that the height of the page is in effect (for example) the 10.000px, but I am not able to scroll down until I do the orientation change.

    am I missing something? im sure that my code is correct, because once I change the direction of my camera, everything works perfect.


    I hope that my problem is understandable, any help is very appreciated.


    Thank you


    Max

    You have correctly identified the root cause: we ask the page height so we can tell the web control what content is the height. If there is JavaScript that runs when the page is loaded (or at any other time, honestly) which changes the height of the page, what could happen after that we ask for the height.

    It is, unfortunately, no way to send a signal to the app ask that we re - check the height of the page and update the web control accordingly. I think the reason why it works on rotation, we only are not destroy and recreate the web control, so the height of your page is calculated correctly, but we re - ask the height so we can draw the control.

    Neil

  • How to send the first video again through dynamic links

    Hello.  So I have the suite adobe for students, and I have a project in Premiere Pro, I want to make a DVD.  I exported before with DVD MPEG-2, but that takes a lot of time and energy, and I don't think that the export is as good as it could be (qualitative).  So I would use a dynamic link between the first and yet, but when I go to file-Adobe Dynamic Link - of dynamic link is greyed out and I can't click on it that would allow me to choose 'send to '.  How can I make this option not grayed out and send it to yet?  Thank you very much for your time!

    Well, if you do not use anything other than Premiere Pro CS6 and the corresponding CS6 still it will not work. They're both the exact same release.

    Many people still use CS6 Encore with new versions of Premiere Pro, so if you have any quality problems, export from Premiere Pro, you might want to address that publishes first.

  • Insert into another table through dynamic suite

    Hello


    I need to insert data from one table to the other dynamic thereafter. The reason we use where condition can vary in the select statement. Can someone tell me the logic to use


    the sql statement is like that

    INSERT INTO table1

    SELECT * FROM table2 WHERE condition


    the condition can vary as because it must come forward


    Any ideas will be greatly appreciated


    Thank you
    Martine

    Martine wrote:
    Hello

    I need to insert data from one table to the other dynamic thereafter. The reason we use where condition can vary in the select statement. Can someone tell me the logic to use

    the sql statement is like that

    INSERT INTO table1

    SELECT * FROM table2 WHERE condition

    the condition can vary as because it must come forward

    Any ideas will be greatly appreciated

    Thank you
    Martine

    I advise generally live by using dynamic SQL, because it is difficult to develop, hard to debug, hard to maintain and very difficult to resolve. He peut seem reasonable in the situation you described, but think first about the other possibilities. If you have only two or three variants, it is probably easier to use IF and INSERTs hard-coded logic.

    If you must use dynamic SQL build the SQL text and use EXECUTE IMMEDIATE to do INSERTIONS and SO logical to concatenate the WHERE clause as necessary, something like

      v_text_c := 'insert into my_table(col1)'||chr(13)||
        'select col1'||chr(13)||
        '  from my_table2'||chr(13)'||
      ' where 1 = 1';
      if (whatever) then
        v_text_c := v_text_c||'  and col2 = 'whatever');
    end if;
    

    ' WHERE 1 = 1' is a placeholder for any or any other predicates. Chr (13) is a line break to make the generated SQL code readable appears.

    I find it also useful to create a table with a column CLOB to put the SQL code generated for future reference of error handling.

    Good luck!

  • "Open all in tabs" is grayed out on all dynamic bookmarks

    Subscribe to several news FEED through dynamic bookmarks, but in the context menu for each, the "Open all in tabs" option is still grayed out. How can I do it functional again?

    You will need to use a RSS reader extension to access this feature.
    You can search the Addons site for such an extension.

    It is still being worked on.

    • Bug 730829 - Restore "Open all in tabs" and "< site > opening" down popups livemarks

    Please, do not comment in bug reports
    https://Bugzilla.Mozilla.org/page.cgi?id=etiquette.html

  • Secondary asynchronous dynamic distribution

    Hello

    A little, I have a problem with the help of screws of class member in a secondary school.  Take a look at this project, I joined to the VI for an example of what I'm trying to do (in LV 2011).

    Basically, I want to decide based on a user selection what Viewer I'll run and throw in a secondary school.  The user can change this during the operation of the program.  I decided to do the various viewers all the members of a class so that I can add new viewers and don't forget that all are compatible.

    Here's the question.  If I want to use the function of VI run asynchronously, I can't do this with dynamic distribution terminals (limitation in LabVIEW).  So, I did a pitcher that incorporates a static distribution terminals.  I call this launcher using the function to run asynchronously, and then the Launcher I runs the specific instances through dynamic distribution.  It works, and I can verify that the screws run with screw open their facades when they are run.  But I can't seem to get a reference to this VI which is launched via the Launcher to put in my main VI high school.

    I have a workaround, you can see in the other method used to launch screws in the example.  Selects directly using the name of the class member.  The data is passed to the VI using the method of control value.

    As I said, I have a solution to the problem.  But I wonder if there is a better way to do it.  So, if anyone knows how I can launch a VI of asynchronously and place its façade in a school I would like to hear about it.  Thanks to LabVIEW gurus.

    BTW, how easy you can solve your problem is to create a temporary queue, pass it in to the call of the CGRA (with static VI passing it in the dynamic), then you have the dynamic VI post its own Ref to the queue.  The calling code will wait in the queue for the reference, and then destroy the queue.

  • Indexing of dynamic data

    I'm trying to store all the information through dynamic data, the main loop cable, by indexing. I want just to capture all the data that flows through these wires and put them in Excel at the same time. My only thought on indexing was to create a separate loop outside the main loop just if I could the values of the indices. I tried to put indexing in the main loop, but then I capture only one second of data. If I put another while loop in my main loop to index, my program enters an infinite loop (maybe because my stopping conditions were not correct).

    I enclose my entire program to this message. The problematic loop is highlighted in yellow.

    If anyone has any suggestions or advice, please answer! Thank you!

    I did some work on your VI and I had a few thoughts:

    1. you must get rid of the DAQ assistant - done

    2. you must organize your code better.

    3. you should look into a state machine - look at the example file NOR to see how it could be done.

    4. Add an event structure to manage the stop function. This should help with the problem you are experiencing.

    5. you should always try and adapt your code in a window.

    6. you will need to check that all the calculations and graphs work after I changed things around.

    I hope this helps.

  • The dynamic header link

    Hello

    I am currently working on a mall built around a dynamic content, which will display the content of the email in different languages depending on the destination country.

    My question is related to the email header - specifically the link in the online option. This will default e-mail content or it will show the end-user version of mail that they received through dynamic content?

    Case example:

    -Content dynamic watch mail to a user based in Germany in German. The default e-mail content is in English. User clicks on the dynamically populated header 'post online '. Where Eloqua him--brings to the English version by default or the content in German, he received?

    Any adviser or appreciated experience.

    The 'View Online' link will display any content that the user sees in an e-mail - the only difference is that it will open in the browser of the user by default. There are sometimes differences in formatting between an e-mail client and web browser, but any dynamic content that you have enabled will conform.

    Of course, it is always best to test first by sending the e-mail to several trials of contacts and try all test cases that relate to your email.

  • How the date can be filled with timestamp in dynamic sql

    Hi all

    Below we have sql

    v_stmt: = ' MERGE IN MTH_EQUIPMENTS_EXT_B ED

    WITH THE HELP OF)

    SELECT TAG_DATA,

    EQUIPMENT_FK_KEY,

    WORKORDER_FK_KEY,

    SEGMENT_FK_KEY,

    SHIFT_WORKDAY_FK_KEY,

    HOUR_FK_KEY,

    ITEM_FK_KEY,

    READ_TIME,

    ATTR_GROUP_ID,

    RECIPE_NUM,

    RECIPE_VERSION,

    NVL (FND_GLOBAL. User_Id,-1) l_updated_by,.

    NVL (FND_GLOBAL. Login_Id,-1) l_last_update_login

    OF MTH_TAG_READINGS_T_STG

    WHERE DB_COL = ' | " ' || v_colname | " ' ||') TS

    WE (';)

    v_stmt: = v_stmt | "ED. EQUIPMENT_PK_KEY = TS. EQUIPMENT_FK_KEY AND

    ED. READ_TIME = TS. READ_TIME AND

    ED. ATTR_GROUP_ID = TS. ATTR_GROUP_ID)

    WHEN MATCHED THEN

    UPDATE

    GAME ED.'. v_colname |' = TS. TAG_DATA,

    ED. LAST_UPDATED_BY = 1, ";

    v_stmt: = v_stmt | "ED. LAST_UPDATE_LOGIN = TS.l_last_update_login

    WHEN NOT MATCHED THEN

    INSERT ('| v_colname |', EXTENSION_ID, EQUIPMENT_PK_KEY, WORKORDER_FK_KEY, SEGMENT_FK_KEY, SHIFT_WORKDAY_FK_KEY, HOUR_FK_KEY, ITEM_FK_KEY, READ_TIME, ATTR_GROUP_ID, LAST_UPDATE_DATE, LAST_UPDATED_BY,';)

    v_stmt: =.

    v_stmt | ("LAST_UPDATE_LOGIN, CREATED_BY, CREATION_DATE, RECIPE_NUM, RECIPE_VERSION)

    VALUES (TS. TAG_DATA, EGO_EXTFWK_S.NEXTVAL, TS. EQUIPMENT_FK_KEY, TS. WORKORDER_FK_KEY, TS. SEGMENT_FK_KEY, TS. SHIFT_WORKDAY_FK_KEY, TS. HOUR_FK_KEY, TS. ITEM_FK_KEY, TS. READ_TIME,';

    v_stmt: = v_stmt | "TS. ATTR_GROUP_ID,' | '''|| SYSDATE | "'| ', 1, TS.l_last_update_login, TS.l_updated_by,'|"' | SYSDATE | " ' ||', TS. RECIPE_NUM, TS. RECIPE_VERSION)';

    EXECUTE IMMEDIATE v_stmt;

    After you run the above SQL last date of update in MTH_EQUIPMENST_EXT_B is filled with sysdate but timestamp is not its always 00:00:00. Can we have timestamp also populated through dynamic sql in the last update date

    Kind regards

    Amrit

    Values to hardcode in the dynamic SQL - never use bind variables:

    v_stmt: = ' MERGE IN MTH_EQUIPMENTS_EXT_B ED

    WITH THE HELP OF)

    SELECT TAG_DATA,

    EQUIPMENT_FK_KEY,

    WORKORDER_FK_KEY,

    SEGMENT_FK_KEY,

    SHIFT_WORKDAY_FK_KEY,

    HOUR_FK_KEY,

    ITEM_FK_KEY,

    READ_TIME,

    ATTR_GROUP_ID,

    RECIPE_NUM,

    RECIPE_VERSION,

    NVL (FND_GLOBAL. User_Id,-1) l_updated_by,.

    NVL (FND_GLOBAL. Login_Id,-1) l_last_update_login

    OF MTH_TAG_READINGS_T_STG

    WHERE DB_COL =: 1) TS

    WE (';)

    v_stmt: = v_stmt | "ED. EQUIPMENT_PK_KEY = TS. EQUIPMENT_FK_KEY AND

    ED. READ_TIME = TS. READ_TIME AND

    ED. ATTR_GROUP_ID = TS. ATTR_GROUP_ID)

    WHEN MATCHED THEN

    UPDATE

    GAME ED.'. v_colname |' = TS. TAG_DATA,

    ED. LAST_UPDATED_BY = 1, ";

    v_stmt: = v_stmt | "ED. LAST_UPDATE_LOGIN = TS.l_last_update_login

    WHEN NOT MATCHED THEN

    INSERT ('| v_colname |', EXTENSION_ID, EQUIPMENT_PK_KEY, WORKORDER_FK_KEY, SEGMENT_FK_KEY, SHIFT_WORKDAY_FK_KEY, HOUR_FK_KEY, ITEM_FK_KEY, READ_TIME, ATTR_GROUP_ID, LAST_UPDATE_DATE, LAST_UPDATED_BY,';)

    v_stmt: =.

    v_stmt | ("LAST_UPDATE_LOGIN, CREATED_BY, CREATION_DATE, RECIPE_NUM, RECIPE_VERSION)

    VALUES (TS. TAG_DATA, EGO_EXTFWK_S.NEXTVAL, TS. EQUIPMENT_FK_KEY, TS. WORKORDER_FK_KEY, TS. SEGMENT_FK_KEY, TS. SHIFT_WORKDAY_FK_KEY, TS. HOUR_FK_KEY, TS. ITEM_FK_KEY, TS. READ_TIME,';

    v_stmt: = v_stmt | "TS. ATTR_GROUP_ID,: 2, 1, TS.l_last_update_login, TS.l_updated_by,: 3, TS. RECIPE_NUM, TS. RECIPE_VERSION)';

    V_stmt EXECUTE IMMEDIATE

    With the HELP of v_colname,.

    SYSDATE,

    SYSDATE;

    SY.

  • More than one Page objects of value with dynamic action parameter

    Hello

    How to set the values of the two elements of the page based on another page, article in dynamic action IE

    -variable value tr_type is set using the function get_type

    -passing the p1_code parameter

    TR_TYPE; = GET_TYPE (P1_CODE);

    If TR_TYPE = "DR" THEN

    P1_DR: = P1_AMT;

    ON THE OTHER

    P1_CR: = P1_AMT;

    END IF;

    -If I write the function get_type with Exp of PL/SQL of TYPE 'SET', it triggers the error on the use of the service.

    -If I put body of the PL/SQL TYPE of function 'SET', the page displays error unhandled expception.

    How can I achieve this using dynamic action.

    Hi, IK,.

    Can you please quote the u of changes/amendments made to the code, I am unable to find it.

    Included missing: for element names.

    --value variable tr_type is set using function get_type
    --passing p1_code parameter
    TR_TYPE:=GET_TYPE(:P1_CODE); 
    
    if TR_TYPE='DR' THEN
    :P1_DR:=:P1_AMT;
    ELSE
    :P1_CR:=:P1_AMT;
    END IF;  
    

    Here is my scenario with code.

    I have a form with 4 elements (account (P1_CODE), quantity (P1_AMT), DR (P1_DR, hidden), CR (P1_CR, hidden), I am writing a dynamic action on P1_AMT (change) of the code)

    DECLARE

    TR_TYPE char (2);

    BEGIN

    -calling a function "GET_TYPE.

    -passing the P1_CODE parameter

    TR_TYPE; = GET_TYPE (P1_CODE);

    If TR_TYPE = "DR" THEN

    P1_DR: = P1_AMT;

    ON THE OTHER

    P1_CR: = P1_AMT;

    end if;

    end;

    Again, we know not not how you want to call a dynamic action,.

    assuming that on the evolution of the account (P1_CODE), the function call GET_TYPE(:P1_CODE) to retrieve the type of transaction,

    on the basis of the transaction that you want to set the amount of specific element.

    on the change of point P1_code

    Action: execute the PL/SQL code

    Parameters

    DECLARE
    TR_TYPE  char(2);
    BEGIN
    --calling a function "GET_TYPE"
    --passing parameter P1_CODE
    TR_TYPE := GET_TYPE(:P1_CODE);
    if TR_TYPE='DR' THEN
    :P1_DR:=:P1_AMT;
    ELSE
    :P1_CR:=:P1_AMT;
    end if;
    end;
    

    page elements to present - P1_CODE, P1_AMT

    page items to return - P1_DR, P1_CR

    Check the screenshot

    There are other ways to set the values using dynamic action, try the above

    Kind regards

    Jitendra

  • Dynamic links affecting the levels/color images

    Hello

    I encounter an unusual and frustrating error with dynamic link between Premiere and After Effects, updated to the latest version of CC.

    I had initially a tool for editing in the first before using dynamic links to apply effects on almost all of the clips from my calendar. Everything worked very well and it's a workflow seamless.

    I then ranked the images in the first (which was now all connected through dynamic links) and everything was good. I needed to make slight adjustments to my original effects and returned to my After Effects project, which is where the problems started.

    For some reason, after returning to the After Effects project and then back to the first, however passed all related images and clips have been much darker with black crushed etc.

    I traced back to After Effects error, which seems to be to display all my clips with both darkest levels in the compositions and the project bin. I tried to reload images etc. no luck and I'm stuck for options.

    I hope someone can help!

    Thank you

    All color management settings had not changed and the number of bits, but I have since been able to solve the problem by saving a new version of the copy of the After Effects project and reissue of links then clips from the first to him.

    Do not know what has caused this bug but happy that its now been bypassed.

  • Anthony Rayner - Dynamic Quick Pick blog - display problem

    APEX 4.0.2 / RDBMS 11 G r2

    I'm trying to use Anthony Rayner's excellent article / blog, Dynamic Quick Picks - APEX Style

    We focus on application Express: Dynamic Quick Picks - style APEX!

    All logic works well - if I select a quick choice in the form, the selected value appears on the form in the page an element (labeled FAIRY - see attachment).  I ran into one of the problems - quick pick list displays at the top of the region and not in the position of the element in the P502_QUICK_PICK_FEE page (created only to contain the logic as indicated in the note of Anthony).  On a lark, I tried Firefox and Chrome, and both give the same result.

    Note that the page element is defined in VIEW ONLY mode.  Anthony paper called to DISPLAY AS TEXT.  I tried to TEXT and other types, but the result is the same.  I thought it was the number of sequence, but since the page element "displays" where I expect (from the select list items FEES page) when I click on "edit links" in the developer environment, I do not think that is the question.

    See attachment to display an image (JPG) of the form.  Solutions, recommendations and/or assumptions are appreciated.

    Thanks in advance.

    Barry D.

    First of all, many thanks to Anthony Rayner for his time and effort to provide a solution to my problem.

    I write what I believe to be the Anthony Rayner solution to my problem so that others can benefit from his teaching.  The problem is that I applied to the call to the procedure in bad.  The QUICK_PICK procedure that passes (2 arguments) the request item and list selection page that is applied by the quick pick link should be in the SETTINGS section of the item 'Add' of the page with the following: (a) based on = output of PL/SQL Code, Code b PL/SQL which emits HTML = both arguments of the procedure (quoted above).

    When followed, the pick list quick links appear directly under the page element of list selection and not at the top of the page.

    Once again - thanks to Anthony Rayner.

    Barry D.

  • create a dynamic group for all virtual machines

    I would like to create separate dynamic groups for all my Windows virtual machines and physical machines of my Windows.  Is it possible to do it via regular expressions?  It is not granular enough to create something like this.  We have vROps that collects a large number of settings of virtual machines as its CPU usage, use of memory and use of the network to name a few.  If I install Hyperic on those virtual machines it will collect the same measures and I'll have to duplicate the data in vROps.  So I would like to have a separate profiles for Win32, CPU, physical disk on file server, etc., for virtual machines and physical machines.  I was going to try using dynamic groups, but I don't think that Hyperic will be able to handle this.  If you have any suggestions or knowledge on this operation through dynamic groups that would be great.

    Thank you.

    In UI Hyperic access the platform in platform type choose Win32 and press the green icon. You will see all the windows.

    Now select all platforms and press the 'Group' button > add to the new group

    Good luck

Maybe you are looking for

  • Mail unarchiving

    Hello, recently I got a bunch of unread emails I wanted to mark all read, (I still understand that out also because they are always marked as read) and that's what I thought, I did, but unfortunately I've archived them, I found them but now I want th

  • NCAA games go to bad audio device, even when I say o/s otherwise. How to replace Firefox?

    I guess that's a FF issue, since everything else seems to work OK. I have a USB headset plugged into the USB hub under my desk. I use the properties of the Audio devices > Audio in the control panel (XP Pro) to switch between the headphones and speak

  • Zbook G3 HP: HP Zbook Thunderbolt 3 Dock USB ports not working not

    I have a HP Zbook Thunderbolt 3 dock on my HPZbook G3.  I've recently updated the BIOS and the firmware to the latest version to solve other problems 'dock '.  Am now at the latest for both.  The two monitors and ethernet on the work of lightning 3,

  • Windows installable 8 on NB250?

    Hello world! I wanted to check if I can install * Windows 8 * on a Netbook, the * NB250? * The experience of someone who did this is welcome...If you use such a facility, I would like to know the performance of the system... Thanks in advance... See

  • MyRIO_problem have to deploy every time that the device is not

    HelloI just want to ask u MyRIO. After that I deployed MyRIO program. I can run.Went however that I power off the power supply and that the former program cannot run. I have to deploy the program again. So, how to run the program without deploying th