Name of the dynamic page element?

Hello

I have one of some fields (VELD01, VELD02... VELD11) and a page process that fills this domain.
I want to say more dynamic by using a loop. Is it possible to use some "dynamic SQL" as:

l_cnt: = 1;
for r in c
loop
P1210_VELD0 | l_cnt;
l_cnt: = l_cnt + 1;
end loop;

Example above does not of course...

garcol wrote:
Hello

I have one of some fields (VELD01, VELD02... VELD11) and a page process that fills this domain.
I want to say more dynamic by using a loop. Is it possible to use some "dynamic SQL" as:

l_cnt: = 1;
for r in c
loop
P1210_VELD0 | l_cnt;
l_cnt: = l_cnt + 1;
end loop;

Example above does not of course...

Use the apex_util.set_session_state API method:

l_cnt := 1;
for r in c
loop
  apex_util.set_session_state('P1210_VELD' || to_char(l_cnt, '09'), r.foo);
  l_cnt := l_cnt + 1;
end loop;

(Always the postal code using ------)

...\

tags.)

However, the use of this approach raises possible concerns about your data model - it is properly standardized? And why not do it using standard table of tabular presentation techniques /apex_item API /apex_application tables?

Tags: Database

Similar Questions

  • How can I change the file name on the home page?

    I'm changing the file name of the home page...

    I'm on page properties > options > filename... but he is frozen as index.html

    Is there a way to change that and name it something else?

    Hello

    As most web servers consider index.html as the site's home page, the option is grayed out in Muse to rename indexes (homepage).

    How ever, you can go ahead and change the name to other pages in the site map.

    Concerning

    Vivek

  • Change the name of the ADF page?

    Hello world

    My version of Jdev is 11.1.2.3.0.
    I developed an ADF application with a single page. Everything works very well.
    But I need to change the name of the page.
    Name of the current page: abcQuer.jspx
    New name should be: abdQuerabc.jspx.

    How can I change the name of the page?

    Please give suggestions.

    Thank you...

    on the Panel of the BROWSER of the APPLICATION, right-click on the name of the file jspx, select-> refactor-> rename.

  • detach the Master page elements results in duplicate

    Hello

    People in my office are calmly a new problem with some documents - if we want to edit a Master Page to a page item, we do our usual command-shift-click to remove the issue of the master. In the past, this would result in the element becomes editable. But now when we command-shift-click, InDesign creates a copy of this issue, that it sticks on top of the Master Page element. There seems to be no way to change or get rid of the issue of the Master Page.

    I tried different possibilities in the Pages menu, for example, by selecting the page in question and "unpin all objects of the master". No help there.

    Is the damaged document or have I missed something?

    I use InDesign CS5 for Mac. worm 7.0.3


    Thanks in advance,

    Kurt

    SOP for a file behaves badly is a pants down spanked *.

    * PDS = export to .idml and to reopen the file, and then save them.

  • How do I get the name of the web page in v$ session table in the Oracle database

    We have asp.net web application hosted on IIS (windows) and the connection to the Oracle (10g) database.


    When I query the table v$ session in the database as a Jr.DBA, I don't see the name of the program as "w3wp.exe.
    coming from the computer host IIS (web server).

    Now, it is difficult to diagnose as session in the database that refers to what web page in the web application.

    If I have 10 web pages open in my web application connecting to the Oracle database, now if I wanted to go
    session info, when I browse the v$ session all it shows me what "w3wp.exe.

    Now is there a way to get the name of the web page in the session of $ v.

    (maybe he needs a few changes to the code in the application web asp.net, change in the configuration of IIS web server as well).

    Let me know

    Dear johnpau2013,

    It's an interesting question. See the documentation below and see if they help you or not?

    DBMS_APPLICATION_INFO;

    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_appinf.htm#CHEEFBBD
    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_appinf.htm#i999290
    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_appinf.htm#ARPLS003

    Hope that helps.

    Ogan

  • How can I get the name of the current page and the number?

    Hello world!

    Anyone know how to get the name of the current page and the number? What variable I should he request?

    Thanks in advance!

    The question of the application defined by the system: APP_PAGE_ID is the page number. For the name of the page, you will need to query the view of Apex with something like this:

    Select PAGE_NAME
    of APEX_APPLICATION_PAGES
    where PAGE_ID =: APP_PAGE_ID

    Good luck

    Stew

    PS Feel free to mark this reply as being correct, so it is.

  • Name of the dynamic pageFlowScope variable on a page of amx, possible?

    Hi all

    I have a problem that I can't seem to move at the moment. I have java classes that try to update some data, and if it is not successful it returns the ID of the control that contains the error. Then I take this control id and use it to highlight the field in error so that the user knows where it is. Usually, this works very well for any other than to a list view.

    For a grid/listView error control is returned in the form of something like "1.14" of the appeal of java, this is equivalent to the number of the line '1' and the id of the control "14". I can easily strip away the '. ' in java but I need a path in my AMX page to define a variable on the fly for example pageFlowScope #{pageFlowScope. {{} row.rowKey} 14} but I get EL analysis of errors try like this, the error is "ERROR_EL_PARSER_NESTED_EL_NOT_SUPPORTED". Basically, I'm trying to have conditional styles depending on whether E {pageFlowScope.114} is set to 1 or not. I can't imagine a better way to implement this in a listView?

    I can only suggest a medium crude to achieve.

    One way to see dynamic values in EL is to use a hash table and use the dynamic value as the key. I would record a HashMap per input element and then store the error with the line indicator not. You can even create your own implementation of HashMap and hoist the flag when running by overloading the get method.

    [For example #{pageFlowScope.elem14ErrorMap [row.rowKey}]

  • Title of the dynamic page (full name)

    Hi all!
    How can I change page tutle dynamically, according to certain parameters. I have a page with portlet (develops in JDeveloper), I have the setting in this portlet and you want to use this setting to generate the new display name for the page.

    Maybe it's not a complicated task, but I ' ve searched in the Forum discussions and found more questions than answers: dynamic page title title of Page based on a Page setting header

    Must I use the pl/sql? the java-portlet pl/sql procedure call?
    Thanks in advance,

    A. Roshina

    The document.title property controlling the page title. Have your portlet to run a JavaScript function that defines document.title.

    document.title = "Your new title";

  • Print a Message of success to the dynamic Page Action

    Hi guys,.

    I have a dynamic action that executes a block of code pl/sql. I need to display a message when the procedure is executed. I tried several options such as the use of "apex_application.g_print_success_message" but I could not achieve this goal. Here's my plsql code:

    CREATE OR REPLACE PROCEDURE processAlrm
    (
    p_alarmAction in VARCHAR2
    p_alarmID IN VARCHAR2
    )
    AS
    BEGIN
    Update...;
    COMMIT;
    apex_application.g_print_success_message: = ' < span style = "color: red" > alarm properly treated. </span > ';
    EXCEPTION
    WHILE OTHERS
    THEN
    ROLLBACK;
    LIFT;
    END processAlarm;
    /


    You have an idea how I can do this?

    Thank you.

    Hello
    Defining the will apex_application.g_print_success_message variable does not work because it is only used for page rendering.

    What you could do is
    a. create an item hidden on the page, tell P1_FOR_DA_HDDN
    b. in your DA make the following change

    --apex_application.g_print_success_message := 'Alarm processed successfully.';
    apex_util.set_session_state('P1_FOR_DA_HDDN', TO_CHAR(SYSTIMESTAMP) );
    -- SYSTIMESTAMP is only to force a change in the item every time the process is run. Alternate to using null/not null or other values.
    

    (c) in 'Page elements to return' her DA enter P1_FOR_DA_HDDN
    d. create a DA on P1_FOR_DA_HDDN, the change event, which has a real 'alert' Action and give the message "processed alarm with a success." in it.

    Here's what will happen
    1. when the process is run the value of the hidden element will change
    2 change in value of the hidden item will trigger the DA 'The change' in this regard.

    It will display an alert message, not in the area of SuccessMessage. But I think your goal is to inform the user, that is enough.

    Kind regards

  • Name of the dynamic property of object in the table based on the value of a variable

    I have two paintings of custom class objects

    var obj1:Object1
    var obj2:Object2
    
    var array1:Array = [obj1[0], obj1[1], ...]
    var array2:Array = [obj2[0], obj2[1], ...]
    

    Object1 has a property named. Name while Object2 has a property named. Title.

    Now I have a common function including cab accepts an array (array1 or array2) and the name of property the object ("Name" or "Title") as input and needs to access this name of the property of the objects in the array:

    function myFunction(arr:Array, fieldName:String)
    {
        arr[0].fieldName  = "xxx";
    }
    

    the problem I have this achievement does not because the code in the function assumes that the property of that object in the table is actually a string "fieldName" while I want to dynamically determine the names of the fields based on the value of this variable, but cannot understand the syntax to do!

    Don't know if I'm clear - hope that makes sense... ;-) Thank you

    Hey p3pp3r,

    I think I understood you. Try the following and see if you get good results:

    function myFunction(arr:Array, fieldName:String)
    {
        arr[0][fieldName]  = "xxx";
    }
    

    Let me know how it turns out. Good luck!

  • name of the dynamic table in a view

    How can I create a view of a table whose name is dynamically determined?

    for example, I have tables for each month table_2010401, the table_201402, the 201403 table and so on. I need to extract the data from the last table. This is more or less what I want to do:

    CREATE OR REPLACE VIEW VW_TABLE

    AS

    SELECT * FROM

    (SELECT TRIM (MAX (TABLE_NAME)) FROM ALL_TABLES WHERE TABLE_NAME LIKE 'POL_LINK %' AND OWNER = 'ACTUARYD')

    );

    Can anyone help? Thank you in advance.

    Most approach simple and straight forward it would be to recreate every month a CURRENT_TABLE view or a synonym that points to a table 'current' - table_2010401 or table_20140301.

    You can recreate this view, or synonym every month just after creating the table current.

    Another approach would be to create a view based on a function of pipeline that derives from a necessary table name and uses dynamic SQL statements to get the lines of him to channel them in the view.

  • Breadcrumbs not showing correct the name of the Home Page

    RH2015 | WebHelp

    I have a WebHelp system merged with a placeholder of breadcrumbs in my master page. It worked perfectly until I changed the name of the homepage of the home 'by default'. When I compile the parent and child projects navigation bar always shows 'Home' as the name of the homepage instead of the new name. After some research, I see that when I compile the parent project, he writes a file called MasterData_xml.js to each of the child projects. This is the file that always contains a reference to the "home":

    gXMLBuffer = "<?" XML version=\"1.0\"? " > <!-generated RoboHTML. "Should be present with project merged.--> < name MasterProject =------"Help online - ALB\"url =------"... /... /------"> < breadcrumbs > <= item name-"Home\"" url=\"Home.htm\"/ > < / breadcrumbs > < / MasterProject > ";"

    Can someone tell me how to impose it. JS file to update or is - what makes a bug?

    Thank you

    Jonathan

    MMH. You can try enabling the SSL option, rename it and disable it again. Which solves the problem?

  • Name of the dynamic product throughout several Masterpages

    I try to enter a 'product name' only once and fill through the header and the footer other master pages. They have styles different characters/paragraph that are unique to where the text is placed. All master pages are based on "A-template. I want to enter the "product name" and have it update the other specific areas of product of the manual.  I've looked through some variables of text but don't have not come up with something that works. Any ideas?

    img1.PNG1

    img2.PNG2    img3.PNG3

    The variable picks up text on document pages, not in addition to the captain, then perhaps it's another source of confusion?

    You put the variable marker on the master page, set to pick a style for your title page (that you must enter on the title page by yourself). The header running continues to display the first value until you add a new paragraph (probably on a new title page) with a different text.

    Here is an example of a book I have laid out several years ago that uses two running header variables:

  • Cannot add the domain name on the management page

    I bought the hair4specialevents.com domain to GoDaddy and also created a temporary site of the same name held in BC. I'm trying to take the direct site so that people can go to hair4specialevents.com (no need to enter the hair4specialevents.businesscatalyst.com).

    I finished the first part of the referral process to the servers of BC: the GoDaddy site I bought the domain name and he stressed the 15:00 name servers ns1.world... etc.

    Where I'm stuck, it's step 3 on the following page: Catalyst Business help | Change the domain name of your site

    Similar page, but I'm stuck on step is step 4: adding a domain name to your site and direct donor site

    , I clicked on the button manage in Muse who takes me to the main page of management BC for the site. I click on Site settings, click Site areas under him. But after I don't see any place to click on "New domain." I noticed that only two areas - areas worldsecuresystems.com and businesscatalyst.com.


    Why is there not a place where I can add hair4specialevents.com? The blue triangles next to 'A Records' etc don't anything even if looks like they should rotate down to reveal more information.

    It turns out that this is a problem with the Safari browser (or at least my version/settings). I have connected to the BC using Chrome, and then the "Add domain" button appeared.

    FYI if anyone else has problems, I am on Mac OS 10.9.5, Safari 7.1. But do not forget that the problem may be one of the preferences that I put in Safari...

  • What are the things to be changed when changing the name of the template page, Jehovah's witnesses, etc.?

    Hello world

    My version of jdev is 11.1.2.3.0.
    I developed an ADF application with a single page and it works fine.
    Now, I need to change my name to the page, so I changed and it also works very well.
    But while deploying gives the error as model-viewcontroller already exists because the earlier application without changes is already in the server.
    without disturbing the previous request, I need deploy this application changed as a new request to the logical web server.
    For these are all changes that I need to do and where to make them?

    Please give suggestions.

    Thank you.

    You only need to change the Web root and the application name (try again with the same name of the application, but I have ", not sure it works then).
    When you then deploy the server taking the ear a new application.

    Timo

Maybe you are looking for

  • Siri does not not on iMac

    I recently installed Sierra on my iMac and you encounter problems with Siri. The main problem is that while Siri is enabled I can't him to hear me. I rechecked the microphone (internal) working and activated, I rechecked Siri is activated, I turned o

  • transfer to backup iPhone to new computer

    Hi all I got my iPhone 5 saved on iTunes on my friend Macbook. My phone was stolen, but I have a spare iPhone 5 I want to restore the backup of my stolen phone. Problem is, I am currently in South Africa - with the Macbook, which contains the backup

  • Acer R7-572 blue light, dead?

    Hello Probably BIOS problem?When I press on the power of the blue LED turns on for 8 seconds, nothing comes on the screen, the fan does not start. I tried replacing the RAM, WIFI and HARD drive, still nothing. When you connect the power supply, it is

  • Update of Windows, external hard drive + sound problems

    I have a laptop Dell Inspiron 1720 with Windows Vista installed. I recently bought a Western Digital 1 TB external hard drive, which I forgot to unplug a couple times when I turned off the computer... Windows normally the thing 'install updates & sto

  • All the executable files (.exe files) are open with mozilla firefox by default.

    All the executable files (.exe files) are open with mozilla firefox by default.my system is Compaq Mini 311c-1101SA. I can't run that no matter what file.i executable can not install any program now