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?

Similar Messages

  • 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.

  • 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

  • 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!

  • 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.

  • 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.

  • Javascript on Button displayed among this region's items?

    Hello,
    I have implemented Javascripts to used manual LOV, has well describe in "How To", and everything work well.
    I now want to put a button in my LOV page to return back a fix value to the calling page/item. From this button, I'm calling the javascript javascript:passBack('fix_value');
    If I put this javascript in URL Target of a region button, it is working well.
    But position of the button is not what I want. If I try to use a "button among region items" and I define a branching with URL target equal to the same javascript, I get a page not found error.
    Is there an easy solution for this?
    Thank you
    Jean

    check out whether this helps you.....
    when we create a button then automatically javascript:doSubmit("request") function gets attached to it and in this function , current page is submitted.
    If you have created the button among the region items , then i am pretty much sure that you wanted to display this button adjacent to some item (let us say A ) in the region
    If above assumption is right then i think it is better to use a IMG tag (displaying the button ) in < Post Element Text > of item A instead of creating the button in the region...
    e.g then you can put the same in <Post Elment Text > of item A of the region
    <IMG SRC="img src"
    alt="Query" border="0" align="bottom left"
    onclick = "<call javascript>">
    here you can
    1. use HREF to redirect ....then no need of javascript function
    2. put "#" in HREF and use a javascript function to re-direct...
    i have used this approach extensively and it works fine ...plus it gives you freedom to exactly place the button where you wanted on ur page ...
    P.S. i tried creating doSubmit(request) function on the page and thought that this function might override the HTMLDB's doSubmit function ..but it did not work
    ----------------------------------------------------------

  • Why can't region item buttons perform database action?

    Looking at my Easy Oracle HTML-DB book, page 211, the author states that a database action attribute is only available for a button in a region position.
    Is it possible to 'force' a button created among a region's items to update the database (INSERT, UPDATE)?
    Thanks,
    Maggie

    You could make a custom procedure to fire when a button is clicked. Within your procedure you can update/delete/insert as you wish.

  • A button in a region position

    "a button in a region position" - hello, is it possible to place this kind of button among region items?
    in Button Position options i couldn't find possition i need..
    thx, mariam

    Hi,
    I think there may have been a couple ways of doing it but I can only remember the one.
    Create a new template specifically for that button copying a previous style. You then reference that button type in the button amongst region items. This custom template would have something like:
    <a href="myHost();" class="t6Button">#LABEL#</a> Or in your case a link to a page.
    If you want it for a different piece of functionality then let me know & I'll try to remember the other way I did it.
    Mike

  • Can I place a button within a specific html table cell?

    Hi folks,
    Subject says it all, I'm trying to place a button in a specific table cell, and don't know how to do it. It's weird that apex has all of the items that you can code directly using apex_item, but not a button. Am I missing something simple?
    Any help would be appreciated,
    Regards,
    -Adam vonNieda

    Depending on what theme you are using the code that makes up a button will vary, some are only input items, some are three table cells. You can examine the source of your page to see what your theme does.
    I have successfully put the following code in a report column header.
    <input type="button" id="DELETE" onclick="doSubmit('DELETE');" value="Delete"/>I use this as the header for a column of check boxes, so the user can select records and delete the selected.
    What Theme are you using, and what do you want the button to do (just submit the page)

  • How to create a table cell occupy more than one row using PDF.

    Hi,
    I want create a pdf report,which contains a table cell occupied more than one line.
    just like html language: <rowspan = 2>
    merge cells in one row is allowed,we can use merge cells command(like colspan in html).
    but how to mege cells in one column?

    Hi,
    I want create a pdf report,which contains a table cell occupied more than one line.
    just like html language: <rowspan = 2>
    merge cells in one row is allowed,we can use merge cells command(like colspan in html).
    but how to mege cells in one column?

  • Button displayed among this region's items clears fields

    I've created a Button displayed among this region's items clears fields that's in the middle of my form, set to Submit Before...
    When click the button, it submits and the field items above the button clear off the form.
    I don't need it to submit, I just need it to make three fields appear on the form if needed, hence the use of the button.
    Thanks in advance!

    Hi,
    userRRRYB wrote:
    The user is cataloging documents. On the form she enters document number, title, owner, and document type (Work Instruction, Verification Sheet, Pallet Layout, etc.) If the document type is a Product Label, there are three more fields that need to be populated. Because the Product Label is one of over ten types and it's the only type that requires these extra fields, I got the bright idea to create a button that, when clicked, displays the fields.
    The problem is that the button is 'among the region's items' and submits when clicked (Request = Go) so it submits and clears the fields that have been populated prior to the fields in question.Assuming you are on Apex 4.0+ Instead of using buttons to display 3 extra fields when document type is product label use dynamic action to hide and show items, Here is how you create it
    1) Create standard dynamic action
    2) Selection type (item) -> item(s) -> :PXX_DOCUMENT_TYPE -> Value (20) Assuming you have created select list for document type field
    3) Specify true action -> show -> item(s) (select the three items you want to display) -> create false action (checked)
    By using DA your field values will not clear out.If you are on 3.0 you can do this with javaScript.
    It would be easier to help you out if you provide APEX version or recreate your problem on apex.oracle.com
    Regards,
    -Senthil

  • Can's create buttons in a region position

    Hi every body,
    i'm trying to create a button in a region position, but i can´t create it.
    I select this option, but i can't select the region cause i haven't any list to select the position. I haven't any form to select any parameters.
    Morevoer, when i try to edit a old button creted in a region position i recive the next error:
    Error inesperado. No se ha encontrado el nombre del elemento a nivel de página o aplicación.
    ERR-1002: No se ha encontrado el identificador de elemento para el elemento "F4000_P4314_ID" en la aplicación "4000".
    Someone can helpme.
    Thanks.

    I really need help.
    I'm trying to edit the buttons in a region position and I always get the same error:
    ERR-1002 Unable to find item ID for item "F4000_P4314_ID" in application "4000"
    I can't do anything, unless I edit the buttons, I can not make many changes in my application.
    Please someone help me.
    Thanks.
    Víctor.

  • 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 CLICK ON SEARCH ITEM CAUSES OTHER REGIONS (FORM) IN TABLE TO ERRORS

    Hello,
    I dont know if I have come to a limitation or flaw of the XE or is it me who does not know how to. (probably me)
    The thing is that I have in one page, one standard form for entering data and one report output table to show them. This output table has incorporated that built-in feature of Search
    Now, what happens, if I click on the search button to locate a record in the Report table, as the full page reloads, then the Form region also loads but as it has no data, in the effect of being reloaded activates its button of submit, bringing my report table to all errors as it is getting null values which are not allowed. I really need the search feature because otherwise users can have the more and more unconfortable time to locate things as the table grows to thousands of rows.
    any help would be greatly appreciated
    kindest regards
    Alvaro

    Hi,
    My first option probably do not even work. I did mean put expression "GO" as I understand go button submit request GO.
    And now when I think it is validations that gives those errors. Right ?
    So you need set that condition "PL/SQL function body returning a Boolean" to after submit validations
    RETURN :REQUEST IN('SAVE','CREATE');Sorry, about confusion
    Automatic Row Processing (DML) process that actually insert/update/delete is anyway run only when certain submit requests
    >
    Valid Update Request Values: SAVE, APPLY CHANGES, UPDATE, UPDATE ROW, CHANGE, APPLY, APPLY%CHANGES%, GET_NEXT%, GET_PREV%
    Valid Insert Request Values:      INSERT, CREATE, CREATE_AGAIN, CREATEAGAIN
    Valid Delete Request Values: DELETE, REMOVE, DELETE ROW, DROP
    >
    Br, Jari

