Values element autologin and passing in the URL of the APEX

We call APEX JSP URL.

I am able to autologin to APEX application:

http://host/pls/dad/f? p = 555:101:BRANCH_TO_PAGE_ACCEPT:NO:P101_USERNAME, P101_PASSWORD:username, password

The problem is that I have to pass values of the item to page 10. How can I do?

I created an item hidden in the login page (101) and created a process (before header) that sets the values of point of application.

I tried to spend the new item values in the URL, but get an error "cannot find an id element for P101_TEST element.

http://host/pls/dad/f? p = 555:101:BRANCH_TO_PAGE_ACCEPT:NO:P101_USERNAME, P101_PASSWORD, P101_TEST:username, password, the value

Please suggest how to solve this problem or if there is a better way to do it.

I discovered another way to do it is another way to do this by creating the elements of an application and passing these values in the URL.

Create the point of application: APP_ITEM1, APP_ITEM2

http://host/pls/dad/f? p = 555:101:BRANCH_TO_PAGE_ACCEPT:NO:P101_USERNAME, P101_PASSWORD, APP_ITEM1, APP_ITEM2:username, password, value1, value2

Tags: Database

Similar Questions

  • What is the difference between the element catalog and category of the item

    What is the difference between the element catalog and category of the item

    PL. visit the following links.

    Point Catlog

    Catalogue of objects: Oracle ERP Apps Guide

    What is the difference between the category of the item and itemcatalog you can plea

  • I've added two elements (accessibility and analyze) in the Tools menu of right hand.  How to remove or hide?  Or at least rearrange the elements of the toolbar. I want to Sign & certify be the last element/section.  Thank you.

    I've added two elements (accessibility and analyze) in the Tools menu of right hand.  How to remove or hide?  Or at least rearrange the elements of the toolbar. I want to Sign & certify be the last element/section.  Thank you.

    Hi Stacey Nathan,

    To remove the items from right toolbar, click Tools at the top.

    Then open the fall down to the accessibility or analyze and select 'delete the shortcut '.

    In a similar way, select "Add a shortcut" in the Tools drop-down menu to add to the tool on the right pane.

    Let us know if you need help.

    Kind regards

    Meenakshi

  • I have a disc first elements 9 and serial No. The computer says that the autorun files are not good

    I have a disc first elements 9 and serial No. The computer says that the autorun files are not good. How can I install the software. If I had an older version of test I could download and use my series to unlock the program. Help

    http://prodesigntools.com/Photoshop-elements-9-premiere-elements-9-direct-download-links.h tml

    Follow the instructions carefully.

  • [French] Can I install Photoshop Elements 10 and 11 on the same computer?

    can we do coexist Photoshop elements 10 and 11 on the same PC?

    Title of the message was edited by: Brett N

    Yes, each program is autonomous.

    Both versions use the same files. Organizing United Nations elements privilege creates pour each photo without duplication.

    http://help.Adobe.com/fr_FR/ElementsOrganizer/9.0/using/WS0A018322-3DDA-4d0b-845C-F7374D1C 6FF9_WIN.html

  • Photoshop elements 14 and "post-annoncer the upgrade policy".

    I recently purchased Photoshop elements 13 and want to take advantage of the 'post-announce upgrade policy'.  Can someone tell me please in the direction of the URL where I can find the maximum time between purchase/registration and release of the new version that would apply in this case.

    Thank you

    PC

    Am I entitled to a free upgrade?

    Mylenium

  • Region HTML - element, TextBox and Button on the same line

    Hello

    I have a search page:
    POINT region HTML with a search box and a button (created in the section of button).


    How can I align the search box and the key? (on the same line)
    I see that the choice for the button to align at the top or on the button of the section. If the button is under or above the search box.

    Or maybye is possible to hide the searbox and button and create a table html for alignment?


    I work with Apex 3.1.2.00.02
    Region: HTML
    Theme: Dark blue:
    Model: region of report

    Thank you

    Roseline

    Roseline,

    Create a new button and select the Create button as an element and not in the position of the region.

    Option buttons behave differently to the buttons of the Position of the region.
    If you are wanting to use the button 'Submit' page, you need to change the button to target is a URL and add javascript:doSubmit('YOUR_REQUEST_VALUE');

    Gus...

    AWARDS: Don't forget to mark messages USEFUL or CORRECT on the forum, not only for my answers, but for everyone!
    ;-)

  • How to split string separated by commas and pass to the clause of the select statement

    Referring to article How to divide string separated by commas, then pass to clause of a select statement, tquery that there the following plan:

    Query1:

    select * from emp where ename in (
        select regexp_substr('SMITH,ALLEN,WARD,JONES','[^,]+', 1, level) from dual
        connect by regexp_substr('SMITH,ALLEN,WARD,JONES', '[^,]+', 1, level) is not null );
    

    Base1:

    Plan hash value: 4242290184
    
    
    --------------------------------------------------------------------------------------------
    | Id  | Operation                       | Name     | Rows  | Bytes | Cost (%CPU)| Time     |
    --------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                |          |     1 |   133 |     7  (29)| 00:00:01 |
    |*  1 |  HASH JOIN                      |          |     1 |   133 |     7  (29)| 00:00:01 |
    |   2 |   VIEW                          | VW_NSO_1 |     1 |    46 |     3  (34)| 00:00:01 |
    |   3 |    HASH UNIQUE                  |          |     1 |       |     3  (34)| 00:00:01 |
    |*  4 |     CONNECT BY WITHOUT FILTERING|          |       |       |            |          |
    |   5 |      FAST DUAL                  |          |     1 |       |     2   (0)| 00:00:01 |
    |   6 |   TABLE ACCESS FULL             | EMP      |    14 |  1218 |     3   (0)| 00:00:01 |
    --------------------------------------------------------------------------------------------
    
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
    
       1 - access("ENAME"="$nso_col_1")
       4 - filter( REGEXP_SUBSTR ('SMITH,ALLEN,WARD,JONES','[^,]+',1,LEVEL) IS NOT NULL)
    

    However, the following query generates the plan I want:

    Query2:

    select * from emp where ename in ('SMITH','ALLEN','WARD','JONES');
    

    Plan2:

    Plan hash value: 3956160932
    
    
    --------------------------------------------------------------------------
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    --------------------------------------------------------------------------
    |   0 | SELECT STATEMENT  |      |     4 |   348 |     3   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| EMP  |     4 |   348 |     3   (0)| 00:00:01 |
    --------------------------------------------------------------------------
    
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
    
       1 - filter("ENAME"='ALLEN' OR "ENAME"='JONES' OR "ENAME"='SMITH' OR
                  "ENAME"='WARD')
    

    Can I change the query1 query for plan2?

    As Juliet was mentioned in the first SQL that you generate from the ENAME list that you must pass in the IN clause when executing. But in the second SQL, it passed as a static value. So first SQL must do more work. So you see a different execution plan.

    But this is a work around to get what you are looking for. But I can't say it's a foolproof method. But anyway here you go.

    SQL > var ename_list varchar2 (100)
    SQL > exec: ename_list: = 'SMITH, ALLEN, WARD, JONES ';

    PL/SQL procedure successfully completed.

    SQL > select *.
    2 of PEM
    where the 3 «,» | : ename_list | ',' like '%', | Ename | ',%';

    EMPNO, ENAME, JOB HIREDATE DEPTNO ID COM SAL MGR
    ---------- ------ --------- ---------- --------- ---------- ---------- ---------- ----------
    7369 SMITH COMMITTED 7902 2975 2 APRIL 81 0 20
    7499 ALLEN 7698 1600 20 FEBRUARY SALESMAN 81 300 30
    7521 WARD 7698 1250 22 FEBRUARY SALESMAN 81 500 30
    7566 JONES MANAGER 7839 2975 2 APRIL 81 0 20

    SQL > select * from table (dbms_xplan.display_cursor);

    PLAN_TABLE_OUTPUT
    -------------------------------------------------------------------------------------------------------
    SQL_ID, 848zhvbvgf7d6, number of children 0
    -------------------------------------
    Select * from emp where «,» | : ename_list | ',' like '%', | Ename
    || ',%'

    Hash value of plan: 2872589290

    --------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    --------------------------------------------------------------------------
    |   0 | SELECT STATEMENT |      |       |       |     2 (100) |          |
    |*  1 |  TABLE ACCESS FULL | EMP |     1.    38.     2 (0) | 00:00:01 |
    --------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    1 - filter(','||:ENAME_LIST||',' LIKE '%,'||") ENAME "|", %')

    19 selected lines.

    SQL >

  • Find a specific sublayer and pass to the top-level layer

    I have a lot of illustrator files which are organized by a model size. The layers are configured so that the top-level layer is always model. However the underlayment I need to pass to the next level could be called 42 border Pg or 30 border Pg or Pg 24 border.

    Y at - it a way for a script to search through the layers and if it finds '42 Pg border' or 'border Pg 30' or "24 Pg border" in the base layer model it it would move to the top level, but if he does not see an of these he does not give an error?

    I'm still new to scripting so the extent of my knowledge on this is to scan all the layers and unlock them. Then, find a specific layer name. This is the base layer and moving it to the next level that I'm not sure.

    Here is my current code:

    var doc = app.activeDocument;
    var allLayers = doc.layers;
    for (var i = allLayers.length-1; i >= 0; i--){
        allLayers[i].locked = false;
        if (allLayers[i].name == "42 Pg Border" || allLayers[i].name == "30 Pg Border" || allLayers[i].name == "24 Pg Border") {
            alert("I found the " + allLayers[i].name + " layer")
        } else {
            alert("Not the right layer")
        }
    }
    

    Any help would be greatly appreciated!

    I'm using CS4 on a PC running Windows 64 Bit with JavaScript

    This gives a shot.

    its still very early and my brain completely does not work yet.

    bring all the layers in the beginning (May) will ruin the stacking order much.

    var doc = app.activeDocument;
    var allLayers = doc.layers;       
    
    for (var i = allLayers.length-1; i >= 0; i--){
      allLayers[i].locked = false;
      deeper(allLayers[i]);
    }    
    
    function deeper(parent){
    var subLayers = parent.layers;
      if (subLayers.length > 0){
      for (var i = subLayers.length-1; i >= 0; i--){
      subLayers[i].locked = false;
      deeper(subLayers[i]);
      if ((subLayers[i].name).substr(-6) == "Border") {
         subLayers[i].move(allLayers[0],ElementPlacement.PLACEBEFORE);
      }
      }
      }
    }
    
  • the value of pan and zoom of the time constraints?

    PE10 using - I have a photo image that is attached to a total (hold time) that I want, I want add pan and zoom effects to it with back change the span of the image on the timeline. Is there a way to tell the first elements to force the pan aggregtate and unavailability zoom times not to go beyond the original image?

    To clarify, I had an image that held for the correct duration, but when I was sleeping w/pan and zoom, I found that I had extended the duration of the image, while it was now about 5 times longer that it should have been, and he threw all my other pictures to the bottom of the timeline. I like to keep the fixed duration without having to pull out my calculator and stopwatch.

    Thank you (just learning this...)

    calpolyjeff wrote:

    When I was sleeping w/pan and zoom, I found that I had extended the duration of the image, while it was now about 5 times longer that it should have been

    You must watch the landmarks of Pan & Zoom tool in the image and changes with the timeline when working in the tool. As you add / move / delete your frames you will change the elements of duration - the time to hold and the Pan.

    In the example below, my time to Pan between part one and part two is sixteen seconds. You can change this by clicking on the time of pan and enter a duration. The other times I've highlighted is is the second a downtime for two framework. Again you can change it by clicking on it. You can also see the time to stand for a framework to the second five point on the timeline itself.

    Hope this helps,

    See you soon,.

    --

    Neale

    Insanity is hereditary, get you your children

  • Premiere Elements gel and closing after the addition of a Menu.

    I made movies with Premiere Elements for some time now.  Since I started, I had the same problem.  It would hang and eventually close on me.  Then, I got the new version, PE8 earlier.  Unfortunately, I still had the same problem.


    I did a full video of the trouble with the problem of gel.  But I put in with him and recorded all the minutes.  Now, I get to the end and made the pages of Menu.  When I almost finished it, he closes on me.  I keep trying to get into it, with absolutely NO success!  I have dealt with this for a long time, so I'm well aware you need to disable the internet software and viruses with the analysis in real-time.  I also have been manually close all I can in my Start menu.


    From time to time I reboot to see if that helps, but no help.  Reflected on the conversation here for a while, recently and I tried what I think it's just that.  I made sure that I got the updated release of 8 elements.  I've updated everything, all the important and optional updates.  Made sure my graphics card is up to date.  I do not use QuickTime, but I've updated in all cases.  I ran disk cleanup and defragmentation.  I've done the MsConfig disabling Hello, mobile from apple, ITunes, player.  I'd start without graphical interface.  I even disabled the Windows Indexing Service.


    Even after all that, everytime I open PE8, I gives me the warning that they are running down on memory!  I don't know what else to do.  Help, please.


    Now, I know that you all want to know what are the details of my system, so here it is.


    Dell XPS 420

    Windows Vista Edition Home Premium

    Service Pack 2

    Intel Core Quad Q9450 2.66 GHz CPU

    4.00 GB Ram

    32 bit OS


    600 GB HDD

    207 free disk space


    My graphics card is an ATI Radeon HD 3600 Series with driver version 8.850.0.0 as of 19/04/2011.



    I think that's all you need.  If I forgot something, let me know.

    Thanks for your help, Sharon

    Sharon,

    I am completely agree about the "minimum requirements" said on the Adobe Web site and on the box. Many believe that these specifications. are the bare minimum for install and run the program, but not much more. This will depend on the project in question, assets, and the many factors of computer tune (operating system and hardware), only one a. I'd like to see Adobe work these needs until the plug of real world. to make a moderately large project, however there are the issue of the status of melody of the PC. The same goes for PrPro, as well - the specs. are not much more than for the first, if they are different at all, except the need for a 64-bit operating system with CS5 & CS5.5.

    Now, to help meet the State of melody of the computer, this ARTICLE has several useful links to the bottom of thread after some basic troubleshooting tips for PrE. Memory and resources are multifaceted, and many aspects come into play. The tips of these links cover several bases, but with possible configurations and hardware, are never going to be complete.

    Good luck and I am very happy that your project is going well.

    Hunt

  • Data Guard and auditor of the Apex

    Hi all

    I seem to be unable to understand the configuration of parameters for protective Apex listener when connecting to a database.

    We have a lot of servers of databases (without data guard) and we use the command line Wizard to generate the configuration file. It's straigthforeward and
    easy. We enter the server, port, and Service_name and it works.

    But for a guard database, there are two servers and I seem to be unable to set it in the right way. After doing some research I came across the parameter apex.db.customURL which should solve the problem.

    I removed the references to the server, port, and Service_name and put the key in.

    The result were errors of connection due to some incorrect port settings.

    SEVERE: The pool named: apex is not properly configured, error: IO error: format invalid number for the port number

    oracle.dbtools.common.jdbc.ConnectionPoolException: the pool named: apex is not properly configured, error: IO error: format invalid number for the port number

    at oracle.dbtools.common.jdbc.ConnectionPoolException.badConfiguration(ConnectionPoolException.java:65)

    What Miss me?

    Thank you
    Michael

    (Here's the rest of our configuration :)

    <? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >

    < ! DOCTYPE SYSTEM property "http://java.sun.com/dtd/properties.dtd" > ""

    Properties of <>

    < comment > saved on Mon Oct 19 18:28:41 CEST 2015 < / comment >

    < key "debug.printDebugToScreen entry" = > false < / entry >

    < key "security.disableDefaultExclusionList entry" = > false < / entry >

    < key = "db.password entry" > @055EA3CC68C35F70CF34A203A8EE1A55D411997069F6AE9053B3D1F0B951D84E0E < / entry >

    < key = "enter cache.maxEntries" > 500 < / entry >

    < key = "enter error.maxEntries" > 50 < / entry >

    < key = "enter security.maxEntries" > 2000 < / entry >

    < key = "cache.directory entry" > / tmp/apex/cache < / entry >

    < enter key = "jdbc. DriverType"> thin < / entry >

    < key = "enter log.maxEntries" > 50 < / entry >

    < enter key = "jdbc. MaxConnectionReuseCount"> 1000 < / entry >

    < key "log.logging entry" = > false < / entry >

    < enter key = "jdbc. InitialLimit' > 3 < / entry >

    < enter key = "jdbc. MaxLimit' 10 > < / entry >

    < key = "enter cache.monitorInterval" 60 > < / entry >

    < key = "enter cache.expiration" > 7 < / entry >

    < key = "enter jdbc.statementTimeout" > 900 < / entry >

    < enter key = "jdbc. MaxStatementsLimit' 10 > < / entry >

    < key = "misc.defaultPage entry" > apex < / entry >

    < key = "misc.compress" / entry >

    < enter key = "jdbc. MinLimit"> 1 < / entry >

    < key = "cache.type entry" > lru < / entry >

    < key "cache.caching entry" = > false < / entry >

    < key "error.keepErrorMessages entry" = > true < / entry >

    < key = "cache.procedureNameList" / entry >

    < key = "cache.duration entry" > days < / entry >

    < enter key = "jdbc. InactivityTimeout"1800 > < / entry >

    < key "debug.debugger entry" = > false < / entry >

    < key = "enter db.customURL" > JDBC: thin: @(DESCRIPTION = (ADDRESS_LIST = (ADRESSE = (COMMUNAUTÉ = tcp.world) (PROTOCOL = TCP) (host = DB-ENDUR) (Port = 1520)) (ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL=TCP) (Host = DB-ENDURK) (PORT = 1521)) (LOAD_BALANCE = off)(FAILOVER=on)) (CONNECT_DATA = (SERVICE_NAME = ENDUR_PROD.) VERBUND.CO. «"" AT))) < / entry >»»»

    < / properties >



    Hi Michael Weinberger,

    Michael Weinberger wrote:

    I seem to be unable to understand the configuration of parameters for protective Apex listener when connecting to a database.

    We have a lot of servers of databases (without data guard) and we use the command line Wizard to generate the configuration file. It's straigthforeward and
    easy. We enter the server, port, and Service_name and it works.

    But for a guard database, there are two servers and I seem to be unable to set it in the right way. After doing some research I came across the parameter apex.db.customURL which should solve the problem.

    I removed the references to the server, port, and Service_name and put the key in.

    Keep the references the server name, port and service. No need to delete.

    The result were errors of connection due to some incorrect port settings.

    SEVERE: The pool named: apex is not properly configured, error: IO error: format invalid number for the port number

    oracle.dbtools.common.jdbc.ConnectionPoolException: the pool named: apex is not properly configured, error: IO error: format invalid number for the port number

    at oracle.dbtools.common.jdbc.ConnectionPoolException.badConfiguration(ConnectionPoolException.java:65)

    What Miss me?

    You must create two entries in the configuration file "defaults.xml" for your ADR (formerly APEX Listener).

    One for db.connectionType and, secondly, for db.customURL, for example:

    customurl
    jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=
    (ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(HOST=DB-ENDUR)(Port = 1520))
    (ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(HOST=DB-ENDURK)(PORT = 1521))
    (LOAD_BALANCE=off)(FAILOVER=on))(CONNECT_DATA=(SERVICE_NAME=ENDUR_PROD.VERBUND.CO.AT)))
    

    Reference: http://docs.oracle.com/cd/E56351_01/doc.30/e56293/config_file.htm#AELIG7204

    NOTE: After you change the configuration file, don't forget to restart independent ADR / Java EE application server support if ADR is deployed on one.

    Also check if your URL for a JDBC connection is working properly and if there are any questions, you can turn on debugging for ADR:

    Reference:

    Directed by Tony, you should post the ADR related questions to the appropriate forum. Reference: ADR, SODA & JSON in the database

    You can also move this thread on the forum of the ADR.

    Kind regards

    Kiran

  • How do the areas of adjustment between the fields and lines in the apex?

    (Request Express 4.2.5.00.08)


    Hello world

    I am beginner in the apex...  When I created the form page, I found different spaces between the fields and lines... But I can't adjust it...?


    Help me please


    PIC

    http://i.imgur.com/ZSFlmCi.PNG


    Demo https://apex.oracle.com/pls/apex/f?p=50581:3:4430339212420:

    PEAK http://i.imgur.com/T14TE3n.png

    Hello

    Solve this problem...

    In the section "Attributes of the HTML Form element" for item writing: style = "" margin: 0px 1px 0px; ""

    Thanks Amr

  • Oracle form functions and procedures in the APEX, how?

    I'm working to recreate in the APEX, already existing read only forms in Oracle Forms. Report features interactive APEX among other things, in fact worth as well as to target a different audience than utilizies versions of Oracle Form. Versions of Oracle Forms use a lot of pre and post query triggers, PLSQL functions.

    In Oracle Forms that places, these functions can be found in the "Units of program" section of the form. A feature typical of this kind, based on a particular Mission ID route, collecting names of regular passengers, is shaped with a comma and a space after each of them, in a single string that is returned and displayed the list of passengers of a line.

    I have all of this written code so I can move most of the main request of the Oracle form in an interactive report. These functions and triggers called in the form of the "Units of program" section of the Oracle form rather than stored in the database schema in a package, where they would go inside the APEX? Can I create a 'shortcut' in the APEX and call it from the interactive report "Source Région"? I can create the PLSQL function at the level of the region of the interactive report or page level? Or, my best bet creates a package that is stored in the database, all these functions and/or proecedures I might need the original form of Oracle?

    Some advice would be greatly appreciated.

    RLBickham wrote:
    I don't think I've been pretty clear in the description of the specific thing I want to do, simply, it does not reach the level of forms of conversion of the APEX. It is basically a problem of PLSQL function.

    I have an interactive report which is currently 90 percent of what I want however, each line, which represents a Mission may have several feet. Each arm has two places or ICAO codes attached to it. Based on the number of Mission, I want to loop through the array of leg, collect all the codes of ICAO for this Mission, put them together in 1 variable separated by a coma and add this variable to display the columns in this interactive report as the last column.

    In Oracle Forms, I have a function registered in the database, which is called in the main query. Maybe I ask a question that does not need to be asked, but anyway my question is can I put this function currently in the database somewhere within the interactive report and somehow reference it via Http, or should I just stick with set of functions and procedures in the packages stored in the database and called the conventional way?

    You could switch the function to the database and call it from the report query, but it sounds as if it were superfluous. In the report query using any form of Re: 4. How can I convert rows to columns? is appropriate for your version of the (unspecified) database.

    -----

    When you have a problem, you will get an answer faster, more efficient including information as much information as possible from the outset. This should include:

  • Full version of APEX
  • Complete operating system DB, version, edition, host
  • Architecture of Web server (EPG, SST or APEX listener/host operating system)
  • Browser (s) and version (s) used
  • Theme
  • Model (s)

  • Region/section type (s) (particularly as to distinguish if a 'report' is a standard report, an interactive report, or indeed a 'update report' (i.e. a tabular presentation))

    With APEX, we also had the chance to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproduce things is the best way to solve most of the questions, particularly those relating to the layout and Visual formatting. If you expect a detailed response it is appropriate that you take on an important part of the effort by getting as much as possible with an example of the problem on apex.oracle.com before asking for help on specific issues, then we can see firsthand.

  • The values of attributes and tag at the same time XML access

    Hi all,

    I do a few experiments with Flex, but I already have some experience with Flash and AS3.

    What I try to do, is to make a small application that uses the Web services of the Weather Channel. The first part of the request is to ask the user for his location. Then the location is sent to the Web service and the system returns a XML document with possible matches. The user chooses one, and weather information are displayed.

    I have no problem with navigation, or passing results from one stage to the other, but I'm having a problem, I think it's an easy fix, but I can't get a light or an answer from what I've seen of these forums or webasites... I suspect it's because the format of the XML that is returned.

    For example, my request is this: http://XOAP.weather.com/search/search?where=Aveiro

    wich return two possible locations, in this way:

    < Search worm = "3.0" >
    < loc id = "BRXX1094" type = "1" > Aveiro, Brazil < / loc >
    < loc id = "POXX0006" type = "1" > Aveiro, Portugal < / loc >
    < / Search >

    Well, I want to display in a Datagrid control in the 'id' attribute and the 'loc' tag value, that is, "Aveiro, Brazil" and "Aveiro, Portugal.

    I set the DataGrid like this:

    < mx:DataGrid x = "10" y = "53" width = "365" id = "dgLocation" dataProvider = "{wSearch.lastResult.loc}"itemClick = "callService (event)"; > "
    < mx:columns >
    < mx:DataGridColumn headerText = "Localidade" dataField = "loc" / >
    < mx:DataGridColumn headerText = "Reference" dataField="@id"/ >
    < / mx:columns >
    < / mx:DataGrid >

    In the 'col' dataField, shows nothing, and the "@id" shows the correct information. Because I don't have that 'loc' tag in the main root tag, how can I get the values of teir? With labelFunction? How you would write it for the information?

    This is my last try:

    private void getLocationName(item:Object,_column:DataGridColumn):String {}
    var xmlitem:XML = XML (item);
    trace (XMLItem.loc.ToXmlString ());
    Return item.loc;
    }

    Any ideas are welcome. Thank you.

    This seems to work:

    
    
      
        
      
      
      
        
          
          
        
      
    
    

    If this post answers your question or assistance, please mark it as such.

    Greg Lafrance - Flex 2 and 3 certified ACE

    www.ChikaraDev.com

    Flex / development, training, AIR and Support Services

Maybe you are looking for