Set the Item properties during execution

Dear all,
I want to develop a partially dynamic form (same form will read different tables and different details dynamicaly).

In the meantime, I am able to view these details on the screen in the form of character values. Now, I want a way to modify the other properties of these items.

Here's the perperties I want ot change.

Item type: Element point text, number, Date
Label of the element:
Format mask:
Width of point:

In Oracle Forms, I did something similar to this. Here, I used SET_ITEM_PROPERTY integrated procedure. So here I am looking something equalant to this Summit in.

Thank you

One way to do that would be to use the different elements and show them only under certain conditions.

You can change some properties and some of these properties in JavaScript (like width) as type can be changed but need separate codes for different browser (change of the item type) after having made. Some properties of the apex can take the chains of substitution.

You can create an item by using the APEX_ITEM API in a PLSQL region, or even go further by running the code using an ondemand/PLSQL code dynamic Action and then insert the content generated for the page HTML using Javascript.

If you are on apex 4.0, the best way to do that would be to use a plug in type element that can take these attributes (taking to strings of points/substitution of page) and generate the HTML based on these settings and attributes. That would be probably the most flexible, shouldn't any other code page JS, no debris/relics anywhere on the page indicating such treatment and no change in the javascript code PLSQL page process (which depend on the name of the element)

Tags: Database

