URL parameters

Hello

I'm new to Flex and as now is more a question of cost, we are trying to get a look better and more deeply to this technology built our next projects/web applications.

As I tried to convert part of our work in ColdFusion, I couldn't find anything wrong and YET can deal with URL parameters. In coldfusion, for example, we can deal with URL. [VariableName]. In our case, we had already used this method to deal with the language (for example, English, French and Spanish). How to collect and deal with information like this in Flex?

In a Word, if I call http://mywebsite/home.mxml?language=english. How do I use the interactivity with the variable 'language' in the URL to see what language has been chosen by the user?

Thank you

Okay, this is actually done in 2.0, but that's.

First in 1.5, you could do what you show because the mxml file was a servr, as well as sews Server take your settings and use them when it generated the html wrapper to create and transmit 'flashvars' in the SWF file. 1.5 the values would be in public variables with the same name as the parameter/flashvar.

In 2.0, the same thing can be done, but since you do not have a Flex Server (unless you use SDSS), you must call an asp or jsp or some other html dynamic generation platform, which can take parameters and create the object/embed tag with the flashvars. Access you the values in flex using a special object (parameters? arguments?) I don't exactly remember.)

Tracy

Tags: Flex

Similar Questions

  • How to pass the time slot to the dashboard in URL parameters

    Hi all

    Does anyone have example on how to spend the time slot to the dashboard in URL parameters?

    That's what I tried. Normally, the dashboard has timeRange as a required context, I deleted and added "startTime" and "end" like required context, so that I can spend 2 timestamps in URL, and then I created a 'extra context' called "timeRange", which calls a WCF function to create a CustomTimeRange, it works pretty well. But the problem is if I have exploration down this dashboard to a different dashboard, the slot not transmitted properly. So I guess, I was not the right way. Does anyone have an example?

    Thank you

    Xiaoning

    1 re: timeRange not spent in drilldown pages

    Please confirm that you have defined one or more entries in context "Required". If you do not, please add a (like "hostName") and re - test. It work?

    2. with 'nologin' user URL redirects to the login screen

    Yes, what is expected. With nologin user, you should always use the form http://foglight_fms:80/console/foglight_ext?viewId=system:mywcfmodule.1?hostName=myhost of the URL rather than the

    form of http://foglight_fms:80/console/page/System:mywcfmodule.1?hostname=myhost .

    It would be great if you could post a brief description of your design dashboard once you have this work. That sounds like something that the other members of the Foglight community would be very interested!

    Kind regards

    Brian Wheeldon

  • ID of Session apex and the Google URL parameters

    I think my question is maybe too obscure to get an answer... but I hope...

    I maintain a site that has links to resources for Oracle Certification tests (documentation, articles, videos, books, etc.):

    http://www.oraclecertificationprep.com/Apex/f?p=OCPSG:main

    The site is (obviously) use Application Express as a backend.  My problem is that even if I have the keys pages/tabs/configured to use the Session ID 0, somehow, not nonzero is creeping in session ID.  I really wouldn't worry except that Google ends up getting URL with zero session id indexed for the Googlebot to go.  The result is that Google gets errors of analysis which he maintains have reported to me.  I have delete - more pop up. I delete those, repetition...

    There is a feature in the page of Google Webmaster tools to set up "Parameters of URL" make Google to know what parts of a URL are temporary and should not be treated as a separate URL entry.  However, there are warnings if you configure the incorrect URL parameters, you will end up by excluding indexing course pages at all.

    So my question is (finally) if someone used Google Webmaster tools to set up the ID of session as parameters, and if so, how they went to do.

    Hello

    I'm not sure that you can configure ignore the id of session on tools for webmasters.

    Try to add the canonical link to your pages with zero session id.

    Official Google Webmaster Central blog: specify your canonical

    Or create application processes always redirect to zero session if the url session id is something else.

    Kind regards

    Jari

  • Content Presenter: CMIS-based datasource request with URL parameters

    Hi all

    I am trying to create a page containing a content presenter taskflow is based on a query CMIS containing URL parameters. In the properties of my component, I defined the following query for my data source:

    + SELECT * from ora: t:IDC:GlobalProfile WHERE ora:p:xqblIntranetSubGroep =' ${param.qblSubGroep}'+.

    I have a qblSubGroep setting of URL containing the value 'Nieuws '.

    Somehow my page doesn't show any content. It seems that the value of the parameter is not passed to the data source query. When I change my request to

    SELECT * from ora: t:IDC:GlobalProfile WHERE the ora: p:xqblIntranetSubGroep = 'Nieuws '.

    so I hard-code the value of my URL parameter in my query, content expected items are shown.

    Also, I have another page with a content taskflow presenter for something unique, based on the data source:

    + ${' #dDocName WebCenterSpaces-CMU: ""} ${param.dDocName} +.

    In this case, parameter values to URL for dDocName are properly transferred, and the content presenter shows the document with dDocName entered in the URL.

    Does anyone have an idea on how to solve this probem?

    Kind regards

    Harold

    Use the following EMPS:

    ${"SELECT * from ora: t:IDC:GlobalProfile WHERE the ora: p:xqblIntranetSubGroep =-" "} ${param.qblSubGroep} ${" '------"}

  • What is the limit on the query string / post / URL parameters?

    Is there a limitation on the url parameters sent in the post method?

    Thanks in advance.

    Chandra, I'm afraid that I don't know what you just said.

    URL parameters, as far as I know, are not encrypted even in an HTTPS Exchange, because they are considered as part of the URL, only not part of the message.  The body of the message (i.e. POST), on the other hand, it's protected.

    I suggest that you send the query parameters in JSON format, just as you could do it with AJAX.  It is a well designed and well understood Protocol with good support on the client and server side.  (XML is also the same.)  This will put the exchange of information in the body of the message (encrypted), and it also will allow you to send and receive information structured structs and lists and tables and so - on.

    You still need to be aware of the size of the messages, but not nearly as much with the URL string.

    Whenever you feel that you could be "pushing a limit", it is time to think that "there must be a better way to do it."

  • Unexpected URL parameters were detected and will be ignored.

    When iam trying to connect with the username and password of the application that is in the jdev it gives the error "unexpected URL parameters were detected and will be ignored."

    Please help me

    in framework Jdev, use default IP, it may solve your problem.

    Kind regards
    Out Sharma

  • With regard to access to the URL parameters of the form oracle on the duration

    Hello

    I use form oracle 10g and I just want to know, is it possible to access URL parameters in the form of oracle on the time of execution in the form code.
    I'll illustrate the problem in depth.

    For example:
    I have an abc.fmb form and when I compile it and run it. It will be opened in a browser with the following link

    http://172.12.51.10:7778/forms/frmservlet? config = pkamble

    Now, I want to access or I want to perform a task based on the URL config part just after the '?' mark the sign inside the code of abc.fmb

    So, I'm curious to know any suggestion here of your elders.

    I tried to find the same using the code block within the abc.fmb following the shutter button one time new form instance

    If (: PARAMETER.config = "pkamble") then

    message ("Hi Pkamble");

    end if;

    I get an error saying that Bad Bind variable 'PARAMETER.config '.

    Please suggest here.

    I'd appreciate the help! :)

    Try it
    MESSAGE (GET_APPLICATION_PROPERTY (CONFIG));
    MESSAGE(' ');

  • Subscription URL parameters

    This thread: http://supportforums.blackberry.com/t5/BlackBerry-Push-Development/question-about-Content-Provider-U...

    I see I must submit the service id (application), version of the os, model of URL registration BPA http://pushapi.eval.blackberry.com/mss/PD_subReg

    But is that all we have? Do we not have to introduce BlackBerry subscriber PIN too? What else do we submit?

    I am developing a stand-alone c# server and I do not see the code of source BPSS. Sorry if the question is a bit lame.

    more than 2 questions: what is the URL of radiation? and what are the parameters that should be passed?

    Yep

    1st call:

    https://pushapi.Eval.BlackBerry.com/MSS/PD_subReg? serviceid = xxxx & osversion = yyyy & model = zzzz

    Retrieve the param = ssss code back as a response.

    2nd call:

    https://pushapi.Eval.BlackBerry.com/MSS/PD_subReg? serviceid = xxxx & osversion = yyyy & model = zzzz & param = Scott

    There is no username and password requried to register with the BlackBerry Service to push. They recommend that you need and that you use and the name of user and password when the registry of the user with the server (content provider) to subscribe.

    Because the registration application through the BIS navigation cluster within the infrastructure of the RIM, they can get the packages PIN low level between the device and the infrastructure of the RIM. You need not deal with PIN in a subscription to the BlackBerry Service to push under your HTTP calls. As I said, when your user name to subscribe s with your server, then you would put the PIN in the HTTP request as another HTTP request setting so that you know which PIN to place you application server-side.

  • Refresh a taskflow reading url parameters

    Hi newbie question here...

    Use case:

    I have a taskflow fall as a region on a page named testPage.  This taskflow redirects to an external page named externalPage.  The externalPage redirects to my

    testPage after the user has made a transaction with him.  The external page redirects to my testPage and passes a unique number in its url called refreshCounter.

    What I want is my taskflow to refresh/reset after the redirect so that I could read the number (refreshCounter) unique URL.

    I've already put my taskflow ifneeded = refresh and I created an input parameter.  I'm not sure how can I link my entry for the url parameter setting

    so that my taskflow would refresh/reset again.

    According to the docs, the taskflow update when the input parameter changes.

    I don't know how or if what I think is correct.

    Pointers?

    JDEV 11G

    You can set the setting of the page (in the section "Parameters of Page" for your activity from view) and try to use it as input for your BTF.

    See this example: ADF Blog of Marvin: URL in passing parameters between two (2) requests for ADF

    Dario

  • In bulk API 2.0/1.0 get contact lists the url parameters don't work

    Hello

    I'm testing the different parameters of the URL as shown here: http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCBB/index.html#D_Reference/endpoints/contacts/get-lists.htm%3FTocPa... and none of them does not seem to work.

    I tried a simple request by adding the limit: / contacts/lists? limit = 1 but he still returned the default value of 1000 in the response.  It is the same for the other parameters.  The paper says this is in bulk API 2.0 but by changing the url of the results of version 1.0 to 2.0 in 404 in the query.

    Any idea what is the problem?

    Thank you

    For bulk 1.0, please try: /api/bulk/1.0/contact/lists?pagesize=1

    For bulk 2.0, please try: /api/bulk/2.0/contacts/lists?limit=1

    Endpoints were made plural in bulk 2.0, in addition to changes to parameter.

    Re: your second question, the best source for contacts lists is api/bulk/2.0/contacts/lists.  The bulk and the rest for the api will provide the data, but in bulk API 2.0 will not change while the REST 2.0 may (without prior notice).

  • Open an application from a url + parameters

    Is it possible to open an application from a url with parameters and read these parameters?

    You can change the file descriptor real app, no need to hack the content of the IPA. In InfoAdditions, you need to add to CFBundleURLTypes. Read this article on how it should work:

    http://help.Adobe.com/en_US/air/build/WSfffb011ac560372f7e64a7f12cd2dd1867-8000.html

  • php url parameters

    I wanted to add parameters to the url for the widget bar menu spry as they show messages with specific as categories_id values are unique to my categories identifiers and I added to my post database too, so I need to the page to display the messages that has categories_id = 1, so that all positions in the model category are visible only I am able to achieve this , but for this I'll have to create separate pages for each category so is it possible to add this code in the url parameter please give example of a similar code.

    Thanks in advance.

    Use an if/else in combination with show if the record exists server behavior, so if the record exists it will show other details, it will display the default page.

    FWIW Ned was not alone; I wasn't going to respond to your first message.  Your second post was easier to understand your goal because of the best composition in your message.

  • Urgent: get url parameters http for a portlet portlet

    I need to get the portlet url as we enter the main parameters of HTTP - settings for a web service through code for a Web service. I have the web service object id. Is this possible?

    Edited by: Manjeera 23 May 2010 22:03

    Edited by: Manjeera 23 May 2010 22:03

    Let's look at this code:
    IPTWebService ptWebService = (IPTWebService) (m_asOwner.GetUserSession ()) (IPTSession). GetWebServices(). Open (nWebServiceID, false);
    String strUrl = ptWebService.GetAbsoluteURL (PlumtreeExtensibility.PT_PROPBAG_HTTPGADGET_URL);

    strUrl contains a complete url (remote server + gadget url)

    I hope this will help you.
    Marcin

  • Current page - including URL parameters

    Not sure if this is actually possible, but shaped, it was worth...

    I have a search page in which I try to allow some "refine" feature, for example the removal of categories of research etc.

    In an effort to reduce the amount of code, my thinking is that the best way to do this would be to take the current URL and mark just on the extra at the end parameter, for example mydomain.com/search.cfm?q=phrase & remove = catid ("BOLD" being the extra added). This method seems best to try to keep track of all the parameters - for example if the user refines the results of many times.

    I tried to use #getfilefrompath (getbasetemplatepath ()) #, but this does not include existing variables and I have not been able to identify a tag that does. Pointers much appreciated!

    Just remembered a function that I completely forgot, so now managed to solve my problem.

    For the benefit of any person responsible for the research in the future, I used #CGI. QUERY_STRING # added at the end of the binding mydomain.cfm/search, cfm, with my new settings added later, for example - mydomain.com/search.cfm?#CGI.QUERY_STRING#&new=param

  • PASS URL parameters

    Hi all
    I checked the GO url with a filter feature - works great, if I try to add more number of parameters, it does not work. BI takes a single parameter value. I tried with 10 filter value in the URL GO. For this, I have passes the parameters to
    .. Saw.dll? GO & Path = < ReortPath > & Action = Browse & P0 = 10 & P1 = eq & P2 = Col1 & value = P3 & P4 = Col2 & P5 = value...

    is there a any restriction on the number of parameters to OBI?

    Hi, the syntax of URL go that you guys were talking about is old. I don't know when OBIEE has published this new syntax, but it is quite flexible in terms of number of parameters to pass HTML controls.

    New syntax is something like that

    http://saw.dll? «Go & Path = / shared //& Action = Navigate & Options = fdr & Col1 = "" & val1 ='' & op1 = eq...»
    You can replace %20 for spaces

    I found more information on this new syntax at this site:

    http://sureshotstrategies.WordPress.com/2008/12/13/integrating-Oracle-OBIEE-content-using-go-URL-syntax-2/

    Good luck
    SAI

    Published by: Sai Kumar Reddiboyina, on September 20, 2009 13:33

Maybe you are looking for