APEX_ITEM can be used to generate a form page?

Hello

I would use APEX_ITEM to generate in APEX 4.0 a form region at run time, based on metadata tables that describe the columns, the labels, the types of data etc...

It seems that people use APEX_ITEM for production as an update and I'm starting to question my original concept. I created a region of anonymous PL/SQL block, which contains the following code segment:

() HTP.p
APEX_ITEM. SELECT_LIST)
3,
« Y »,
' Yes; Y, no.; NO,.
« Y »,
'',
'',
"readonly = readonly',"
"P1_MARRIED,"
'Mary '.
)
);

When I run my form and click my link of "Session" at the botom of the page, the item of P1_MARRIED would not appear in the list of elements on the page. Am I missing something, or this concept to "Generate a form region to the execution" is based on my missunderstanding of APEX_ITEM API?

Best regards, Tamas

When I run my form and click my link of "Session" at the botom of the page, the item of P1_MARRIED would not appear in the list of elements on the page. Am I missing something, or this concept to "Generate a form region to the execution" is based on my missunderstanding of APEX_ITEM API?

It is not possible to dynamically generate page APEX elements.

apex_item API methods can be used in reports and PL/SQL areas to render the controls on the page, but these do not exist as part of the page. These controls to submit their values in a different way, using associative arrays, defined in the apex_application and validation package and their treatment is different from the page elements. See tables referring to the QAnywhere APEX for more information on how to access the values of the objects created using the apex_item methods. These values in table not stored permanently in session state in the same way as page elements and are therefore not available in the State of Session pop up.

The parameter p_item_id in apex_item API methods generates an attribute ID idHTML to CSS, jQuery, or DOM selector in the rendered page. It doesn't help (and cannot be referenced or accessed) on the server side.

In short: Yes, apex_item peut be used to generate a form page, but the result is not a form page with page APEX elements.

Tags: Database

