Can APEX_ITEM be used to generate a Form page?

Hi,
I would like to use APEX_ITEM to generate in APEX 4.0 a Form region at runtime, based on some meta tables that describe the columns, labels, datatypes etc..
It seems that people use APEX_ITEM for generating updatable tabular form and I start to question my original concept. I created a PL/SQL Anonymous block region, that contains the following code segment:
htp.p(
APEX_ITEM.SELECT_LIST (
3,
'Y',
'Yes;Y,No;N',
'Y',
'readonly=readonly',
'P1_MARRIED',
'Married'
When I run my form and click my 'Session' link at the botom of the page, the P1_MARRIED item would not show up in the item list of the page. Am I missing something or this 'Generate a Form region at runtime' concept is based on my missunderstanding of APEX_ITEM API?
Regards, Tamas

Tamas Szecsy wrote:
Thanks, that was enlightening!
So if I understand it well, it means that:
1.) I have to give my region 'Form like' layout by using htp.p appropriately. Yes. A custom named column report template is another useful approach.
2.) What concerns the update processing, it means I should handle the region as a 1-record report i.e. using Fxx arrays but always referencing the first member of each Fxx array only: APEX_APPLICATION.G_Fxx (1)Yes, unless there are actually any 1:M elements (home, work, and mobile phone numbers/email addresses for example), where the same type of element is repeated. (This might also help with point 3...)
Note also that disabled items are not submitted, and only checked checkboxes are submitted
3.) I am OK, provided that I generate maximum 50 items on a page, since 50 is a hard-coded limit that can not be gotten around. (I will have to work out solution for this, since i have 53 columns in the given table)Dividing the form into several wizard-style pages as used in the APEX Application Builder is probably the best solution to this. It enables you to keep the sub-form pages simple, clean and short, so users don't have to scroll up and down. Save the submitted values from each sub-form page in APEX collections, and display a final report based on the collection(s) for the user to review before saving the information to the database table.
Alternatively, some of these columns might be common across all the form permutations, and implementable using standard page items.

