How to pull a form region in AJAX

Carl,
I have implemented Carl's AJAX "region pull" example and works fine. This works fine as long as the region is report region. is it possible to pull a form region with items and submit button in AJAX way?. will it be possible to submit update and submit that pulled form. I just tried to do that and gave me the following error. any ideas are appreciated.
     Error      Item ID (2304200109596392) is not an item defined on the current page.
thanks,
Surya

Hello Surya,
I guess it depends your template. If it works for a report region and not for your forms region, you might want to have a look what the difference is in the templates for both regions.
You could give your form region the template of report region and see if that solves the problem?
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/

Similar Messages

  • How to toggle a region in AJAX

    I have 5 regions in a page and each region may contain upto 10 items. Currently these regions are show/hide type based on "self submit select list" value at the top of the page.Now, I need to convert this self submit LOV to Ajax style LOV. If I convert the LOV to AJAX type, how can show/hide the regions as soon as the LOV value is changed without submitting/refreshing page?. I have used "$x_ToggleItemRow(['P1_ITEM','P2_ITEM']);" call to toggle an item and works fine, but not sure how to do the toggle for a region based on AJAX LOV value. any ideas are appreciated.
    thanks for your help,
    Surya

    I feel a little bit stupid but I can't get this to work...
    I have a report (tabular form) where I want to have a link of each row to show a region with values.
    I have a link in my report:
    target: URL
    URL: javascript:$x_Toggle(l_Item)
    In page header:
    <script>
    var l_Item = '999';
    var l_Items = ['TEST_REGION_1','TEST_REGION_2','TEST_REGION_3'];
    </script>
    On the region I want to show/hide I set Static Id = 999
    Changed the template to:
    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="#REGION_STATIC_ID#" class="t3ReportsRegion" summary="">
    <tr>
    <td valign="bottom" class="t3RegionHeader">#TITLE#</td>
    <td class="t3ButtonHolder" align="right">#CLOSE#   #PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</td>
    </tr>
    <tr class="t3instructiontext">
    <td colspan="2" valign="top" class="t3Body">#BODY#</td>
    </tr>
    </table>
    What am I doing wrong??
    Regards Daniel

  • How to increase the size of a form  region

    Hi All,
    I have to create 10 items in a single row of a form region. How can I increase the width of a region so that all item'll come in single row.
    Thanks in Advance.
    Regards
    Dikshit.

    Hi Dikshit,
    1: Edit the page items
    2:in Displayed select "NO" for Begin on New Line
    3: For all the 9 items you need to do which you want to display in single line
    Hope it will help You,
    Thanks && Regards
    Ravi

  • How to generate the primary key item automatically in form region?.

    Hi,
    The primary key item is generated automatically in report region.I already give the pl/sql function for generating of primary key.but I want to generate the primary key value automatically in form region only?.how to do this?.Pls help me..
    Thanks and Regards.

    One of the guidelines when selecting column for a primary key is:
    Choose a column whose data values are never changed. A primary key value is only used to identify a row in the table, and its data should never be used for any other purpose. Therefore, primary key values should rarely or never be changed.
    Cheers!

  • Problem pulling HTML region using AJAX

    Hi,
    I am using Ajax with Oracle apex, it pulls the report region ok, but when i try to pull the html region, it doesn't. I tried several different ways and in firefox, it does pull the html region but not also pulls the header and footer. On IE, it gives a javascript error.
    Is there any way to pull the HTML region from a page using AJAX on IE. I am using the htmldb_get.js's functions for ajax.

    see
    http://apex.oracle.com/pls/otn/f?p=11933:48
    working perfectly with latest version of apex on ie, ffox and opera.

  • How to set column width for Label in Form region?

    In the form region, the label value is a lengthy text, and it does not wrap. How do I make it wrap to a fixed column width?
    Under Home>Application Builder>Application>Page>Edit Page Item,
    i have set "HTML Table Cell Attributes" to width="300", but it still does not wrap. and pushes the field to the right end of the page.
    I am quite sure there are better ways of doing this.

    thanks Simakas for the reply.
    I had set the label template to "Optional" and that was forcing a "nowrap". After unsetting the template, I used your suggestion and it works like a charm. Thanks.

  • How to delete and pull up empty region - Sorry for the newbie question

    Hi,
    I know Avid and Final Cut Pro and both allow me to mark an empty region and delete it. This closes the gap of the empty region and then pulls the two clips together.
    Can I do this in Garage Band. I feel lame for asking.
    For example, let's say I'm editing dialogue in Garage band and I want to delete an "um". Can't I just mark it and then delete it, pulling the rest of the clip up?
    Thanks so much!
    Kirk

    The reason GB doesn't have this is because it was created for music - and there you want the gap to remain, otherwise everything that follows would be out of sync.
    If you're only editing spoken word, an audio editor is the better alternative. On the other hand, you can get used to editing audio in GB, you don't even have to do two cuts: Do the right cut and pull the right region on top of the left to where you want it (looking at the waveform). Done.

  • Tabular form region and preserving state

    Hi all,
    I have a tabular form region (one of a few form regions) on my page... I'm trying to figure out how to preserve the other fields on the page (detail form), when tabular form buttons are clicked to add, update or delete rows.
    The page obviously branches back to itself, but if a user has inputted changes in other form items on the page, they are lost.
    I know it has something to do with how the item sources are derived... currently, they are tied to the database column, and the source is derived each and every time..
    If I set it so it checks session state first, and if not null, get it from there, it'll work for the above use case. However, it causes problems if the user leaves the page by clicking elsewhere (ie back to master list), and decides to edit a different row... the detail form will pull the content from session state, and not from the db, and display the wrong information...
    Hope this is clear enough... I appreciate your feedback
    Thanks
    Message was edited by:
    pl_sequel

    Thanks for the reply...
    I guess it is that simple... as long as I ensure that any link pointing to the detail form (ie edit, or view etc...) clears the page's cache, then I am guaranteed to have the database state and not the session state displayed...
    My detail form items should then derive their source always from session state if not null, otherwise get the source from the DB...
    This will ensure that when I branch back to the page when adding a row to my tabular form for instance, what was entered previously, would remain...
    Thanks for the tip...

  • How to make a form for input in web interface builder

    Hi expert:
        How to make a form for input in web interface builder?I have already used it to do PS planning, but I don't know how to  draw lines and checkboxes . Thanks in advance.
    Allen

    WAD:
    Open the WAD and create a new template. On the left hand navigation you will have several Web Items available. Under 'Standard' you have 'Analysis' item. Pull that into your template to the right. Under the Properties tab you need to pick the query [form/layout] that you have built in Query Designer.
    You will also find other items such as Button group, Checkbox, drop down, list box etc available. Pick and drag into the template whatever it is you require. Lets say you want a button. Under the Properties tab select the 'Command' that you require. You could use standard commands that are available there. You could also define functions and commands that you require.
    Query Designer:
    Open the QD and drag the characteristics and key figures that you require into the rows and columns of the QD. You would need to specify restrictions under the Filter tab of the QD based on the granularity of data that you require. You would need to remember that the key figures need to be made Input Ready [do this by clicking on KF and on the planning tab select "change by user and planning functions"].
    This shouldgive you a start. After you've explored it yourself a bit we can discuss further and I can certainly provide you additional details/material on these areas.
    Srikant

  • Item on form regions title line??

    hi again,
    seems as if this day is my day of questions :-)
    I have a simple HTML-based form region on my page. how is it possible to display an item (i just need a bit of conditional text there, so my item of choice is the "display as"-item) among the title of the region ??
    i can't use the button substitutes, so is there any workaround or am i missing something ??
    thanks, hendrik :)

    thanks roel :-) unfortunately that is not 100% what i'm looking for.
    i'd like to populate this item after rendering via javascript. i don't know the value (e.g. number of rows shown in a report or "this region has changed" triggered by an onclick-event), which is to be displayed, at the time the substitution is done...
    I need an referencable item next to the region's title.
    do you have any idea how to solve this ??

  • Creating hyperlinks in form region

    How can I create hyperlinks in the form region.when clicked on hyperlink it should take to a different page.Thanks in advance.

    Jari,Thanks for your help.
    The form is not a tabular one. For exapmle I have couple of items say username and password. Below the username I would like to place a hyperlink.Similerly I would like to place another hyperlink below the password. how can I do that?
    I tried to create a text below the username filed using the display item.How can I hyperlink the text so that it can take to another page?

  • How to attach an form to email in Apex

    Hi friends,
    I have a form page with three items in a display only manner.......
    In these form region i have a button called submit.......
    If i clicked the submit button means, the form page has to be send as an email to the recipient........How to achieve it friends....
    But inorder to send a report as a email-----> i can do it by clicking Actions------download-----email.......
    so that i can send report as a email.........
    How i can send a form page as an email soon after pressing the submit button to the recipient.....
    Thanks,
    Saro...

    Hi Thomas,
    Sorry for the late reply....
    ya i have captured the form fields, with his details in the email in the display only manner....
    This is the following pl-sql email process that i wrote to send an email.....
    DECLARE
    l_mail_id NUMBER;
    l_body VARCHAR2(4000);
    l_body_html VARCHAR2(4000);
    BEGIN
    l_body_html := '<html>
    <head>
    <style type="text/css">
    body{font-family: Arial, Helvetica, sans-serif;
    font-size:10pt;
    margin:30px;
    background-color:#ffffff;}
    span.sig{font-style:italic;
    font-weight:bold;
    color:#811919;}
    </style>
    </head><body>'||utl_tcp.crlf;
    l_body_html :=
    '<h1>Laptop Request</h1>'||
    'Employee Number: '||:P45_EMPLOYEE_NUMBER||'
    '||
    'Email Address: '||:P45_EMAIL_ADDRESS||'
    '||
    'Designation: '||:P45_DESIGNATION||'
    ' ||
    'PF Contact No:'||:P45_CONTACT_NO||'
    '||
    'Address For Communication: '||:P45_ADDRESS_COMMUNICATION||'
    ' ||
    'Check out Date: '||:P45_CHECK_OUT_DATE||'
    ' ||
    'Project Assigned: '||:P45_PROJECT_ASSIGNED||'
    ' ||
    'Duration From: '||:P45_DURATION_FROM||'
    ' ||
    'Duration To: '||:P45_DURATION_TO||'
    ' ||
    'Status: '||:P45_STATUS||'
    ' || utl_tcp.crlf;
    l_body_html := l_body_html ||'<p>Thank you for your interest in the <strong>APEX MAIL</strong> </p>'||utl_tcp.crlf;
    l_body_html := l_body_html ||' Sincerely,
    '||utl_tcp.crlf;
    l_body_html := l_body_html ||' <span class="sig">The APEX Dev Team</span>
    '||utl_tcp.crlf
    l_body := 'Request for an Laptop'||utl_tcp.crlf;
    l_mail_id := apex_mail.send(
    p_to => '<[email protected]>',
    p_from => :P45_EMAIL_ADDRESS,
    p_body => l_body,
    p_body_html => l_body_html,
    p_subj => 'Laptop Request With Request No' || :P45_DIS_REQ_ID
    apex_mail.push_queue();
    END;
    Ya, i receiving email but everything is like a plain text.........
    It is possible to generate it in an HTML format, so that the form will look as it is like in the application....
    For example:
    If you see in the report means, through Action------->download-------->email
    you can see the reports that generate in an HTML format........
    Im asking in the same HTML format for my form to generate, soon after pressing the Button.........
    Anychanges in the Process to be done in achieving it....
    Thanks
    Saro..

  • Create Report/Form region with button in header?

    For theme 16, how to create Report or Form region that will have HTML Template Alternative1 button in tile (in that gray part, and not under)?
    <br>
    THX in front!
    <br>
    P.S.
    <br>
    Have tried something, http://i11.tinypic.com/47dsuhv.png and http://i14.tinypic.com/2wqaon7.png, but as you can see no success!!
    8(
    <br>
    Message was edited by:
    Funky
    Message was edited by:
    Funky

    Hi Funky,
    Put the button in the "Right of Page Title" position - this puts it at the right-hand end of the region title.
    Regards
    Andy

  • How to get Adobe form element

    Hi Guru,
    How can i get adobe element
    Ex: I have one dropdwon List with Name : List1.
    I want get the value of <b>List1</b>.
    Like-----weContext.currentDataElemet.getMaterial();
    like that i need to get <b>List1</b> value. this element is not bind.  dynamically i want take that value of List and need to assign to another field.
    please help little bit urgent.
    Thanks
    Ramana

    Thanks Dvorah, but I don't get it...what do you mean to get the form values with AJAX? The form is in the client side, with AJAX I should issue a Xml request to the server... but the values are in the form... I don't understand your answer... if you could please explain a little bit more I'd really appreciate it. Thanks again.

  • Bind form region controls at runtime

    Hi,
    I have a combo box in an appointment form region. I want to bind a List<string> to it at runtime.
    Could anyone please help how to do this.
    Thanks,
    Stanley

    Hello Raj,
    You can use the
    ItemsSouce property to set a collection used to generate the content of the ItemsControl.
    You can find the ComboBox class described in MSDN.
    The form regions are represented using regular user controls in VSTO projects. I'd suggest asking Windows Form specific questions on the
    Windows Forms General forum instead.

Maybe you are looking for

  • Flash 8 Movie Link Problems...

    Ok I have created a short flash vid for my front page all works as planed and on the last scene I have put in 3 buttons. These links direct to the same page and that work fine. I then finished the page these link to and I want to direct there link di

  • Server 2003 to 2008 DCPromo fails - "The filename, directory name, or volume label syntax is incorrect"

    I've done the adprep32 on 2003 server standard for /forestprep, /domainprep, and /rodcprep without an error, as instructed by several docs on web.  But in final stage of dcpromo on 2008 server standard, it fails with Active Directory Domain Service c

  • Able to home share all but one album.  What's wrong?

    I've encountered a puzzling issue. I have home sharing enabled on my Mac Mini Server running Yosemite (10.10.1) and iTunes (12.0.1.26) as well as a 2012 rMBP (same software), 2012 Mac Mini, and various iOS devices (8.1).  I am able to access the iTun

  • Firefox in Multiple Desktop

    I have implemented the multiple desk top MS feature which allows me to separate different activities such as banking from general work and allows upto 4 desktops each with a separate version of Internet Explorere. However I wanted to use Firefox and

  • Query on oracle dump file

    Hi All , I have a question on Oracle Dump file . Is there a way to know how many objects got exported into the dump file during expdp . How do we know what are the objects which got exported and which dint get exported during a full export of a DB .