Similar Questions

  • Hello Sir: I use a generator of form of oracle 10g and I want to search on two dates using between.how it is possible.

    Hello Sir: I use a generator of form of oracle 10g and I want to search on two dates using between.how it is possible.

    I guess its text fields are the date data type.

  • Created screen scene generator can be used on a JSP web page?

    Hi all, friends, my question is simple: a created screen scene generator can be used on a JSP web page?

    tiny tutorial?

    Thank you

    jamiguel77 wrote:

    Hi all, friends, my question is simple: a created screen scene generator can be used on a JSP web page?

    tiny tutorial?

    Thank you

    It is a forum for General database. Not sure that many of those who work here would know JSP. Do a google search if you please.

    Aman...

  • How can I use an external HTML form with a file upload in my page of MUSE?

    How can I use an external HTML form with a file upload in my page of MUSE? I know I can insert an external form, but how do I create a link to my email

    Yes, in most cases. If it is not in your actual embed code, you will need to be added to the script that uses the code. There are literally hundreds of form manages the codes out there on the web, it would be impossible to tell you exactly where it needs to be added. Your best option is to use a third party such as JotForms or WooForms shape provider and use the third Muse Widgets for these services.

  • Can I use a type of web page display when pushing a new screen?

    Hi all

    Can I use a type of web page display when pushing a new screen (java application)?

    Check with BrowserField. You can find the browserfielddemo example in samples of JDE.

  • I installed the photoshop of 2015 and the icons are huge. I can't use the preferences because the page is too large to navigate. How can I solve this problem?

    I installed the photoshop of 2015 and the icons are huge. I can't use the preferences because the page is too large to navigate. How can I solve this problem?

    Set the user interface of the scale to 100% in your preferences and restart Photoshop.

  • Can I use SetFld for GenPrint of page banner fields?

    I have a form of page banner with several fields of variable top to display information specific to the batch it is included with (for the area of publication after manipulation). Currently, I put these values by assigning variables of the same name (as fields) in a DAL script called as my BachBannerBeginScript for this batch. The fields on the page banner form/section have a NOOPFUNC rule, so without that happening assign process during script DAL, they are intrinsically worthless. This has worked well so far.

    Now I have a new banner to a different batch/process page, and its purpose is to be a "synthesis report" of sorts, detailing on the banner page of General information about each document included in this batch. I take information from the batch (bch) file, read in an additional external file and aggregate the data in GVMs (to form a table, essentially) during the BatchBannerBeginScript. The problem I have now is that I have an array of variable size (based on the document time in my batch file), but I know I can't use functions allotted to me in GenData, and so I basically have to predefine as many instances of the section (if I make a report by section line) or field (if I make an article with all instances of the field about it) that I think are possible (max-scenario essentially).

    However, after that I have my article/fields defined, I always use DAL script to populate these fields. I tried to use SetFld to fill, but values do not appear in my output, leading me to believe this rule function does not work in GenPrint. Is there a better way to put all these fields that explicitly assign each instance of a field? I'd rather have a few moments in a loop that takes to a PTC instance and assigns a variable field name than to have hundreds of assign statements where I assign explicitly each possible field.

    Thank you

    Gregg

    Yes you can. In fact, it is not a rare thing to do. You just need to use the script associate banner option to identify the DAL routine to perform to make your mapping. This assumes that you have already enabled support for printing banner page. Say that the lot will have the script is the CLIENT, he would do something like this:

    < customer="">

    TransBannerBeginScript = MyScript.DAL

    I'm reasonably sure that you can declare a global script by using this same option under the < printer=""> group.  That would run on any package recipient who does not otherwise specify a different script.

  • 10.1.3.4 Jdev can be used to extend/customization of pages of OAF (EBS) 11.5.10?

    Hello

    We will customize/extend 11.5.10 EBS OAF (Eg iExpenses) pages.
    I believe jDeveloper 9i is generally used for OAF (11.5.10)

    Can we use jDeveloper 10g (ADF) to customize/extend the pages of the OFA.

    Also training material/documentation available for the OPS for 11.5.10 customizations?

    Thank you

    Hello

    Note: 416708.1 on Metalink has a list of all the JDev patches for different versions of the Oracle Applications.

    You must download the Patch 4573517 from Metalink FIR Jdeveloper 9i

    thanx

    Pratap

  • Can I use program generator to change a field in the contacts that run a campaign?

    I am a new user, Eloqua, from a company that is a new client Eloqua (E10), try to penetrate the opaque world of the program Builder (PB).  I have spent some time looking for answers, but just empty and hope you can help: to end a pretty simple campaign of the canvas (CC) campaign, I want to edit a field in a contact to indicate that the contact has traveled the countryside. (We want to be able to easily return the bit on this area apart from Eloqua so that the customer returns in the campaign).

    I know CC this is impossible, but I gleaned that can of PB. And if I understand correctly, CC can put contacts in a program of PB.  My question: How can I build (and a link to my campaign) a PB simple program to change the value of a single field in everyone who enters the program through campaign canvas?  Is it still possible?  Is there a simpler way that I don't see?  I am really a beginner, so be gentle if I'm missing something basic.

    Thanks in advance!

    -Kevin

    Post edited by: Kevin for spelling/typo

    Yes, you can go to the canvas of the campaign on the program generator. You can still run a segment on the contacts that have responded to a campaign, if you're looking for just a way to pull the contacts who have or have not entered a campaign. Here is a basic outline of what you try to do with PB and the canvas of the campaign.

    To update the field in the program generator, you need to first put in place a rule update for updating the contact with a value field. (Updated contacts--> data tool--> new rule). Use the option 'Set to Value' in the update rule.

    Then build a program in PB with three steps - Enter (passage of the stage), update a Contact with the updated rule, program output.

    Then, as a campaign backdrop, choose either the "add a program" or "move to the program." 'Add' will maintain contacts in the campaign and 'Add' the program 'move' will move them to the campaign in the program. Whatever it is, choose the update program and step 1 at the stage of the campaign.

    Do you need more specific information?

  • Can not use the hash within forms (tips) function

    Hello Guru,

    Oracle 10.2.0.4.0 on Linux ES4 with a forms 6i application.

    We have this simple hash function that I use as a program unit on a user form in forms 6i.
    It hashes passwords using this function;

    create or replace function md5 (value varchar) return varchar2 is
    v_input varchar2 (2000): = value;
    hexkey varchar2 (32): = null;
    Start
    hexkey: = rawtohex (dbms_obfuscation_toolkit.md5 (input = > utl_raw.cast_to_raw (v_input)));
    return of nvl (hexkey, '< null >');
    end;
    /

    I want to use it on a front Insert and before update trigger within forms. When I have the use of the md5 function code it gives me an error something on air of "cannot use this function in a sql statement" for example, that I expect to use it as follows:
    insert into users (username, password) values (: user.username, md5(:user.password));))
    and the same would go for the update.
    I know that I can pull this off the form code and create an insert or update trigger after and call that the md5 function here, but I like to keep the code of hash in the user form - I already have 4 triggers in database on the table and do not want to create more.

    Any advice would be great... :-)

    Just a small chance: try to call the function by using the names of block and item OTHER than: user, user name, and password.

    All or part of them are reserved words, and maybe that's the problem.

    If not, why not just call the function in the form to define a declared value of pl/sql, and then use this value in the insert and update statements.

  • Generational dynamic form page

    Hi, I would do the following, but need help:

    I have a standalone PDF, reader-stretched shape.

    It has 5 pages,

    on page #1, there is a number field,

    what I want to do is.

    say for example, when the user enters a number (integer) 3,

    I want to dynamically generate the 3 series of (page #2 + page #3)...

    Thus, the final result is this:

    Page 1,

    page 2,

    page 3,

    page 4, (identical to the page #2)

    page 5, (identical to page #3)

    page 6, (identical to the page #2)

    page 7, (same as page #3)

    page 8, (identical to the page #2)

    page 9, (identical to page #3)

    page 10, (the original page #4)

    page 11 (the original page #5)

    How to do this? could someone help please?

    If would be great if you have a sample that I can model from.

    TIA

    Hello

    If pages 2 & 3 can use the same Master Page, try:

    Page1

    Page2

    -SubformPages2and3

    -SubformPage2

    -SubformPage3

    Page4

    Etc.

    • limit the 'Page1' case 1
    • You can set the restrict 'Page2' occurance 2 x the max of the "_SubformPages2and3" case
    • set the binding to repeat subform (do not forget to put a Max) & check "Allow page breaks" tab subform of the range of the purpose of "SubformPages2and3".
    • Uncheck "allow page breaks" tab subform of the range of the purpose of "SubformPage2".
    • Uncheck "allow page breaks" tab subform of the range of the purpose of "SubformPage3".

    Then use the output of the numericField event

    var numRepeat = numericField

    _SubformPages2and3.setInstance (numRepeat)

    or in JavaScript

    var numRepeat = numericField.rawValue;

    _SubformPages2and3.setInstance (numRepeat);

    I would consider a drop-down list instead of a numeric field to avoid the error messages "exceeded max number of instances" when the user puts too.

    or

    Use a comb to 1 or to define profiles to allow only 1 numeric character.

    I hope this helps!

    Stephen

    Post edited by: kingphysh

  • My arrows don't work in Firefox. I can't use them to scroll a page.

    Somehow, I pressed a key combination on my keyboard which now always puts a cursor in my Internet browser page content. And now when I try to use my arrow keys on the keyboard to scroll to the bottom of e-mail, content, etc., it jumps to the top of the page instead of scrolling. How can I fix?

    Yes, this is called "keyboard navigation" and you can disable it on the page of preferences here:

    • Mac, either:

      • button '3-bar' menu > Preferences > advanced > general mini-onglet
      • Firefox menu > Preferences > advanced > general mini-onglet
    • Windows, either:

      • button '3-bar' menu > Options > advanced > general mini-onglet
      • Tools menu > Options > advanced > general mini-onglet

    Uncheck "always use the cursor keys to navigate through the pages."

    Success?

  • Can I use the Connect By operator to generate a set?

    Connect By operator is a way to manage hierarchical models implemented through tables.

    Is it possible to use generate games as in CTE (or of the recursive subquery factoring)?

    Hello

    user576036 wrote:

    Sorry, I should have made myself clearer...

    Connect By using hierarchical tables: we take such a table and find all the managers of a worker or all ordered sub of a Manager, etc..

    The CTE has also the possibility to take a select degenerate double and create from it a set of all numbers up to...

    My question is if there is a way to use the connection by to create a game of duel, or it is impossible, and it works with hierarchical tables?

    It is obvious that the CTE can all Connect By possible.

    but it is also true to the other side?

    Another question - what year was published the first version of Oracle that supports CTES?

    Thank you very much!

    CONNECT BY a designed for contiguity-model trees, as you described.  In my previous post, I said that this was an area where CONNECT BY might be better than a WITH recursive clause.  If I gave the impression that CONNECT BY is not good for anything else, I apologize.  It is very useful for other things and better than recursive WITH many clauses.

    For example, CONNECT BY can be used to generate a 'meter' table, for example, to get a 10 ranks, contain integers from 1 to 10:

    SELECT LEVEL AS n

    OF the double

    CONNECT BY LEVEL<=>

    It's actally a common use of CONNECT BY, and it is very effective.

    I don't think that CONNECT BY can do everything that can make a WITH recursive clause.  Perhaps CONNECT BY as well as MODEL or some XML functions, can do that a WITH recursive clause can do, but it could be much more difficult and far less effective.

    WITH the clauses were new in Oracle 9.1, released in 2001.

    Recursif WITH clauses were new in Oracle 11.2, released in 2009.

    I think it's interesteing CONNECT BY has been integrated into Oracle 2, released in 1979.

  • A function can be called record group - Oracle Form 6i.

    Hi all

    I want to create query based LOV in Oracle Form 6i.

    The query I have use of the record group is as follows:

    SELECT DISTINCT

    Nr.rec_locator AS rec_locator,

    car.car_dte AS car_date,

    Get_car_info(:CON.) REF_NO) AS car_number

    Car_list_entries CAR

    contact_details cdt,

    name_records nr

    WHERE car.car_id = cdt.car_id

    AND cdt.nr_id = nr.id

    AND cdt.con_ref_no =: CON. REF_NO

    / * Get_car_info (x NUMBER) is a function of form * /.

    This generates an error:

    It is said

    FRM-12001 (impossible to create the Group Record (check your query)


    Kindly guide how can I use the function of form to achieve the desired result.

    Thank you very much

    Anoop.

    Hi Anoop,

    I can assure you that the issue is not because of the called function of the record group.

    I used the query showing the value of the function; but one thing you should keep in mind is:

    If you create a new item not related in a based lov to sql expression that

    return a character data type, and if the element related to the used in the function

    is generated with a size of 0, then the item not related is generated

    with a size of 4000 and a compilation of the form failed with error FRM-30187

    the solution to this problem is: lov property > column specification > columns one will be having a greater length and 2000 it set its 2000 which is the maximum value. Then it won't work.

  • I can't capture scrolling screenshots of Web pages more since the new design of the tab.

    Since the launch of the new design label in Firefox, I can't use the scrolling screenshot of page in standalone clients or modules. I can capture scrolling web pages in other browsers, but Firefox is my main browser and I don't want to switch to Chrome. Is there another medium or that I have to wait for the next version of Firefox that solves this problem.

    Window capture for 2 different stand-alone clients place the box above the tabs that seems to prevent any scrolling. All the advice that can get this working again? I tried using SnagIT and PicPick Portable. Does not work for the latest version of FireFox. Thank you.

    Shows details of the system;

    Plug-ins installed

    Shockwave Flash 14.0 r0
    Shockwave Flash 13.0 r0

    and

    Adobe PDF plugin for Firefox and Netscape 11.0.07
    Adobe PDF plugin for Firefox and Netscape "9.5.5.

    Having multiple versions of a program can cause problems.

    Update your Shockwave Flash v14. http://get.Adobe.com/Shockwave/

Maybe you are looking for