Button within Region

Hi,
Previously, I created a screen that had a Password field and next to it a button marked as 'Approve'. When the user filled in his password and clicked the button, the Approved By field wouild be filled in and the DML update process would update the record. I checked for :REQUEST in ('SAVE', 'APPROVE'). I had tested this and it worked.
Sometime after the testing, I upgraded to Apex 2.2. I just built another screen that, in effect, cloned the Approve processing and found that I cannot make it work and that the original screen does not work as it used to. The session state shows that the appropriate values are being set/calculated and the debug process shows that the DML process is 'running' but no update is occurring. If I do a 'normal' update via a SAVE button at the top of the region, the DML process stores the record and if the session state for the Px_Approved_BY screen field has been set by the Approve process then its value goes into the data base record too.
I think the difference in behavior is caused by the fact that SAVE button has a Database Action attribute of SQL Update action associated with it while the Approve button within the region has no data base action attribute.
Is there a way to get around this new 'feature' without moving the Approve button to a non-intuitive position in the screen?
thanks,
Peter

Peter - Can you put an example on apex.oracle.com and show us what is not working?
Scott

Similar Messages

  • Center Button Within Region

    How do I center a button within a region? I tried 'align="center"' but this seemed to be ignored. The button is at the left of the screen. Also, what are the 'display points' (Page Template Region Position 1-8) used for, and why is there a specification for column position of 1-9? Could these be attributes that will allow my button to be centered on the window instead of on the left?
    Thank you!

    Question was answered on another post.

  • Get the value of a selected radio button within a ToggleGroup

    All
    Please see the script below. All I'm trying to do is to identify the selected radio button within a ToggleGroup. This has been working in JavaFX 1.2.
    This is JavaFX 1.3 running on NetBeans 6.9 (beta) on Ubuntu 10.04
    Does anyone know why this is no longer working?
    import javafx.scene.Scene;
    import javafx.stage.Stage;
    import javafx.scene.control.ToggleGroup;
    import javafx.scene.control.RadioButton;
    import javafx.scene.layout.HBox;
    import javafx.scene.control.Toggle;
    def levelGroup = ToggleGroup {};
    var selected: Toggle = bind levelGroup.selectedToggle on replace {
        // here I want to capture the value of the selected toggle
        // the outputted value is always 'null'
        println("level toggle = {selected.value}");
        println("selectedToggle = {levelGroup.selectedToggle.value}");
    Stage {
       scene: Scene {
          width: 300
          height: 300
          content: [
             HBox {
                    translateX: 100
                    translateY: 67
                    spacing: 20
                    content: [
                        RadioButton {
                            toggleGroup: levelGroup
                            text: "Easy"
                            selected: false
                        RadioButton {
                            toggleGroup: levelGroup
                            text: "Medium"
                            selected: true
                        RadioButton {
                            toggleGroup: levelGroup
                            text: "Hard"
                            selected: false
    }

    Actually, your code above wouldn't have worked in JavaFX 1.2 as we only added the value property to the new Toggle mixin in 1.3. I believe what worked for you in 1.2 was when you referred to text, which is not a property on Toggle, so you need to cast the selected variable from Toggle to a RadioButton, which does have a text property. For example, this would work:
    var selected: Toggle = bind levelGroup.selectedToggle on replace {
        println("level toggle = {(selected as RadioButton).text}");
        println("selectedToggle = {(levelGroup.selectedToggle as RadioButton).text}");
    }Alternatively, instead of casting like this, you can store a value in the value property of the Toggle mixin class, which is extended by RadioButton. For example, your code could be changed to the following (in particular note that the only change is the addition of the value properties in each of the RadioButton):
    import javafx.scene.Scene;
    import javafx.stage.Stage;
    import javafx.scene.control.ToggleGroup;
    import javafx.scene.control.RadioButton;
    import javafx.scene.layout.HBox;
    import javafx.scene.control.Toggle;
    def levelGroup = ToggleGroup {};
    var selected: Toggle = bind levelGroup.selectedToggle on replace {
        println("level toggle = {selected.value}");
        println("selectedToggle = {levelGroup.selectedToggle.value}");
    Stage {
       scene: Scene {
          width: 300
          height: 300
          content: [
             HBox {
                    translateX: 100
                    translateY: 67
                    spacing: 20
                    content: [
                        RadioButton {
                            toggleGroup: levelGroup
                            text: "Easy"
                            selected: false
                            value: "Easy"
                        RadioButton {
                            toggleGroup: levelGroup
                            text: "Medium"
                            selected: true
                            value: "Medium"
                        RadioButton {
                            toggleGroup: levelGroup
                            text: "Hard"
                            selected: false
                            value: "Hard"
    }This approach saves you from having to cast from Toggle to RadioButton. This second approach is actually very powerful, as you can store any object in the value field, and can then easily retrieve it at a later point when the user selects the desired RadioButton. Of course, you can just use it as in the simple case above as well.
    I hope that helps.

  • How do I Re enabled the Buttons in MainMovie.swf from a Button within SecondMovie.swf???

    I have the following situation
    MainMove.swf is doing a loadmovie of SecondMovie.swf
    The Button that loads SecondMovie.swf also disables other buttons in MainMovie.swf
    on (release) {
        _root.intro_btn.enabled = false;
        loadMovieNum("SecondMovie.swf", 2);
    How do I Re enabled the Buttons in MainMovie.swf from a Button within SecondMovie.swf???
    Using AS2 is this current project
    Thanks

    lol Sorry bout that I'm brand new here and was looking for the option to remove the post from the other location.

  • Button within a movie clip not working

    Hiya,
    I have a movie clip within my swf website that is basically
    an icon that you roll over to produce the menu. The movie clip has
    coding inside it to produce the rollover effect. This is as
    follows:
    stop();
    this.onEnterFrame = function(){
    if(rewind == true){
    prevFrame();
    this.onRollOver = function(){
    rewind = false;
    play();
    this.onRollOut = function(){
    rewind = true;
    Whilst this coding works fine for this movie clip, for some
    reason the buttons within the movie clip that appear as you
    rollover them will not work when pressed. I am trying to get them
    to navigate the main timeline, i.e. coding as follows:
    on (release) {
    _parent.gotoAndPlay("home")
    _parent should be correct, I've tried it without and with
    _parent._parent however still it has no effect. From what I can see
    everything should be working fine.
    Is there some reason why buttons will not work within this
    sort of roll over effect movie clip?
    Thanks for your help.

    you can't assign mouse handlers to a parent movieclip and
    expect a child movieclip to respond to mouse events: the parent
    will intercept those events.
    to remedy, either assign all your mouse handlers on the child
    generation movieclips or use a hitTest() for one of the
    generations.

  • Controlling the main time line of a movie via a button within a movie on a different level.

    Hi there!
    I have two movie is two different levels,
    Level 5 is my base movie and I am loading another movie on
    top of this into level 10.
    Once the user clicks onto a button within the movie on level
    10, I would like the animation in level 5 to stop (the animation
    runs on the main root timeline of level 5).
    Once the user clicks on a different button within the movie
    on level 10, I would like the animation on the main timeline of the
    movie in level 5 to start again from the point where it previously
    left off.
    Is this possible?
    It would be great if someone could help me out with this.
    Thanks, midi_ie

    midi_ie wrote:
    > Hi there!
    > I have two movie is two different levels,
    > Level 5 is my base movie and I am loading another movie
    on top of this into
    > level 10.
    > Once the user clicks onto a button within the movie on
    level 10, I would like
    > the animation in level 5 to stop (the animation runs on
    the main root timeline
    > of level 5).
    >
    > Once the user clicks on a different button within the
    movie on level 10, I
    > would like the animation on the main timeline of the
    movie in level 5 to start
    > again from the point where it previously left off.
    > Is this possible?
    _level5.gotoAndPlay("someLabelframe");
    Use your regular action to target timeline or movie clips,
    just define the level number at the beginning of the path.
    Pretty much it :)
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • How to delete buttons in region buttons in oracle apex?

    how to delete buttons in region buttons in oracle apex?
    i have created unwanted buttons...so i have to delete...
    but i dont know how to do this?

    Hi,
    -> In apex page go to buttons region where list of buttons are located.
    -> Select the button which you have to delete.
    -> Click on "Delete" button on top of page.
    -> It will ask for confirmation click "Ok" to delete that button
    OR
    -> In apex page go to buttons region where list of buttons are located.
    -> Click on "Edit all" icon and go to "Delete multiple buttons" tab.
    -> Check the buttons which yo want to delete.
    -> Click on "Remove Botton" button to delete selected button
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • Can I place a "Return Button" within a clip?

    Is it possible to place a button within a video clip that would enable a user to return to the previous menu? I am using submenus and to return to the submenu requires going back to the main menu and then back into the submenu.
    24 inch iMac   Mac OS X (10.4.8)  

    Is it possible to place a button within a video clip that would enable a user to return to the previous menu?
    short answer is no. However you can add a button for the main menu
    If you have a project with submenus, you can add a button that viewers can click to go back to the main menu.
    To add a button for the main menu:
    Open the menu where you want to add the button and choose Project > Add Title Menu Button.
    Hope this helps.
    SDMacuser

  • The buttons in main the vi get locked after opening a vi reference in a subpanel and using buttons within the subpanel.

    I am trying to open a reference to a vi in the subpanel of the main vi. However after the vi opens in the subpanel and after pressing a few buttons in the subpanel the buttons in the main vi get locked, i.e. I can't even close the main vi or control anything else. Is there any way how I can avoid this happening?

    > The buttons in main the vi get locked after opening a vi reference in
    > a subpanel and using buttons within the subpanel.
    >
    > I am trying to open a reference to a vi in the subpanel of the main
    > vi. However after the vi opens in the subpanel and after pressing a
    > few buttons in the subpanel the buttons in the main vi get locked,
    > i.e. I can't even close the main vi or control anything else. Is there
    > any way how I can avoid this happening?
    This is most likely happening because in either the top or sub panel,
    there is an event structure that is queuing events, and is set to lock
    the panel until the events are handled, and because of the logic in the
    diagram, the events aren't being pulled from the queue.
    So, you have a deadlock. You are waiting
    on the panel. The panel is
    waiting on the diagram. And the diagram is waiting on something else.
    So, if there are indeed event structures involved, determine where in
    the diagram things are delaying. Also, if you do not need the panel to
    lock until the event is handled, you can change the setting in the
    events dialog on the structure. But the events will still be queued
    until the diagram starts executing.
    Greg McKaskle

  • Call a external SWF by press the button within another SWF file but the second SWF file play Externely

    Hello Guyz.
    i am working on Macromedia Flash 8 and i just want to call a external SWF when i press the button within another SWF file.......but the second SWF file play Externely............can any one knows the code.... AS2

    try this
    http://www.actionscript.org/forums/showthread.php3?s=&threadid=28123

  • Submit button within Interactive adobe form

    Hi,
        We have developed an Interactive adobe form and inserted a submit button within it We have installed ACI also.We tried putting the submit button both within the adobe form body and also within the webdynpro java view. In both the cases pressing the submit button does not result in any action. Please advise on what we are missing. We checked the forums for similar issues and found out that we are abiding by most of it.
    thanks
    anantharam

    Hi Anantharam,
    Please create and action in your view and attach it to your Interactive form UI element's onSubmit event. By doing this, whenecver you press the Submit button in the form, this action will be invoked. You can place any methots/code that you want to execute on click of submit button.
    If you are using the button outside the form, then you try printing one of the values that you filled in the form which is binded to context. This way you can test.
    If you are using WDP activex UI element s in the form then you need to have ACF installed on the machine and also ensure that the displayMode property of Interactive form is set to ActiveX.
    Hope this helps!!
    Regards,
    Arafat

  • Hyperlinks within a button / button within a rollover button?

    Hi folks,
    I'm quite the newbie here (print designer trying my hand at multimedia news projects), so I apologize in advance for sounding stupid a bit too often.
    OK, so I'm working on a project, and it's going OK. What I want to do is for the user to rollover a button/object, and a little pop-up box will show up, and it will have some text/photos/... Pretty routine stuff. That I can accomplish without a problem...
    Now, what I want to add in there is also a hyperlink that will open a Web page in a new window. And that's where I get stuck. It won't let me.
    I assume it's because part of the rollover thing in the button symbol. That's how I'm doing it so far.
    So, is there anything I can do going that route, or do I need to take another approach?
    I'm thinking the other option would be to create a movie clip, which would hold the pop-up box and the photos and the like, then make a button within that which would hold the hyperlink. Then, I could create an object right on the timeline with a rollOver that would trigger the movie-clip instance.
    Does that make any sense?
    I'm using CS3, but I also have access to CS4 if needed.
    Thanks in advance for your help!

    Hi Ned,
    Thanks for the reply. I think I know what you mean. So anything that's triggered with a button cannot have anything inside triggered again.
    To put it pretty simply, this is what I have:
    There's a fever chart, and there are several points that I would like highlighted along the way.
    So, when I roll over, say, the highest point, a balloon of sorts would pop up. It would have some text and photos and whatnot, but it would also have hyperlinks.
    So... What's the best way to approach it?
    I'm thinking the balloon of sorts would be its own movie clip, and all the goodies would be inside of it.
    Now, to trigger it, should there be an object converted to a symbol to trigger it? Then, should I do a on(rollOver) kind of thing? When I roll over it, it would play that instance.
    Or, the other option would be to do a rollover that would go to a certain layer/frame and play that.
    What do you think?
    Again, I'm sorry about my ignorance.
    Thanks!

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

  • A single PSD imported but has buttons within

    I imported a single PSD with 88 layers as buttons. When I double click on the PSD, to break apart, I creat new symbols of 88 buttons. But when I run the program, flash dosen't see the buttons within the PSD. The EventListener can't see the buttons because they are within the single PSD file. I did the buttons one by one, but when scrolling through the 88 buttons, the buttton move closer together as scrolling, That's why I made a single PSD so they don't move.
    I am using Flash Professional CS5

    Are you not using the import function in the File menu? Ordinarily, when you import a .ps file into Flash you will get a window that will allow you to set the layers that are to be imported and the method used to import  those layers. If you Select to import Photoshop's layers as Flash layers then each of your Photoshop layers will be imported as individual bitmaps on their own layers into Flash.
    Then you can select each individual item and set it to be a button if you like.

  • Trying to get mc to play and stay open/buttons within

    Hi everyone, i am in desperate need to get this to work! I've
    tried posting previously and this is what i have so far now...
    I am creating a navigation bar in Flash (which will then be
    used in Dreamweaver). When you mouse over each topic in menu (ex.
    Products), i want it play a movie clip (so it shoots out a sub-menu
    underneath). so far so good, but the only thing is, the sub-menu
    won't stay open in order for me to click on buttons in it. For each
    button, I assigned it the Behavior to go to a url. Also, I tested
    the buttons within the mc and they don't seem to direct me to url.
    do you think maybe it's because it's nested within the movie clip??
    Is there an easier way to go about this?
    Here is the link:
    http://www.jeannettevillarreal.com/index.html
    I can also email the file, it is very small, to you. Please
    help!! thanks!!
    This is the code I used for it:
    products.onRollOver = function() {
    products.gotoAndPlay("over" );
    products.onRollOut = function() {
    products.gotoAndStop(1);
    store.onRollOver = function() {
    store.gotoAndPlay("over" );
    store.onRollOut = function() {
    store.gotoAndStop(1);
    }

    sorry to be a pest but i'm not making a connection on how
    this will make the button work. would it be too much trouble to
    post a sample of what you mean by "start a loop that repeatedly
    checks if the the child moviclip has a positive hitTest with the
    mouse"...? thanks

Maybe you are looking for

  • Mass creation of Infoobjects

    Hello Gurus, Is there a way of creating keyfigures in mass. Thanks in advance

  • Copy Control from Shipping Notification to Billing

    Hello, I am working on an requirement where, i need to copy header text of Shipping Notification to Billing document Item text. User will be creating Invoice F2 with reference to delivery LF...then i will be taking shiping notification linked to Deli

  • Display battle: Are these compatible?

    Hi, this is a quick question, but I just want to know, would a Mac Pro would have any issues with any of these displays? Is Apple's $1799 30" HD Cinema Display significantly better quality than either of these to justify its much higher price tag? 1.

  • SMS at the time Invoice invoice is saved

    Hi I want to send SMS to the Customer Moblie when his Invoice is Created in the SAP system. The SMS should have the SAP invoice no. and the Amount of Invoice.

  • How to change wildcard "_" (underscore) to some other character ?

    Hello Tech Gurus, I want to search for "_"( underscore) in a string using LIKE function. The query is: Select col1,col2 from table1 where col1 LIKE ('%ABC_%'); I want to search for string 'ABC_'. But, If I use '%ABC_%' the last underscore will be tak