Redirect control using click in a State different os the same page

Hi all

I want to build an application to add text. It's like when I click a button say ADDTEXT it will be op [en a popup windoew and I'll write my text and press OK button to close that.] When I close the popup, you'll see the text on my page of the editor. Now, I created two States is beginning where the ADDTEXT button located in the other State (named addText) I put all accessiories to change the text like: color change, change of font etc.

Now I want to redirect control the text "addText" to the same momet I click the OK button. I am not able to make this change. Please help me with this.

Thank you

Lali.

have you tried

currentState="stateName";

?

Tags: Flex

Similar Questions

  • auto collapse a mobile menu accordion when you click on links to anchors on the same page

    I'm building a mobile site, with the Accordion widget containing the a menu widget, pinned to the top (I added css custom to pin it on top).

    It's a single page site, so all the links are to anchors in the same page.

    How can I make the accordion close when you click on the links in the menu?

    You can try the suggestion mentioned here:

    http://StackOverflow.com/questions/21649839/make-accordion-close-on-second-click-jQuery

    http://StackOverflow.com/questions/9260068/collapse-jQuery-accordion-on-click

    Thank you

    Sanjit

  • Optional redirect to URL in branching on the same page

    Hi guys,.

    I'm trying to use the optional redirection URL when branching from one page to another. In my case I insert a new record of Page 12, here are the details of the Page 12:

    Page 12 contains a row-extraction automated process that runs after the header.

    I have a connection with an optional URL forwarding option that takes me to the same page 12, click on the Save/Create button to create a new record. I'm defining the key primary and other form values and save the session state. However, once the data are inserted into the table, using the redirect option URL gives me no data found message.

    Could someone please help me to and explain what I'm doing wrong here?

    Thank you
    Rohan

    Hello

    Add this line in your code just after calling "set_session_state". Run the page in debug mode. Debugging must show a line like «value PK recover...» ». Don't you see a valid value?

    wwv_flow. Debug ('PK retrieved value =' | v_ccpPK_nr);

    CITY

  • Why different applications react differently to the same pressure tapping?

    MacBook Air (13 inch, mid 2013) Yosemite 10.10.5 e-mail version 8.2 (2104) and I am aware of the updates for these circumstances.

    I have noticed that when you use the e-mail the trackpad is too reactive to the look, so that the same amount of pressure on this site or

    another site on Safari (but not others, because it is more responsive on wikipedia as mac mail) might need more pressure or even strong look even receive a response at all.


    Is this something I do or a feature of these sites and applications?

    Previously I was clicking on listen and not from using tapping, this has started to (what I call over-sensitivity by the cursor using the trackpad on a MacBook Air):

    -Understand that Mac adapts to the user; I'm the only one using my computer, but would it not be part of his adjustment make listening to click before?

    -The idea that this "breaks" could be the battery swelling against the trackpad, but checked on the Mac 'of the battery"and he says that it is 'Normal '.

    -Have you noticed that if I'm particularly aware of my fingers and where they are EXACTLY, as well as the rest of my hand, that helps a lot, but nevertheless it can still happen even in this case

    -I don't think it's just me, as a friend using a different notebook (MacAir early-2015) has recently made the switch from clicking to eavesdropping and reported having the same problem.

    -J' read Sys Pref > Trackpad options but for as far as I understand, none seem to address the issue of the pressure and the responsiveness of the trackpad to eavesdropping. (Just put the cursor on an email and it opens or moves to a mailbox with what seems like no pressure tap at all or opens the message, it set up a response.) On wikipedia, for example it seems I am just passing on an item with the cursor and it opens the link.)

    Are there adjustments options to reactivity more personalized listening or helping me become more aware and

    of what I could do to cause this reactivity?  I can do the trackpad tap less responsive Mail where it's more annoying as one

    feels that they can lose a message here.

    Since this question is search discussion groups under "trackpad issues" and see that these are concerns that date back a few years with the MacBook Air, as far as I can see.

    In these discussions of 'clicks ghosts', a speaker asked if the person asking the question, had 'activate him slide' checked and if yes, they suggested unchecking it.  Sys Pref > accessibility > mouse and Trackpad > Trackpad options - where I tried NOT checking "enable drag". In the same place at Sys Pref, I unchecked "spring-loading delay. Both of these measures seem to be helping. 

    These two choices and a growing awareness (of exactly how light a touch is necessary - even a little nervous tap that I might not even know was going on before because I was using the clicking on rather than look) , it seems, has slowed the reactivity and the trackpad on the MacBook Air mid-2013 oversensitiveness.  For those most familiar perhaps you could comment on is it's possible use of a reagent trackpad, it would be greatly appreciated.  Thank you for your time and your consideration.  Because these choices seem simple and non-intrusive (at least for me) they can be worth a try for other people who also say that they have these issues with the trackpad being over-sensitive to the look.

  • Branch to the same page with different session variables

    Hello guys,.

    Is there a way that allows to create a branch that redirect to the same page with a different set of values for session variables. Or is it an effective way to add the buttons after that moves through the consecutive records in the pre and oracle apex.

    hope someone can help me.

    Kind regards.

    -shashikahk-

    is there a way to add the following buttons and pre

    If you create a form using the wizard pages, Apex will automatically create these buttons in some cases (as in a master form / retail).

    Create a master page / detail demo so you can see how it works. Apex creates a pre-rendering process:

    Get the value of the primary key next or previous

    Some of the hidden objects, such as Pxx_ROWID_NEXT.

    And two buttons: GET_PREVIOUS_ROWID and GET_NEXT_ROWID

    (if you do not use rowid as the primary key, another name will be generated).

  • Click on a button to fill out the form on the same page of the report

    Hello

    I have a report that contains a name I want to move to a field in a form on a different region on the same page.
    My button on the report was her own column called ADD_LINK. This is the button. "< id button ="apexir_btn_ADD"class =" button apexir "type ="button"value ="Add"onclick =" "> < span > </span > Add < / button >.

    Once you click on this button, I have the form region fade. The region is called add the tag to the employee, which has P4_ROWID, P4_EMPLOYEE_ID and P4_TAG_ID.
    Once the area is displayed, I want #NAME # to show in the P4_EMPLOYEE_ID.

    I copy this form in another page, where I had it before. It made more sense to move it to this page for purposes of interface, then perhaps this tidbit will help as well.

    If someone has an answer to it, great. I'm new so thanks for the help.

    Thank you.
    Jeremy

    Its market not now and I did in the region never delete because you use the same area for the two remove hide/show the corresponding keys.

  • Two redirects to the same page?

    DW CS3 - ASP

    Through a former (but excellent) training DVD to create registration forms Insert/Update/Delete using DW & ASP.

    Two forms are created on the same page - a record of update and delete record.  Update works, but delete creates an error:

    Microsoft VBScript error "800 a 0411" compilation

    Name redefined

    /mysitename/myFolder/admin_edit.asp line 95

    Dim MM_editRedirectUrl

    This error is apparently due to the different redirect for each form URL:

    ' add the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "admin_edit.asp".
    If (Request.QueryString <>"") then
    If (InStr (1, MM_editRedirectUrl, "?", vbTextCompare in) = 0) then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
    On the other
    MM_editRedirectUrl = MM_editRedirectUrl & "" & Request.QueryString
    End If
    End If
    Response.Redirect (MM_editRedirectUrl)
    End If
    End If
    % >

    ' add the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "admin_home.asp".
    If (Request.QueryString <>"") then
    If (InStr (1, MM_editRedirectUrl, "?", vbTextCompare in) = 0) then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
    On the other
    MM_editRedirectUrl = MM_editRedirectUrl & "" & Request.QueryString
    End If
    End If
    Response.Redirect (MM_editRedirectUrl)
    End If

    End If
    % >

    I read that rename the second MM_editRedirectUrl Sun of Sun MM_editRedirectUrl_2 will make things work properly and he DID!  However, does make for an unstable environment; and if yes, what is the best approach to resolve this?

    OK, that makes sense. The problem stands and the original solution. Loading edit/detail page he sees scripts and variables of these two behaviors, and that the same variable name is used in both cases. So to change the names of variables in one or the other behaviors will work and will not cause any instability.

  • Is there a way to create a button etc to get different views of the same page?

    I have a page full of product images and wants to give the viewer an option to choose the size of the images on the page. So far, I just had two different pages with the same images and created a hyperlink button to switch between views. The reason why I want to get the two points of view on the same page, is I want to use the same name for each page. Muse won't let me create two pages with the same name, so now I have a parent page "Products" (with large images) and its child page "products 2" (with the small images) with a hyperlink linking them. "» This also creates a problem in the menus, since the 'product 2' does not have the active menu bar.

    I have the same problem with the creation of the site in different languages. I would like to make a simple drop-down list with options "Suomi" and "English". What I have to create two different sites in two different languages and have just the hyperlink connect for example home pages?

    Thanks for the tips!

    You can use any number of widgets to create online pop-overs / hover pods / galleries. Lightbox to the ToolTip, anything is possible. The language issue to indeed create individual sites and crosslink them.

    Mylenium

  • Impossible to use VMWare Server and Virtual PC at the same time?

    I have a Win 7 box I use VirtualPC (unfortunately, VPN to the employer only supports the 32-bit Win XP).

    If I try to start any virtual machines using VMWare Server, power on and then immediately off.  Tried several different VMs.

    However, if I disable VirtualPC, they all work normally.

    Then... there at - it a known issue with the help of Virtual PC and VMWare Server at the same time?

    BTW, I didn't see this problem when you use Virtual PC and VMWare Player at the same time.

    VirtualPC leaves the CPU of the exploitation of VMX root, which is a restricted mode.  VMware Server is problems to switch between legacy mode and long (this switch is prohibited when the CPU is in VMX root operation).  The current versions of the workstation and the player are able to circumvent this restriction.

  • Bind several web service data controls on the same page

    Hello
    JDev version: 11.1.1.6.0
    I using SOAP web services. I have the following usage:
    I have the data control for the web service, that records the values entered into the form. I created the entry form using the data control (DC1).
    There is an input field [T1], on the tab, I need to fill an another text field, for which the data is returned to an another web service (DC2) data control.
    For the same input text [T1] on the tab out, I need fill in the object list in the component selectonechoice, for which the data is returned to an another web service (DC3) data control.

    Is it possible to use bind several data controls on the same page to reach the use case?
    However, I want to avoid the use of managed bean. Is it possible to do this?

    Concerning
    Fabiola

    Hello

    I can make the case to use even without the use of the managed bean?

    Yes, although the managed bean solution seems reasonable to me.

    Difficulties are

    + 1) REQ1 and REQ2 are the parameters that is common to both 1 and 3 services. +

    Text fields that provide arguments to a method are related to an input variable (file PageDef has an iterator variable in the executable section). A variable can be referenced from method arguments

    + 2) REQ1 is the parameter that is common to both 2 and 3 services. +

    Identical to 1. Create a setting for service 2 and map variables in the arguments of the method of service 3

    + 3) Service3 needs all REQ1, REQ2, REQ3, and REQ4 parameters as parameters to save the data. +

    As said, fields can be referenced from variables, dependent, the linking of the attribute fields (as I guess it is a return value in the bound field)

    There are problems of links as the same setting is available between several departments.

    It's new to me

    Is it possible to solve these problems of binding addresses?

    Yes. Make sure however that WS DC iterators you see in PageDef have their property Refresh ifNeeded for the refreshment of the bound field work properly

    Frank

  • Filters in the way different on the same column

    http://img848.imageshack.us/i/screenshotwjk.PNG/

    If you take a look at the screen at the time there is view pivot that has about 10 columns one of them is the type of scene that always contains two values Foster Care child and current CPS, my requirement is if I click on the month column values if the month value is in the category Foster Care child, then he must pass three id filters , id of the person and if she has the current CPS then it must pass two filters case id and month is it possible if say me. I will be very happy if you can help out me.

    Thank you

    Already answered.

    Filters in the way different in the same report

  • Redirect to the same page with the values of the variables

    Hello

    I develop a form to report data of the certain date range provided by the user.

    The problem is that I have to redirect the page back to the original page with the error message "not found in the date range" If the provided date range contains all the data in the database. I am able to redirect the page to the original page for help:

    < cfif queryname. RecordCount EQ 0 >

    < cfset action 'error' = >

    < Cflocation >

    < / cfif >

    And I use the < cfparam > for the creation of an action to navigate in the code, variable

    < name cfparam = "action" default = "" >

    [Use the < cfparam > above, tag at the top of the code and using action EQ 'report' and ' ' for navigation in the code]

    But, when I redirect to the same page, with the variable value measures of error and using cflocation he forget all varable values in the new page [way], then how can I pass a variable value measures on the same page and redirect it to the same page on meeting certain criteria.

    If this isn't clear, let me know.

    Help, please

    Vijayvijay77.

    vijayvijay77 wrote:


    ...


    And I use

    a kind of cfif to navigate inside the code. I'm doing something wrong here.

    You say that you guessed it at work.  But you have a dangerous code here (if you have not changed).

    The line will generate variables URLS when ColdFusion processes the page.cfm file once requested by the browser.  For example url.set and url.flag.

    Tags are NOT specifying the scope of variables, so they will default to the scope of "variables".  Who are the local variables of the demand for treatment.  For example variables.set and variables.flag.

    URL.set and VARIABLES.set ARE NOT the same variables.  And this confusion can cause some VERY difficult to diagnose the problems of code.

  • IS THIS POSSIBLE AND IF YES COLOR 'HOW' TO HAVE DIFFERENT LINKS ON THE SAME PAGE?

    Hello

    IS THIS POSSIBLE AND IF YES COLOR 'HOW' TO HAVE DIFFERENT LINKS ON THE SAME PAGE?

    How to replace the color of Page link?

    See you soon,.

    Dreamer101.1

    Yes, it is possible, using CSS.

    Here's how. You already know that the link colors are set in the following css rules:

    • a: link
    • a: active
    • a: visited
    • a: hover

    All you have to do to have another set of links of different colors is to create another set of rules that set different colors and also have different names:

    • a.name1:link
    • a.name1: active
    • a.name1:visited
    • a.name1:hover

    Can link you these rules to the anchor as a class tag: something.

    You can have as many sets of rules to link given that the names you can think of.

    Happy linking!

  • Donwloading two reports different tabs the same Excel

    Hello

    Is it possible to download two different reports under two tabs to an excel file. Reports can exist on the same page of dashboard.

    Thanks in advance,

    Anurag

    Hi Anurag,

    I have not tried myself, but maybe this might be of any help;

    http://oraclebizint.WordPress.com/2008/02/07/Oracle-BI-EE-101332-combining-multiple-Excel-report-outputsworkbooks-to-a-single-Excel-report-using-BI-delivers-bi-Publisher-APIs-and-VB-scripts/

    Good luck

    Daan Bakboord
    http://obibb.WordPress.com

  • How to set point values when redirecting to the same page.

    I just create a button to redirect I want to redirect to the same page and place 2 elements on the page to the same value they had before the redirection.
    But I can not write:
    Place these items: P1_Permit_Number, P1_Fishing_Year
    With these values: & P1_Permit_Number, & P1_Fishing_Year.

    Because there are no values in session state, because a shipment has not been done.

    So, how can I do this?
    I know how to get the values stored in the elements, for example, $v ('P1_PERMIT_NUMBER')
    but where should I put this command? It is not allowed under the "with these values.
    And I don't really want to make a button "submit" and create a process that says:
    P1_PERMIT_NUMBER: = $v ('P1_PERMIT_NUMBER'), because that would complicate the page too - I already have other branches and the process on the pages which conditions have to be modified so that they do not work in this scenario.

    Thank you.

    Hello

    The syntax seems correct to me. Your summers of uppercase element names?

    Try:

    alert("Here");
    var permitNumber = document.getElementById('P1_Permit_Number').value;
    alert(permitNumber);
    var fishingYear = document.getElementById('P1_Fishing_Year').value;
    alert(fishingYear);
    var url = 'f?p=&APP_ID.:1:&APP_SESSION.:Vessel_Display:::P1_Permit_Number,P1_Fishing_Year:' + permitNumber + ',' + fishingYear;
    alert(url):
    window.location.href = url;
    

    All alerts MUST display expected values. Doesn't it?

    Andy

Maybe you are looking for