Dynamic Page Rendering (based on the difinition for labels and field setup)

We have a requirement to display pages dynamically based on the setup or configuration for labels and fields.
1. For example (the display page will look like):
Company Name: -------------------------
DB No:
2. Setup for this will be in a UI (saved to the database):
Page Seq Label Field type size
1 1 Company Name comp_nm text char(50)
1 2 DB No db_no number
The pages will be rendered through the database procedure for the above.
Thanks in advance for help.

Hi Timo
JDEV Version: Studio Edition Version 11.1.2.2.0
I mean the definitions for the page like labels, text fields will be setup as this page will change as per the business requirements.
We are open to sql or xml if the db procedure will not work.
The objective is to give the business user to add anything to the page (for example, we have a lot of questions which changes in time due to specific business needs), so that the user can add a question or disable one based on the need.
Hope if clarifies.
Thanks
Bibs

Similar Messages

  • How to exchange the position for label and element of an item?

    I have a form with a lot of checkbox items. I want to place the checkbox before the label, how to achieve that?
    Thanks,
    Jen

    Try this.
    Label:
    null.
    List of values definition:
    STATIC:Your Label;Y
    Regards,
    Max.

  • How do i get that bar to appear on the screen for http and web pages?

    How do i get that bar to appear on top of the screen for http and web pages?

    Yes im using safari version  5.1.2 (6534.52.7)  I have tried clicking show toolbar  from the view menu but i still can't see it.  It's the bar where you type in a website link or http:// that I can find - any other suggestions much appreciated

  • Can I create books for the iBookstore for iPad and iPhone using Pages?

    Can I create books for the iBookstore for iPad and iPhone using Pages?

    No problem, Peter. iBooks Author makes a lot of things much easier than trying to grapple with a standard epub, but it also has some big limitations, like iPad only, and ibookstore only.
    EDIT It's not really suitable for something like a novel, for example, although it's great when you need lots of illustrations and movies and such.

  • Why are on the first web page buttons are shaped and following pages don´t? All Pages are based on the same Masterpage.

    Hello,
    I´ve a Problem with Muse.
    Why are on the first web page buttons are shaped and following pages don´t? All Pages are based on the same Masterpage.
    Any ideas?
    Stefan

    I just republished the site, and it looks fine, energievollfit | über
    could you please try to republish the site again, and let me know .

  • TS1702 On my Page Tool Bar I don't get the icons for info and insert. Please help

    When I open my Pages Program I don't get the icons for 'info' and 'insert'. Please help

    I'm having the exact same issue.  Any help is appreciated!
    Thanks!

  • In a dynamic page how to share variable between PL/SQL and javascript

    For example, my dynamic page contains such PL/SQL codes:
    <ORACLE>
    DECLARE
    info varchar(100);
    rowid urowid;
    procedure doDelete(
    row_id in urowid
    ) IS
    begin
    Delete From xxx
    WHERE rowid = row_id;
    end doDelete;
    BEGIN
    Select name, rowid INTO info, rowid
    From xxx Where xxx;
    HTP.PRN(' <INPUT TYPE="button" VALUE="show value" onClick="alert(info);">');
    HTP.PRN(' <INPUT TYPE="button" VALUE="delete" onClick="doDelete(_row_id);">');
    END;
    </ORACLE>
    The variable 'info' and '_row_id' are correct, however the two HTP. sentence do not work. What's the problem?
    What I want to do is to show all the records in TABLE A in a page. And at the end of each line (record), there' re a 'delete' and a 'update' button to let user operate on this record. Is this possible? I know form can do delete an update, but it can not show all the records in a page like what report does. Besides dynamic page, is there any other better choice? Report can do it?
    One more question. In a report, I employed link on one field to a second report. It works well. But I want to open the second report in a new window when the link is click. Is this possible?
    I was almost driven crazy by these :( I so appreciate if anyone can help.

    The code written by you is insufficient for the funtionality you are trying to achieve. Below is a method to achieve the same.
    Note: Used standard scott.emp table for the example which is located in my db provider schema.
    Do the below modifications as per your local configuration
    xxxxx -> Replace it with your Portal schema
    yyyyy -> Replace it with your db provider schema
    <<module_id_of_form>> -> Replace with the module id of form created in step 1 & 2.
    First and foremost... oracle does not allows variables starting with '_'. So if you want to use it you have to place it in double quotes ("")
    rowid -> illegal
    "_row_id" -> legal.
    However, I will advice you not to use variable names starting with "_".
    Now lets get started...
    1. Create a form on the table you are using in the dynamic page. Just have the update button. Remove the other buttons.
    2. Get the module id of this form. Instruction for getting the module id:
    a) Right-click on the form's run link and copy the shortcut
    b) Get the value of p_moduleid parameter. This is your module id.
    3. Create a procedure "save_action_details" in your db provider schema. This procedure will accomplish the delete operation on the record.
         CREATE OR REPLACE Procedure save_action_details(
         p_rowid IN VARCHAR2,
         p_action IN VARCHAR2,
         p_dyn_ref_path IN VARCHAR2,
         p_dyn_page_url IN VARCHAR2)
         is
         l_sto_session xxxxx.wwsto_api_session;
         begin
         l_sto_session := xxxxx.wwsto_api_session.load_session(
         p_domain => 'DynStore',
         p_sub_domain => 'DynStore_' || p_dyn_ref_path
         l_sto_session.set_attribute(
         p_name => 'rowid',
         p_value => p_rowid
         l_sto_session.set_attribute(
         p_name => 'action',
         p_value => p_action
         l_sto_session.save_session;
         htp.init;
         owa_util.redirect_url(p_dyn_page_url);
         end save_action_details;
    Explaination: The above procedure creates a session and keeps the rowid and action in the session. This information is used by the below dynamic form to perform the necessary action. In our exampl, the action is always going to be delete so you may go ahead and hard code it, else leave it as it is.
    4. Grant execute privilege on the procedure "save_action_details" to public.
    sql> grant execute on save_action_details to public;
    5. Create your Dynamic page.
    a) In HTML code section have the below code. This code shows some columns from the table and "update" and "delete" buttons to perform the respective action.
         <ORACLE>select empno,ename,rowid,
         '<input type="button" value="Update" onClick="doAction(this.form,''UPD'',''xxx'','''
         || xxxxx.wwv_standard_util.url_encode(rowid) || '''); tWin();">
         <input type="button" value="delete" onclick="doAction(this.form,''DEL'',''' || rowid || ''',''xxx'');">' Action
         from yyyyy.emp</ORACLE>
    b) In additional pl/sql code section of dynamic page, have the below pl/sql block "in after displaying the header" section.
         declare
         l_sto_session xxxxx.wwsto_api_session;
         l_del_rowid varchar2(20);
         l_action varchar2(10);
         begin
         htp.comment('User code starts here ...');
         htp.p('<script>');
         htp.p('var winHandle;');
         htp.p('
         function doAction(formObj, action, rowid, erowid)
              if (action == "UPD")
              var formURL = "' || xxxxx.wwctx_api.get_proc_path('wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=<<module_id_of_form>>&p_arg_names=_rowid&p_arg_values=') || '" + erowid;
              winHandle = window.open(formURL, "winDynUpd", "width=750,height=500,resizable=yes");
              else
              formObj.p_rowid.value = rowid;
              formObj.p_action.value = action;
              formObj.submit();
         function tWin() {
              if (winHandle.closed) {
              document.location = document.location;
              else {
              setTimeout("tWin()", 500);
         htp.p('</script>');
         htp.p('<form name="dynRowProcess" method="POST" action="'
         || xxxxx.wwctx_api.get_proc_path('save_action_details','yyyyy')
         || '">');
         htp.p('<input type="hidden" name="p_rowid">');
         htp.p('<input type="hidden" name="p_action">');
         htp.p('<input type="hidden" name="p_dyn_ref_path" value="' || p_reference_path || '">');
         htp.p('<input type="hidden" name="p_dyn_page_url" value="' || p_page_url || '">');
         l_sto_session := xxxxx.wwsto_api_session.load_session(
         p_domain => 'DynStore',
         p_sub_domain => 'DynStore_' || p_reference_path
         l_del_rowid := l_sto_session.get_attribute_as_varchar2('rowid');
         l_action := l_sto_session.get_attribute_as_varchar2('action');
         if l_action = 'DEL' then
         delete from yyyyy.emp
         where rowid = l_del_rowid;
         end if;
         end;
    Explaination: The session information (rowid and action) stored by "save_action_details" procedure is retrieved by the dynamic page and is used to delete the record.
    6. Once you are through with the above steps, test it by placing the above "dynamic page" portlet on a page.
    a) When you click on delete button the record gets deleted and the automatically refreshed page will not show the deleted record.
    b) On clicking update button, a form will appear. do the necessary modifications in data and click update. the data in the form gets updated. Once you close the form the dynamic page gets refreshed automatically and it will show you the updated information.

  • In VB Programming code -- How to access the formula for suppressing a field

    In VB Programming code -- How to access the formula for suppressing a field
    I am using Crystal Reports 2008 v1
    Using VB code, I am attempting to modify a Crystal Report before exporting it into a PDF format and then displaying it on the Web.
    My problem is that I am unable to access the formula used to dynamically suppress a field.
    The following code is working:
    mySections = rd.ReportDefinition.Sections
    For Each mySection As CrystalDecisions.CrystalReports.Engine.Section In mySections
       ' myFieldToChange is a String set to the text of the field I need to adjust the Suppression
       iloop = 0
       For Each RecObj As CrystalDecisions.CrystalReports.Engine.ReportObject In mySection.ReportObjects
               If mySection.ReportObjects.Item(iloop).Name.ToLower = myFieldToChange Then
                   myTextObject = CType(mySection.ReportObjects.Item(iloop), CrystalDecisions.CrystalReports.Engine.TextObject)
                   myTextObject.Text = "new field text goes here"
                   mySection.SectionFormat.EnableSuppress = True
                   '  Here is where I want to change the formula for the Suppression
                End if
                iloop = iloop + 1
        Next
    Next
    I can not find any reference to the actual suppression formula in the SDK help file.
    Note, the EnableSuppress can be set to True for False, but if there is a formula for dynamic suppression, the True or False value is overwritten.  The results of the formula determine the suppression.
    Is there a way to reference this formula.  I know that I can put on in using the Crystal Report Designer software, I need to modify this formula using VB code and the SDK.

    Hello, Mark;
    If you are using the ReportDocument object you do not have access to the Conditional Suppression formula. You can get around it by using a formula field in the report for the supression and then using the FormulaField code to change it at runtime.
    If you want to change the supression condition directly at runtime you need to use RAS and the ReportClientDocument.
    Elaine

  • How can I change the text for 'Return' and 'Back' links

    Hi everybody,
    How can I change text of standard links 'Return' and 'Back' that appear at the report bottom when user drills down?
    I need to change it in Hebrew interface.
    Thanks in advance,
    Alex

    You have to Customize the viewmessages.xml file. The original file path for English Language is
    oraclebi\web\msgdb\l_en\messages\viewmessages.xml.
    and The entries for back and return are
    <WebMessage name="kmsgEVCLinkBack"><HTML>Back</HTML></WebMessage>
    <WebMessage name="kmsgEVCLinkReturn"><HTML>Return</HTML></WebMessage>
    For more details, about language cusotmization read oracle documentation, page no 197.
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31766.pdf
    - Madan

  • I check the box to "Remember the password for sites" and the check keeps disappearing.

    I check the box to "Remember the password for sites" and the check keeps disappearing. Each time I open the Security page in Options the check box is clear. I'd like it to stay checked.

    See:
    * http://kb.mozillazine.org/Preferences_not_saved
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Please..how to instal libero mail on mi Ipad. I need the parameter for send and receive mail..Thanks

    Please..how to instal "libero" mail on my Ipad. I need the parameter for send and receive mail..Thanks

    FYI: POP will by default, delete messages from the server after downloading them (This applies to most pop clients, computer or mobile). POP is old tech and is not recommended if IMAP or Exchange are available. The default when setting up a g-mail type account is IMAP. Full synchronization with the server. You may also be able to set it up as an Exchange account, allowing for push e-mail and sync of calendars and contacts as well. See the Gmail help pages for instructions.

  • What is the process for MM and asset account a/c and FI

    what is the process for MM and asset account a/c and FI
    Regard's
    VYadav

    Dear,
    There are below steps involved...
    1. Create purchase requisition..
    2. Create purchase order from above or you can directly creating it. Make sure you are entering A in account assignment category..
    3. Do the GR of asset based on PO created in step 2 in transction MIGO..
    4. Pass the invoice in MIRO.
    5. Make payment.
    6. Clear the vendor account...
    Result is Asset is aquired......
    Regards,
    Chintan Joshi

  • HT204053 i have two apple id one for Store purchases and the other for iCloud, and i want to merge them into one, can i transfer all app from one to other ?

    i have two apple id one for Store purchases and the other for iCloud, and i want to merge them into one, can i transfer all app from one to other ?

    It is not possible to merge Apple IDs.

  • Whenever I go to iTunes with my iPod 5th generation 32 gb iPod Touch, running iOS 8.0.2, It tells me that the "Other" category is using up 14.59 gb of data. I have no clue why it says this and I have searched the internet for fixes and none worked.

    Whenever I go to iTunes with my iPod 5th generation 32 gb iPod Touch, running iOS 8.0.2, It tells me that the "Other" category is using up 14.59 gb of data. I have no clue why it says this and I have searched the internet for fixes and none worked. I have tried on a windows and a mac and noticed no change. I have tried restoring to a backup but that didn't help. I haven't had time to do a full restore but I will try if the problem persists.

    An "other" larger than about 1 1/2 GB indicates corrupted files.
    What is the Other on my iPhone and How to Remove It
    What is "Other" and What Can I Do About It?
    Next, usually restoring from backup eliminated the corrupted files. However, sometimes restoring to factory settings/new iPod is required.
    To restore from backup see:
    iOS: How to back up
    To restore to factory settings/new iPod see:
    iTunes: Restoring iOS software

  • With the latest IOS 7.0.3 for my iPhone, it no longer syncs with iTunes. I've run the diagnostics for syncing and it says everything is working, which it clearly isn't. Is there anything to be done without restoring iPhone? Thanks

    with the latest IOS 7.0.3 for my iPhone, it no longer syncs with iTunes. I've run the diagnostics for syncing and it says everything is working, which it clearly isn't. Is there anything to be done without restoring iPhone? Thanks

    update : so after reading numerous posts, I tried unchecking entire playlist and just tried one of my playlists. That sync seemed to work, so I rechecked entire playlist and did the sync. It worked. Then I went in to my "walk to work" playlist and added some songs to see if it would sync now, and it did!!! so happy now. will see what happens tomorrow.

Maybe you are looking for

  • Data Recovery after Archive

    I have a MAC MINI running an upgrade of Snow Leopard from Leopard.  I received a grey screen with apple logo.  Please advise if this plan seems to be sound?  I plan to run disk maintenance with disk utility using the Snow Leopard Disc.  If that doesn

  • How can I add USB 3.0 to my HP Pavilion Elite HPE-190t CTO Desktop PC?

    How can I add USB 3.0 to my HP Pavilion Elite HPE-190t CTO Desktop PC?  It uses Windows 7 Pro 64-bit OS. I can't tell how many or if there are expansion slots inside the case.  Is there a reliable source for such an expansion card?

  • I can only import HDV with Apple Intermediate Codec!!!!

    Hello, I want to get to the bottom of this. I have HDV film shot on a DV tape. I cannot import this HDV footage, it appears to be importing, but the moment I hit "escape" to stop capture, I realize nothing was actually importing. I usually end up wit

  • Problem transferring files from PC to MP3 pla

    I recently have had problems transferring music from my computer to my Zen Touch. I am using firmware version .0.03 Zen Touch and version 2.02.05 of Creative MediaSource Organizer. I have been able to transfer files perfectly fine for years up until

  • AKD driver slow for given application

    Dear Sir I am using kollmorgan servomotor and AKD Drive for my inverted pendulum project application. Also I am using Labview softmotion for programming( ni 9514 servo drive). But here the driver is taking the command only after first command is fini