Javascript Button Among Region Items

I would like to add several buttons (which would call popupURL) among my region's items (next to the items they reference).. When I go to add a button, I have two options:
1. Create a button in a region position:
2. Create a button displayed among this region's items:
I want to use (2), but in this option, I cannot set my button to "Redirect to URL without submitting page" which is what I think I need to do to incorporate JavaScript.
Also, within the Help, I am not getting a clear description of what the "Request" value does/means/is in option (1).
Thanks much!

Hello,
This is a well known issue with buttons among items. I believe that the simplest way to deal with it is to define your own buttons, using the Post element Text field of your referenced item. Just use something like this:
<input type="button" id="xxxx" value="yyy" onclick="JS_Function()" />The "Request" is an internal built-in variable that the system automatically set, each time you press a button, to the button name (and NOT the button text label). This helps the system to identify which button was presses, and act accordingly. The main usage for users is, probably, the option to condition validations and processes according to a specific button press. The main advantage of using "Request" is that the system is setting and clearing its value automatically. If you'll create your own buttons, as I describes earlier, the "Request" value is not relevant.
Hope this helps,
Arie.

Similar Messages

  • Buttons among region items and branching

    I've got a page with many buttons that are supposed to simply branch to their respective pages. I used buttons among region items so that I'd have control of placement withing each region. After clicking on the first button that branches to its correct page, the other buttons branch to that page as well even though I have branches set for each button.
    What am I missing?
    Thank you!

    Also, arranging them all on the page was a headache. I'm almost there but have had to create empty regions just to space things out because I don't understand how to space buttons out. I can with items, but buttons are a new one. I'm leaving at noon today to visit my sister and brother in law in your favorite city (no not really - not San Diego...LA) so I want to wrap this project up as much as I can before I leave.
    The other project is live!

  • Buttons among region items - all right justified

    Is it possible somehow to right align all buttons (defined among the region items) to the right edge of the region border? e.g
    | this is field 1|                                            (Button1)
    | this is field 2................|                       (Button2)
    rather than
    | this is field 1 |(Button1)
    | this is field 2 ................| (Button2)
    regards
    Paul P

    Try the following:
    Set the HTML Table Cell Attributes property for field 1 to style=&quot;width: 100%;&quot;.
    In the Displayed properties for each button set Begin on New Line to No and Begin on New Field to Yes.

  • Processess on Buttons created among region items behaves strangely

    I have two buttons Button1 and Button2 and item TEMP.
    Buttons are of type (Button among region items)
    Now our requirement is that when Button1 is pressed TEMP should be set to 1 and
    when Button2 is pressed TEMP should be set to 2.
    But it does not happen.
    I have written 2 processess for it.
    First is - Set :P1_TEMP = 1 - (when button pressed *P1_BUTTON1)
    begin
    :P1_TEMP := 1;
    end;
    Second is - Set :P1_TEMP = 2 - (when button pressed *P1_BUTTON2)
    begin
    :P1_TEMP := 2;
    end;
    The values in TEMP are not populated accordingly.
    It is always set to 2 even if I press button1.
    I have created a demo at
    http://apex.oracle.com/pls/otn/f?p=20426:1:1861250906981044:::::
    Now if I remove the second process than TEMP gets set to 1 when BUTTON1 is pressed.
    Any ideas on this strange behaviour.
    Thanks
    Ameya

    Hi, Ameya
    I have test your application.
    I had tried to add two branches : one activated when button1 is activated
    , another activated when button2 is activated which submit your page 1,
    affecting the value of item TEMP .
    It's working for button 1 but for button2, despite the fact I tell him to send 2 for the
    value of item TEMP in the branch, it seems that it was "the branch of the button1" which is activated...
    So, I let the 2 branches (with condition never) (I think processes is not needed here) in case you want to see the method.
    Hope Jes can help you.
    Mike

  • Button created among region items cannot be horizontally aligned

    If I create a button amongst region items, and say new line = NO and new field = YES, it creates the button in its own table cell. However there is no apparent interface to horizontally (or vertically for that matter) align the button within the cell.
    If I create any other region item, or a button in a region position, I can see the alignment options which work as expected.
    Am I missing something here?

    A workaround here is to add the item as post element text on the previous item in sequence. But then the item is "lost" when looking at the page edit screen, and common editing features are not available.
    I see no logical reason why a button created amongst region items should not have all the operations permitted on it as do the regular region items.

  • Delete confirmation on button in regions items

    I have created a delete button which is of type "button in regions items".
    I want to add the delete confirmation functionality to this button..
    javascript:ConfirmDelete()
    The only thing is this type of button does not allow a url to be specified. Is there anyway of getting around this??

    Hello Farhan,
    "I ended up creating a new template for the delete button"Carl always says there is more then one way to skin a cat, so if it's working as you need, it's great.
    would like to know why the 2 button types have different attributes and whether the button with regions items type will have the additional attributes in the next release?? "I've asked the same question almost a year ago. Nothing seems to change in the latter versions - http://forums.oracle.com/forums/thread.jspa?messageID=1123993&#1123993 .
    Regards,
    Arie.

  • Button created among region items generates a spurious table cell

    To reproduce:
    =============
    1. Create a text item X in an HTML region.
    2. Create a button B amongst region items, to appear after X and on the same line, new field.
    3. Run the page and look at the source. I would expect to see something like:
    <td>X</td><td>B</td>
    But instead I see
    <td>X</td><td align=right></td><td>B</td>
    This is messing up my item alignments and I can't get rid of the extra table cell. What's going on?

    Any ideas, anyone?

  • Reorder Region Items

    I have region with two items "Select List" and "Textarea".
    I want to change order these items then I click on button "Reorder Region
    Items" then I see following error:
    report error:
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    All reports/forms created in version 3.0.0 is reordering fine...after update to 3.0.1 every report/forms not reordering fine, Drag and Drop layout not working too...
    What does't mean?
    Best Regards
    Daniel

    Yes, I checked it and I think that the image directory on my server is updated correctly.
    Version of IE which I use is 7.0.5730.11, but in Firefox 2.0.0.6 it doesn't work too. Below is error message:
    Error: $x(pThis).values has no properties
    if (($x(pThis).value.length==0) || ($x(pThis).value==null) || (($x(pThis).value.search(re)) > -1)) {                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Button in region's items - submit

    I create a button using "Create a button displayed among this region's items"
    with style = image.
    I want to call javascript from this button and i am able to do that.. but then it submits also. I check the source and there is a html code for submit. Is there someway not to have this submit.
    I think thats a very small problem, but i dont see any option for submitting and not submitting.
    Thanks in advance.
    prashant
    Message was edited by:
    Prashant

    Hi,
    I tried to exclude the Button Request Value but it is required.
    Vikas had a great post:
    Re: Javascript  button code
    it shows to hardcode a button in the POST ELEMENT TEXT of a previos item.
    Thanks for the post, Bill

  • URL button among items not passible, why?

    Hi,
    I'm trying to put an URL button among items, but it's not possible. The only places available are left, right, up and down region. Why?
    How can I position an URL button among items?
    Thanks.

    Hello gfrancoeur,
    Create your button selecting the option: Create a button displayed among this region's items. (the second choice)
    This will create a button within the items of your region and not require you to pick Top, Bottom, Left, Right or the like.
    Don.
    You can reward this reply by marking it as either Helpful or Correct :)

  • Delete regions items buttons and pages using sql.

    Hi,
    Is there any way to delete from apex pages, regions, items and buttons using sql.
    I noted that in SQL Developer a display of these objects is enabled, but no actions can be carried out on them from what I can see.
    Ben

    Hi and welcome,
    do search in the [Java Database Connectivity (JDBC) forum|http://forum.java.sun.com/forum.jspa?forumID=48], I'm sure you'll find a few examples there.

  • Problems w/ rendering of buttons inline w/ items

    It would see that buttons that are positioned withing region items are rendered according to different template rules. These kinds of buttons appear both in the "Buttons" section of the page designer and in the "Items" section.
    Page Designer => Create New Button => Chose "Create a button displayed among this region's items" => Template Style set to "Template Based Button" & select a template
    1: Button templates that use the #BUTTON_ID# replacement are not substituted. If id="#BUTTON_ID#" is used in the template and you have more than one button inline with elements, there are now multiple elements w/ the id of "#BUTTON_ID#".
    2: The text label of the button is wrapped with a label and span tag, causing CSS that attempts to use pseudo elements ( i.e. .BUTTON a:hover ) to fail. This is because the label and span keep the CSS from being a valid target of the CSS declaration. Pseudo element assignment to non-anchor tags in IE is buggy/non-existent. (i.e. .BUTTON label:hover / .BUTTON span:hover are not viable). There is no reason to have a label tag and span tags inserted here automatically.
    Message was edited by:
    andrew.martinez

    Hi, I'm sorry you are having such a difficult time. Let's assume for a moment that Flash Player is Installed correctly.
    I don’t know if anyone has suggested this or not but what I did to make Flash 10.3 work on my IE9 (32 bit on a 64bit Windows 7) was to click on the gear icon, then click on “internet options”, then “advanced”, then finally check “use software rendering instead of GPU rendering” finally you must close IE9 for the settings to work.
    If that doesn't help, then we'll need to check to make sure FP is Installed correctly.
    Let me know,
    eidnolb

  • Setting custom table attribute set value in region item table

    Dear all
    I am working on oracle application customization and extension in
    oracle JDeveloper R12. I am finding a difficulty in an query region of
    a OA framework page
    My Entity object is on the table FWK_TBX_ADDRESS table
    and VO objects has the fields or columns
    AddressName, AddreessId, TownC-OrCity
    what I am doing shown in the following steps
    1-I select region using wizard option
    2-select my AM and VO
    3-select table as style
    4-shuttle all attributes associated with VO
    5-in region items table , select the Attribute set field for AddressName attribute and click the serach flashligh icon
    6-After that select the browse button , using the package browser , expand down to oracle > apps > fnd> framwork > toolbox > attributesets, then oK
    7-select the serach control , and then it list all the attributes set related to fwkTbxEmployees table like the following
    /oracle/apps/fnd/framewok/toolbox/attributesset/FwkTbxAddress/AddressName
    Now the problem which I am facing now is that if I have custom table suppose "xxEmployees" and have attributes or column
    for example employeeId, employee_name, email etc. what would I do to search these attributes when I come to step number 6 which
    I mentioned above. from where in which package I can find these attributes to set attributesset value. in above i find these attributes
    in /oracle/apps/fnd/framewok/toolbox/attributesset/FwkTbxAddress/AddressName
    but in my case for attribute lie employeeId or employee_name from where I can get this how can I set the value of attribute set field in regin item
    table in step 5
    Noman

    I dont know what u trying to ask
    My problem is just that I want to set the attribute set value of my attribute employee_name, same is AddressId in fwk_tbx_address
    ame is AddressId in fwk_tbx_address found on
    /oracle/apps/fnd/framewok/toolbox/attributesset/FwkTbxAddress/AddressName
    where can I find my attribute employee_name
    in jdeveloper

  • Making region items read only.

    I have a default single column that corresponds to a VO that uses a single select statement in my page. This page is used for inserting into table. When user enter the details and press continue button, i need to use forwardImmediatelyToCurrentPage(), and make the default single column region items readonly. so that the same page will become a review page. How can i make the region items readonly at runtime?
    Thanks
    Eldho

    Hi,
    Please put a parameter with a value 'Y' before you set forward the navigation to the same page. This code has to be triggerred in the processForm Request.
    In the processRequest read for the parameter value and make the fields as readonly if the value of the parameter is the same that has been sent from the PFR.
    This is a simple approach. Another Approach could be to use Partial Page Rendering and set the attribute values as ReadOnly true. But I wd say the first approach is easier.
    Regards
    Sumit

  • Making the region items readonly.

    I have a default single column that corresponds to a VO that uses a single select statement in my page. This page is used for inserting into table. When user enter the details and press continue button, i need to use forwardImmediatelyToCurrentPage(), and make the default single column region items readonly. so that the same page will become a review page. How can i make the region items readonly at runtime?
    Thanks
    Eldho

    Hi,
    the problem with your question is that you don't mention the technology you use and only Google tells me that you work with OA framework. Please ask the question on an Oracle Applications forum here on OTN. There is one that handles OA framework questions
    http://forums.oracle.com/forums/index.jspa?categoryID=84
    Frank

Maybe you are looking for

  • Lost iTunes Library after upgrading to iTunes 7.7 HELP PLEASE

    I have two issues on hand : after upgrading to iTunes 7.7 I opened iTunes and all of my music was gone except for about 1,000+ songs (3.2 GB) when I originally had about 20GB worth of songs. How can I recover my full library into iTunes ? Second issu

  • How to transport a role in portal

    All, I created a new role and I would like to transport it. Could anyone tell me which steps am I supposed to follow and which role am I supposed to have to create a transport in portal? Regards,

  • Bridge CC 64bit is not working

    I have Bridge CC 64 bit installed and it suddenly stopped working. I have windows 7 and I can see information in the windows event log that the application is crashed. I have tried to run it using "run as administrator" but no hope. does anyone have

  • Script to "Optimize to file size" (automatically) in "Save for Web"?

    Hello, all, I'm a novice when it comes to scripts in Photoshop, but I'm really coming to the conclusion that this is the only way to automate the actions I need to do, whithout having to do it one-by-one. Is it possible to write a Script to automatic

  • Can I install Mac OS X Lion on an external FireWire800 drive?

    Can I install Mac OS X Lion on an external FireWire drive? I have bought a Lion Thumb Drive. I'd like to install Lion on the FW drive and then boot from there. The FW drive is a brand-new LaCie D2 Quadra 2 TB drive that has FW 800, 400, USB, and esAT