Similar Messages

  • Can indd be used to make tablet forms

    Can indd be used to create fillable forms for use with tablets?
    Currently I use indd to create forms/applications and then save them as a pdf.
    Using Acrobat Pro X, I make the forms/apps able to be filled out.
    The end-users for these documents need to be able to add descriptions, which can vary in size.
    All I can do now is just supply extra pages, but this leaves a lot of blank space if they don’t fill it.
    I have used LiveCycle, but am neither happy with the results, or proficient with how to use it.
    I need forms that look like all the other forms the company is using.
    Can anyone help me with this problem?

    What I really need to know is can indd do the job. The end users at present are using the letter size forms, and because of other restrictions within our system, these forms will need to remain a letter size. Also, these forms are for internal use only, within our business, and will never be used on a mini tablet. When I was at the Print Expo, someone said indd could do it. I just want to know how. There has to be other ways to create forms for tablets besides LiveCycle. I took the LiveCycle training, and it is hardly supported by Adobe. What other options are out there?

  • Why can't i use an installed font in pages??

    hi..
    i´m now using the news OS X and the news pages version...
    but now my installed font can't be used unter pages...
    there is still the standard s*** but not that what i installed as ttf
    within the font collection i can see it installed... i still can use it at the notepad... but not in pages..
    WHY???

    majopro wrote:
    but now my installed font can't be used unter pages...
    Just go to Format > Font > Show Fonts and select it there and you should be able to use it.

  • Problem using Auto Generated Task Form with Autogenerated ADF controls

    Sorry bothering you again, but I'm in troubles again.
    I'm using an autogenerated page for a human task with adf controls. Generates fine, it's deployed in App Server and runs Ok, buth when you try to see the form, you get this error:
    500 Internal Server Error
    Servlet error: Security sensitive exception occured. Please consult application log for details.
    And in the log, I got:
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Class not found:oracle.classloader.util.AnnotatedNoClassDefFoundError
         Dependet class: oracle.bpel.services.workflow.adfforms.BPELWFDCDef
         Loader: oracle.bpel.common:10.1.3
         Origen : /C:/programs/com/oracle/SOASuite/10.1.3.1/bpel/system/services/lib/bpm-services.jar
         Configuration: <code-source> in /C:/programs/com/oracle/SOASuite/10.1.3.1/j2ee/oc4j_soa/config/server.xml
    Class can be found in:
         1. Code origen: /C:/programs/com/oracle/SOASuite/10.1.3.1/BC4J/jlib/adfui.jar (from <code-source> in /C:/programs/com/oracle/SOASuite/10.1.3.1/j2ee/oc4j_soa/config/server.xml)
         Este origen de código está disponible en el cargador adf.oracle.domain:10.1.3.
         Este origen de código está disponible en el cargador adf.generic.domain:10.1.3.
         2. Origen de Código: /C:/programs/com/oracle/SOASuite/10.1.3.1/BC4J/lib/adfm.jar (from <code-source> in /C:/programs/com/oracle/SOASuite/10.1.3.1/j2ee/oc4j_soa/config/server.xml)
         Este origen de código está disponible en el cargador adf.oracle.domain:10.1.3.
         Este origen de código está disponible en el cargador adf.generic.domain:10.1.3.
         at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2264)
         at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1462)
         at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:645)
         at oracle.classloader.SearchPolicy$CheckSharedLibraries.getClass(SearchPolicy.java:396)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:38)
         at oracle.jbo.common.JBOClass.forName(JBOClass.java:164)
         at oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:132)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
         at oracle.adf.model.BindingContext.get(BindingContext.java:457)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:128)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.<init>(JUMethodIteratorDef.java:138)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.createIterBinding(JUMethodIteratorDef.java:93)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.createIterBinding(JUMethodIteratorDef.java:84)
         at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
         at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
         at oracle.adf.model.BindingContext.get(BindingContext.java:483)
         at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
         at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
         at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:261)
         at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:165)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    There is something I must add?

    See if this helps -
    https://forums.oracle.com/thread/2460140

  • The system requirements for Mavericks used years of production for the computer requirements.  Why can't they use the generational number system?

    Office location where Mac Pro is located has a slow internet connection.  I downloaded Mavericks installer onto thumbdrive.  Attempted to install on a dual 3 core Xenon Mac Pro, model 2,1.  After a few hours, I figured out that the error message that was generated by the installer was telling me that my computer doesn't support Mavericks.  Do other people get confused with which generation of hardware is supported with software?  I understand the difference between PowerPC and Intel.  The tricky part is the difference between 32bit and 64bit with the EFI and the CPU instruction set.  Also, why can't they stick with a clear numbering system that is visible when you get info on the Mac? 

    If you are desperate you can use hackintosh tools to boot in 'legacy' mode which allows 10.9 to run on unsupported Macs. Chameleon bootloader & some google fu will get it running in an unsupported way (assuming your graphics card is supported).
    I think Apple dug this hole when they told everyone that these were '64bit Macs'. Sadly if they don't support 32bit EFI in their new OS it's not going to work by default. In other discussions I have read that drivers need to be rewritten for actual 64bit support on a 32bit EFI.
    I have run 10.8 on my 1,1 MP, but 10.6 was nicer, at some point I'll try 10.9 on it
    P.S. http://mactracker.ca and http://www.everymac.com are handy for working out what model supports what features etc.

  • Can Automator be used to generate iCal backups?

    I would like to use Automator to run iCal's backup utility - namely File > Back up iCal....
    Has anyone done this? It seems like this should be fairly straightforward but I'm not seeing how this can be done from within Automator. TIA!

    Couldn't figure out how to do in Automator but I took a crack at writing an Applescript that works.
    This saves the iCal backup in your home folder and overwrites the previous copy. You'll need to create the first one yourself and then the script will work.
    Here is the script:
    tell application "iCal" to activate
    delay 2
    tell application "System Events"
    tell menu item "Back up iCal…" of menu "File" of menu bar 1 of application process "iCal" to click
    delay 3
    keystroke "iCal Backup"
    keystroke "H" using command down
    delay 3
    keystroke return
    delay 2
    keystroke tab
    keystroke space
    end tell

  • Can ARD be used to generate a software inventory?

    I need to be able to generate a list of all installed apps on each Mac for inventory purposes. Can ARD do this?

    Yes. You can do a file search for Kind is Application (if I'm remembering the phrasing correctly; I'm not in front of an ARD 2.x admin station at the moment) and you'll get a list of all the apps. You'll get some "chaff" - AppleScript applets and such - but it's not hard to weed those out.

  • T500 - HDD for Ultrabay - can it be used for Recovery Media & Backups & Page File & data?

    I'm learning to check first before buying things.
    I am considering getting a generic ultrabay SATA adapter
    http://cgi.ebay.com/SATA-adapter-IBM-THINKPAD-43N3412-R400-W500-X200S-R500-/130441260492
    and a WD 7,200 HDD
    http://www.newegg.com/Product/Product.aspx?Item=N82E16822136278
    Can the ultrabay HDD be used for Recovery Media, and also Backups, page file, and other data?
    And can the Backups on this HDD be deleted, so only the last backup is present?
    Also, is it possible to use a HDD in the ultrabay slot, without an adpater?  My T500 is a desktop replacement currently, so the HDD wouldn't need to be protected from movement or bumps.
    Thanks for any ideas

    For all of you who know less than I do,  a HDD in the ultrabay slot can be used as a Recovery boot, and for the R&R backups.
    These must both be put on the primary partition of the HDD.
    I believe, but can't test or confirm, that another partition (logical partition) could be added to the drive and used for page filing and data.

  • PhotoBook:  Can it be used for very technical Illustrator pages?

    I'm considering PhotoBook to print an 8 page technical document with tons of text, diagrams, photos, and illustrations. The font goes as low as 6pt in places. Has anyone tried this with Apple's printing services?
    I know it can be done and don't really need instructions on doing it (unless someone can suggest a better method than JPG conversion). I'm really just asking if the results will look sharp and crisp.
    How's the downsample between iPhoto and the final printed page in other words?
    Many thanks.

    Welcome to the Apple Discussions. For one the minimum number of pages you can have in a book is 20. That's due to the binding requirements. What format was the technical document created in?
    You can do a Print->PDF->Save PDF to iPhoto and get a jpg of each page of the document. However you may have problems with putting portrait oriented pages on a books landscape page and iPhoto books cannot be changed to portrait orientation.
    You might investigate another online book provider that would have the portrait oriented layout. Some are:
    Sites for Ordering Bound Books
    Ofoto
    Shutterfly
    SharedInk
    ImageStation
    PhotoWorks
    Viovo
    Blurb
    You could then use the pages as jpg images from the method described above. To get maximum resolution download the add the workflow I created in Automator that ups the dpi of those jpg files to 300 to your HD/Library/PDF Services folder. You can download it from Toad's Cellar. It's called Save PDF to iPhoto 300 DPI.workflow. Or you can create your own by following Old Toad's Tutorial #5 - Changing the DPI resolution of the Save PDF to iPhoto Automator workflow.
    Steps 1 thru 5 of Old Toad's Tutorial #6 - Creating an iDVD Slideshow From an iPhoto Book describes how you would convert an iPhoto book to jpg files and get them into iPhoto for use as needed.
    Also, Old Toad's Tutorial #19 - Creating a Custom Text Page, with the Theme's Background for an iPhoto Book describes how to create custom pages for an iPhoto book.

  • Can the template used to export a web page in iPhoto be modified?

    If not, is there a way at least to change its default settings? Thanks! --pete

    I have iPhoto 9.4.3. The command is File>Export>Web page. The dialog box allows the user to set parameters for number of columns and pix per column, photo sizes, page color and template. There are only two template choices and I'd like to know whether additonal templates can be added, and whether there is any way to save the settings for exporting a web page. As usual, it works fine, it just doesn't do everything this user wants.

  • Auto-generate new form as additional page

    I have a form I created in Adobe Acrobat. Is there a way that Acrobat can be set to auto-generate that form on additional pages as the need arises or is the only way to do this is create the additional pages initially?

    Yes, a form created in Acrobat can do this by spawning a hidden template page using JavaScript. If it has to work with Reader, however, you users will have to use Reader 11. It can work with older versions of Reader, but only if the document has been Reader-enabled with LiveCycle Reader Extensions, as opposed to just Acrobat.

  • Can Expression Design be used to create whole website pages???

    I have been looking at Design and dont know how to use it, and the help is of no help. Can Design be used to build whole web pages???
    Thanks, in advance!

    No.
    Expression Design is a vector art graphics design program.
    Expression Web is a professional-level web site design tool.
    A horse walks into a bar. The bartender asks "Why the long face?" "Because I was born into servitude and when I die my hooves will be used to make glue." It was at this point that the bartender realized he would not be getting a tip.

  • SQL INSERT / SQL UPDATE don't work with form page, don't affect table

    The subject line says it all. No matter what I try, my updates on the form don't appear on the report page, which accesses the table. When I look at the table using SQL WORKSHOP, the changes aren't made there either. What am I missing? I have another report page and form page with a different table in the same application and updates in that table work fine. I coded them both the same. What should I be looking at?
    Steve "the n00b" in Raleigh NC

    Steve,
    How you have created the FORM page? Using FORM WIZARD? Or You have created blank page and after that you have manually created all the form items?
    If you have used WIZARD to create form page, then you can see a page process with Automatic Row Processing (DML) type. Here you need can set DML (Insert/Update/Delete) you wish to use on this form. APEX will take care of the rest.
    If there is no such process in your page, then you need to create one. You may have one process to do both (Insert and Update) and you can have two sepate processes. I prefer having two seperate page processes (after submit), one for Insert and one for Update.
    Now you can make the Insert process conditional so that it only execute when you click button - Create (Add or any similar button you have ) Also make the Update process conditional so that it only execute when you click button - Save (Update or any similar button you have )
    Just a quick note - From the above trigger, I can guess you are allowing users to enter Primary Key manually? In my opinion, Primary key should be always system generated using SEQUENCE. Users can only enter BUSINESS KEY (if any) and we should not use Business key as Primary Key.
    Good Luck :-)
    - Hari
    Edited by: Hari_639 on Oct 23, 2009 8:02 PM

  • Issues in editing a PK column from FORM page

    Hi
    I am creating interactive report and a form on a table T1 with columns A (this is the PK column),B,C, etc.. In the creation wizard I chose "Existing Trigger" for populating my PK column values for both the pages as in my case, USER will be giving/populating these values. Now in the form page, I change the 'Display type' of PK column A from 'Hidden and Protected' to 'Text field' because user has to use this column in form page, for creation and editing jobs.
    Now, while creating a record, I have no issues, but while 'editing' the 'A' item from form page, the form gives errors like (ORA-20505: Error in DML) and (ORA-01403: no data found) and does not allow to edit this PK column. Any workaround? Please help.
    Thanks
    Bhavesh

    On edit page, under processes region you will find various processes active on this page. Edit process which do DML operation on table T. On edit process page you will find 3 check boxes: Insert, Update and Delete. de-select the update checkbox and create ur own process. As the PK is editable, create one hidden item (say PX_A) on page which will preserve the value of the column A before editing. This will help editing the table row which is identified uniquely by column A only.

  • Apex_item.radiogroup using an LOV in a manual tabular form

    I'm on APEX 4.0.0.00.46 and I'm sure there must be an obvious solution that I'm missing here, but I'm having a problem setting up an apex_item.radiogroup on a manual tabular form. This is the basic query that I'm using:
    select apex_item.radiogroup(37,my_field) as my_field
    from my_table
    When I use the above query as my Region Source, it compiles fine. However, it seems as though the query won't pull in the value that currently exists in the table unless I set the Column Attribute called 'Display As' for the field to 'Standard Report Column'. When I do this, it seems to remove the capability to incorporate a LOV into the radio group. I'm attempting to incorporate a query like this into the radiogroup:
    select 'YES' d, 'Y' r
    from dual
    UNION ALL
    select 'NO' d, 'N' r
    from dual
    So, to recap, I can set up a Radio Group (query based LOV), but if I do, the query of the table will not pull in the current value from the table. If I change the 'Display As' Column Attribute to 'Standard Report Column', I can no longer incorporate the LOV. Please help if you have any ideas.

    I am not 100% sure what you are trying to do but I think I am close. Try using
    SELECT apex_item.radio_group_from_query
              (37,
               my_field,
               'SELECT ''YES'' d, ''Y'' r FROM dual
                UNION ALL
                SELECT  ''NO'' d, ''N'' r FROM dual'
              ) AS my_field
      FROM my_tableDenes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

Maybe you are looking for

  • Missing "Import" folder in iPhoto

    A few weeks ago a pop up in iPhoto appeared saying "....photos have been found, import?" and I followed the steps through other posts to finding the import folder, moving it to desktop etc. again this pop up is appearing except I can no longer find t

  • Invoke and Execute Unix command from Oracle PL/SQL

    Dear All, I am currently working in the development of multi user application in ORACLE. My problem is, I have to remove a temporary file created in unix server when a particular condition is satisfied in a PL/SQL proccedure. I searched for this and

  • Puzzled by "negative files" in v1.1 "Export as Catalog"

    I've been exploring the new features in v.1.1, and have found something I'm puzzled by. When I go to File/Export as Catalog, there is an option called "Export negative files", which will include duplicates of the original image files in the exported

  • Wont reboot past start up, recovery now looping!

    Help! my phone has been freezing up lately, normally if i take the battery out, put it back in and then turn it back on it will be fine, but now i cant get my phone to boot past that very first white HTC startup screen. I tried rebooting it in recove

  • Travel schema unzip problem

    when i downloaded and unzipped the travel schema, the resulting dump files included "binary" or non-ascii characters. the download/unzip process was performed using numerous unzip utilities... please advise So that we may better diagnose DOWNLOAD pro