Similar Questions

  • How to set the item from page to page submit

    Hello

    I created the "receipt" form sample.  This is a page of 'form on the report '.  During file creation, I want to set the FINANCIAL_YEAR column value variable of G_FINANCIAL_YEAR and RECEIPT_NO with the return value of pl/sql by questioning the last reception according to the RECEIPT table.  How can I do these things in the form?  I use APEX 4.2.6 EPG.

    Both these two columns (FINANCIAL_YEAR & RECEIPT_NO) are part of the primary key.

    Thank you

    -Anand

    Hi anand_gp,

    Please share the name of workspace for apex.oracle.com.

    So, I can look into it and determine the problem.

    Meanwhile, in the screenshot above, it looks like you use display only one Type of item to the point of the exercise.

    So, to access the element of fiscal year-> settings-> Set to Save Session State to Yes.

    Then try again.

    I hope this helps!

    Kind regards

    Kiran

  • How to hide the ADF table during execution

    Hi all

    I use Jdeveloper - 11.1.2.4.39.64.36.1 version

    Is it possible to show only the tables with associated in the same lines and hide tables with no record.

    For ex: Let's say that at the time of the design, there are three related data tables with the diagram below.

    Table 1
    Table 2
    Table 3

    However, during execution, there is no record for 'Table 2', but the table 1 and table 3 have records associated with them.

    Is it possible to hide the table 2 and get the following provision -

    Table 1
    Table 3

    According to the schema, table 2 should hide, and table 3 should get reordered under table 1 directly.

    Best regards

    Ankit Gupta

    Hello

    You can set the property visible from the table to something like #{bindings.. estimatedRowCount gt 0}

    Arun-

  • Can not set the print properties

    Just loaded FireFox 4.0.1
    When I click on
    file
    print
    and the print window opens if I click
    Properties to define the quality or black etc. only I get
    an error box that says:
    Error
    Prop Res DLL not loaded

    I tried exactly the same thing using Windows internet explore and the Word for windows, and these all are working
    perfectly. I can click Properties in the print window and
    the value of what I want on my printer.

    I rebooted and no help.

    I'm about to go back to the previous version of Firefox
    Since I print a lot of websites and I often
    you want to set the print mode project to save time and ink.

    Can you offer any suggestions other than coming back
    the earlier version?
    Thank you!
    KyDan
    Louisville KY

    This seems to be a problem for a long time with the Lexmark printers who has just started to happen in Firefox 4.

    An example

    http://forums.techarena.in/MS-Office-support/596409.htm

    This Google search.

    Check out this thread for support for a solution that has worked in 2006 for a similar problem with another Lexmark printer. I hope that something like this will work for you.

  • Enter the mathematical expression during execution

    Thanks to LabVIEW 7.0.  Is there a way to enter a mathematical expression during execution?  I am collection of bytes of a device in which the user may have to configure the runtime.  For example, if a package returns 2 bytes, i and j, the user wants to run an equation on the bytes as y = 200i - 3j.  The equation could be anything.  I looked at Expression nodes and formula, but it doesn't seem to be a way to get into the equation by program.  Anyone has any ideas on this subject?

    Thank you.

    I opened LV 7.1 which is the oldest I have.  In this version, the mathematics are in the palette to analyze it.

    In the functions palette click on search and type "parse" or "formula". These searches are formula several screw analysis

    If you have only the Base of LV version, you don't have these screws

    Lynn

  • How can I draw several plots by using the XY graph during execution?

    Hello

    I want to draw several plots in the graph XY to the means of execution user will select the number of plots that he wants to draw, depending on this value, I have to get these values and use table generation and then I give to graph XY.

    During execution, but how to do this?

    Please help me in this regard.

    Kind regards

    Herald

    Why start a new thread?

  • Rename the files in the dir folder during execution.

    Is it possible for actionscript and my request to rename a file during execution.

    for example

    TextFile.txt and rename textfile.draft (.draft extension would be accessible by my application only)

    any suggestions would be greatly appreciated.

    Dave

    Refer to the documentation of flash.filesystem.File.moveTo ().

    Also, make sure you only specify the authorization/action access_shared in the blackberry file - tablet.xml.

    Note, however, that if you really want this '.draft' file accessible only to your app, possibly you should rather make a copy in your folder of applications and only 'release' to shared folders when it is no longer a project.

  • How to disable the close button during execution

    Hello world.

    Please help me how to disable the close button at the top of the window during execution. I don't want the user to use this button to close. I used the button called out in this form but sometimes users of closing by clicking this button.

    I use the formula of Oracle 10 g R1.

    Thanks in advance,

    Or if you want to stop the closing by button close the main WINDOW. Then create a trigger on called KEY-OUTPUT at the FORM LEVEL and just write the value NULL ex.

    Trigger = KEY-EXIT (FORM-LEVEL)
    NULL;
    

    -Clément

  • Set the individual properties of elements with layout tabular insated of all possible?

    Forms [32 bit] Version 10.1.2.3.0 (Production)
    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    Hello

    I have a form with an configuration master block as a tabular layout. In this block, I have a button that calls a form of sub with the detail for this master block records. What I'm trying to do is change the color of the button for this specific record if it has detail records. I did it for another form, but in this case, if I set the color property for the button to change the color for ALL buttons in the page layout table (since it is the same element) is possible to change only the color of the button on the document that has a record detal and not the rest?

    You use the built-in function of Set-point-Instance-property and set attribute plastics (PV) to change the appearance of the button.

    Craig...

  • can I add a menu item to the messaging application during execution (after the reading of the object and decide whether to add this menu item or not)?

    Hi all...

    can I add a mail application menu item when running...

    I want to open a mail, depending on its content, I want to decide whether to add an element or not or at least change the name of my customized according to the context of the email...?

    Please help anyone

    still no

  • Name of the instance change during execution

    Hello

    I have a FLA where I added three footage, each having a unique name. I put the name of MC in the properties panel, but also give a name to the MC during the conversion of an image (by clicking F8), to a MovieClip.

    When I run the swf file and the names of the children in the output swf file, I find that the name of one of the MovieClips changes, for example from myFirst_MC to trial.8.

    To generate the names of MovieClip, I loop over all the children of the swf file and output the name like this:

    for (var i: uint = 0; i < numChildren; i ++) {}

    var screen: DisplayObject = getChildAt (i);

    trace (display.name);

    }

    Why the name of the instance of a MC change? And how can I avoid this happening?

    Thank you

    Stephen

    Sounds like you have missed to give an instance name to one of the objects using the properties panel, or you have something else on the stage that you don't realize is being counted as a child.  The name you give when you use F8 is not related to the part of the program code.

  • How to set the item selected when particular comboBox Executive?

    I have a comboBox with all elements with the data and labels (defined in the parameter of the comboBox). However, I can't put the comboBox data element to display when the frame, like this:

    var listenerObject:Object = new Object();
    listenerObject.load = {function (eventObject:Object)}
    _root. DBI SelectedIndex = 3;
    };
    _root. CB.addEventListener ("load", listenerObject);

    What's wrong?

    You cannot use the load event on a framework, because at the moment where the code executes, the element has already been loaded. But what you can do is to set properties directly in this context wihtout the need of an auditor. Just write this line instead of all of the previous code:

    _root. DBI SelectedIndex = 3;

  • Create the display object during execution

    Hello

    I have a requirement to create an instance of a DisplayObject which type will not know before execution.

    For example, instead of:
    public myObject:Button var = new Button();

    I want to be able to do something like:
    myObjectName:String public var = "Button";
    public var myObject: [myObjectName] = new [myObjectName];

    What is the syntax to do?

    If you have only one name (string) to convert a class, you need to complete (namespaced) name and use the library flash.utils AS introspection. specifically getDefinitionByName().

    var myClassName: String = "mx.controls.DataGrid; for example
    var myClassRef: Object = flash.utils.getDefinitionByName (myClassName);
    var myClass: class = myClassRef in class; should be first tested to make sure that is actually a class...
    var myInstance: Object = new myClass(); with optional params...

    If you treat first General names, such as "Button", you will have to map to the fullQualName appropriate "mx.controls.Button", etc.

    Hope that helps.

  • Reading several files / locate the data source during execution

    Hi all

    I have a requirement of the company in which I need to read files to different folders. This system is not hosting the ODI agent. There are two folders, the folder A and folder b. Two records may have any number of files. My intention is to read the files in a folder and write the data to a table in a database that resides in another system. This forms a flow for me. For the B folder, I have a similar flow. All files (in the folder A and folder B) have the same structure. The requirement is to read A book during the week and the B folder on the weekend. The system that has the database also runs the ODI agent.

    Here are my questions:

    1. How can I read several files one by one in a folder? Because the read files must be archived, they need to be written in a different folder, file C (for example). How do you archive part? Please note that this machine does not run ODI agent (network share could be an option, but we try to avoid it.

    2. can I have only an interface to read files in folder A and folder B? Everything else remains the same (the processing logic/transformations etc.). Indeed, is there a way to dynamically switch between two files (using a variable, perhaps).

    I've not worked with files and so any help is greatly appreciated.

    Edited by: Sankash 7 May 2009 08:24

    Hi Sankash,

    Hopefully I can help you achieve this task.

    Please go through this link

    Re: import files in a table

    1. you can update the status of the process of the files in a journal/temp table.
    Based on the State of the (transformed) file in the table, you can check the files that has completed its process correctly.

    machine does not run ODI agent:-J' have it is implemented the same type of scenario, in which I am downlading all the files in a common location and treat it from there.

    2. one of the solutions is that: -.

    create two interface with the same structure, but the source table must point to the folder A and B
    Create a variable (week/check) and based on the value, you can call the interfaces.

    second option: -.

    If you're downlaoding the files in a common location, you can reach the spot through a single interface (down load files from folder A or B according to in week/weelend)

    3. If all the files have the same structure, you need only a data store and it should be a variable data store.

    If something is not not clear please me ping / mail to my id (good that now I don't get enough time to go through the forum discussions)

    Also if you need I can send you a diagram wokflow for this loop (read multiple files one by one in a folder)

    Kind regards
    Pascale of M

  • Rename the text in a cell in the control tree during execution

    Hi all

    In fact, I'm stuck upward at some point. On the photo front, that I have attached, there is a tree control and two buttons (re, stop) .when I press the button rename, I want the selected cell in the tree control to increase and when I get the text via the key board the cell must be renamed. Can anyone suggest me how to proceed?

    Thank you and best regards,

    srikrishnaNF

    Hi guruthilak,

    Thanks for the reply, but I did it in a different way, where I tweaked with a control of the chain. I enclose this VI.

    Thank you and best regards,

    srikrishnaNF

Maybe you are looking for