Maybe you are looking for

  • Issue in BIP Report Generation - Issue gets fixed when the rtf is opened and re-saved

    Hi, We are facing a unique case in BIP reports generation at a Customer site. The BIP installed is a part of the OBIEE 11g installation. The customer report generates most of the times, however there are instances where we get a techinical details er

  • Few questions on EB-SUS scenario?

    Dear Experts, I have few questions on EB-SUS scenario which you may help with your expertise. It will be helpful for those who are new to scenario? 1. EB (enterpise Buyer or SRM) -SUS scenario is used for requesting external staff? can it be used for

  • Flash builder 4.7 lags on big files

    Hi I starts using new Flash Builder 4.7 three days ago. I have file that contain 5000 strings of code. And when I open this file and starts edit it - flash builder starts terrible lags! I can print only 3-4 chars per minute... There was not such prob

  • ColdFusion MX7 and db2 9.5 timeout issue

    Does anybody have a solution for this? I can connect to the db2 database via ibm managment tool with no problem using the same username/password, But get a timeout error when setting up a dsn for the database via cold fusion. cold Fusion MX 7 DB2 9.5

  • Trying to find answers for the question "Why is this file type blocked from being uploaded into SharePoint"

    At least once a month - sometimes much more frequently - I get calls from users asking why the file extension they "need" to upload to SharePoint is blocked. Most recently, it was a Microsoft Access database that the user was attempting to upload to