Select using association

I have select, where I have equal condition for association (OneToOneMapping) But I'm getting this error out of this....
If there an explanation for this?
Executing query: skladba == sk.indev.webapp.rozhlas.pyramida.titul.SkladbaId.7 on class sk.indev.webapp.rozhlas.pyramida.odstep.OdstepDTO
Converted TopLink query:
Relation operator =
Query Key skladba
Base QUERY OBJECT
Constant sk.indev.webapp.rozhlas.pyramida.titul.SkladbaIdJDO@4df764
2003.07.14 02:04:46.134--DatabaseSession(12113655)--Thread[main,5,main]--#executeQuery(ReadAllQuery(sk.indev.webapp.rozhlas.pyramida.odstep.OdstepJDO))
2003.07.14 02:04:46.164--DatabaseSession(12113655)--Thread[main,5,main]--EXCEPTION [TOPLINK-6071] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.QueryException
EXCEPTION DESCRIPTION: Invalid use of anyOf() for a query key [oracle.toplink.mappings.OneToOneMapping[skladba]] not representing a to-many relationship in an expression. Use get() rather than anyOf().
QUERY: ReadAllQuery(sk.indev.webapp.rozhlas.pyramida.odstep.OdstepJDO)LOCAL EXCEPTION STACK:
EXCEPTION [TOPLINK-6071] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.QueryException
EXCEPTION DESCRIPTION: Invalid use of anyOf() for a query key [oracle.toplink.mappings.OneToOneMapping[skladba]] not representing a to-many relationship in an expression. Use get() rather than anyOf().
QUERY: ReadAllQuery(sk.indev.webapp.rozhlas.pyramida.odstep.OdstepJDO)
     at oracle.toplink.exceptions.QueryException.invalidUseOfAnyOfInExpression(Unknown Source)
     at oracle.toplink.internal.expressions.QueryKeyExpression.validateNode(Unknown Source)
     at oracle.toplink.expressions.Expression$3.iterate(Unknown Source)
     at oracle.toplink.expressions.Expression.iterateOn(Unknown Source)
     at oracle.toplink.internal.expressions.DataExpression.iterateOn(Unknown Source)
     at oracle.toplink.internal.expressions.DataExpression.iterateOn(Unknown Source)
     at oracle.toplink.internal.expressions.CompoundExpression.iterateOn(Unknown Source)
     at oracle.toplink.internal.expressions.CompoundExpression.iterateOn(Unknown Source)
     at oracle.toplink.internal.expressions.CompoundExpression.iterateOn(Unknown Source)
     at oracle.toplink.internal.expressions.ExpressionIterator.iterateOn(Unknown Source)
     at oracle.toplink.expressions.Expression.validate(Unknown Source)
     at oracle.toplink.internal.expressions.SQLSelectStatement.normalize(Unknown Source)
     at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.buildNormalSelectStatement(Unknown Source)
     at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.prepareSelectAllRows(Unknown Source)
     at oracle.toplink.queryframework.ReadAllQuery.prepareSelectAllRows(Unknown Source)
     at oracle.toplink.queryframework.ReadAllQuery.prepare(Unknown Source)
     at oracle.toplink.queryframework.DatabaseQuery.checkPrepare(Unknown Source)
     at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
     at oracle.toplink.queryframework.ReadQuery.execute(Unknown Source)
     at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
     at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
     at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
     at com.abilitydev.j2eefw.dao.jdo.toplink.TransSessionImplTopLink.readAllObjects(TransSessionImplTopLink.java:387)
     at com.abilitydev.j2eefw.dao.jdo.toplink.TransSessionImplTopLink.readAllObjects(TransSessionImplTopLink.java:404)
     at com.abilitydev.j2eefw.query.jdo.QueryEngineImplJDO.executeQueryImpl(QueryEngineImplJDO.java:84)
     at com.abilitydev.j2eefw.query.QueryEngine.executeQuery(QueryEngine.java:212)
     at sk.indev.webapp.rozhlas.pyramida.titul.Skladba.getOdstepy(Skladba.java:109)
     at sk.indev.webapp.rozhlas.pyramida.titul.TitulHandlerImpl.odstepyPreSkladbu(TitulHandlerImpl.java:222)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at com.abilitydev.j2eefw.service.ServiceAdapter.invoke(ServiceAdapter.java:75)
     at com.abilitydev.j2eefw.service.BusinessDelegate.invoke(BusinessDelegate.java:132)
     at com.abilitydev.j2eefw.service.BusinessDelegate$PerformanceInvocationHandler.invoke(BusinessDelegate.java:483)
     at $Proxy0.odstepyPreSkladbu(Unknown Source)
     at sk.indev.rozhlas.pyramida.kontakt.TitulHandlerTest.testOdstepy(TitulHandlerTest.java:144)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at junit.framework.TestCase.runTest(TestCase.java:154)
     at junit.framework.TestCase.runBare(TestCase.java:127)
     at junit.framework.TestResult$1.protect(TestResult.java:106)
     at junit.framework.TestResult.runProtected(TestResult.java:124)
     at junit.framework.TestResult.run(TestResult.java:109)
     at junit.framework.TestCase.run(TestCase.java:118)
     at junit.framework.TestSuite.runTest(TestSuite.java:208)
     at junit.framework.TestSuite.run(TestSuite.java:203)
     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:524)

It's hard to see in the trace:
EXCEPTION DESCRIPTION: Invalid use of anyOf() for a query key [oracle.toplink.mappings.OneToOneMapping[skladba]] not representing a to-many relationship in an expression. Use get() rather than anyOf().
Looks like you're "walking" through a 1-1 relationship using the "anyOf" operator instead of "get".
- Don

Similar Messages

  • Error in the pl/sql block using associative arrays

    Hi
    I tried the following block of code using associative arrays.
    DECLARE
       TYPE NumTab IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
       CURSOR c1 IS SELECT empno FROM emp;
       empnos NumTab;
       rows   NATURAL := 10;
    BEGIN
       OPEN c1;
       FOR i in empnos.first..empnos.last LOOP
          /* The following statement fetches 10 rows (or less). */
          FETCH c1 BULK COLLECT INTO empnos LIMIT rows;
          EXIT WHEN c1%NOTFOUND;
          DBMS_OUTPUT.PUT_LINE ( empnos.next(i));
       END LOOP;
       CLOSE c1;
    END;and the error is
    DECLARE
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 8could you please let me know where i'm wrong
    and please guide me where we use these associative arrays.
    Thanks

    Something like this. Do minor modification in your code.
    DECLARE
       TYPE NumTab IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
       CURSOR c1 IS SELECT empno FROM emp;
       empnos NumTab;
       rows   NATURAL := 5;
    BEGIN
       OPEN c1;
       LOOP  
        /* The following statement fetches 5 rows (or less). */
          FETCH c1 BULK COLLECT INTO empnos LIMIT rows;
          EXIT WHEN c1%NOTFOUND;
          DBMS_OUTPUT.PUT_LINE ( empnos.count);
       END LOOP;
       CLOSE c1;
    END;
    /

  • How to use Associative Array in sql query?

    Hello,
    I have a problem on using Associative Array variable on query; and my query is similar to the one below;
    TYPE OTHERGENERICS IS TABLE OF NUMBER(10) INDEX BY BINARY_INTEGER;
    othersGenerics OTHERGENERICS;
    CURSOR cursor_othersGenerics IS
    select master.GENERICCODEID
    from ASMTRG_ARTICLEMASTER master
    join ASMTRG_ARTICLEMAP map on MAP.ARTICLECODEID = MASTER.ID
    group by MASTER.GENERICCODEID
    minus
    select FGG.GENERICCODEID
    from asmtrg_icfocusgroup fg
    join asmtrg_icfocusgrpchannel fgc on FGC.GROUPID = FG.ID and fgc.isactive=1
    join asmtrg_icfocusgengroup fgg on FGG.GROUPID = FG.ID and FGg.ISACTIVE=1
    where fgc.channelid=1 and fg.isactive = 1
    group by FGG.GENERICCODEID;
    BEGIN
    OPEN cursor_othersGenerics;
    FETCH cursor_othersGenerics BULK COLLECT INTO othersGenerics;
    CLOSE cursor_othersGenerics;
    SELECT icfrd.*,
    CASE
    WHEN EXISTS(select ta.genericcodeid from <???XXX???> ta where ta.genericcodeid = icfgrp.genericcodeid) THEN -1
    ELSE icfrd.icfgroupid
    END CLASSIFICATION
    FROM ASMTRGVIW_ICFOCUSREPORTDATA icfrd
    LEFT JOIN ASMTRG_ICFOCUSGROUP icfgrp on icfrd.ICFGROUPID = icfgrp.ID
    WHERE (channelId IS NULL OR icfrd.CHANNELID = channelId)
    AND (asmCodeId IS NULL OR icfrd.ASMCODEID = asmCodeId)
    AND (yearId IS NULL OR icfrd.YEARID = yearId)
    AND (monthId IS NULL OR icfrd.MONTHID = monthId)
    END;
    By the way this is a part of my function.
    The "othersGenerics" is my associative array variable and <???XXX???> is the place where I need to use my "othersGenerics" array to check. So far I've tried
    "select ta.genericcodeid from table(cast(otherGenerics as OTHERGENERICS)) ta where ta.genericcodeid = icfgrp.genericcodeid",
    "select ta.genericcodeid from table(otherGenerics) ta where ta.genericcodeid = icfgrp.genericcodeid",
    "select ta.genericcodeid from otherGenerics ta where ta.genericcodeid = icfgrp.genericcodeid"
    and these are not working.
    What is your suggestions?

    Your type will have to be created as an independent object in your schema. So CREATE TYPE cannot be in your function declaration, it has to be outside it. (And then the line inside your declaration that defines the type will have to be removed.)
    But now I can see that you use this array as a kind of "temporary lookup table" - you populate the array and then use it for lookup in your select statement. An alternative way of doing this could be like this completely without arrays:
    with othergenerics as (
      select master.GENERICCODEID
      from ASMTRG_ARTICLEMASTER master
      join ASMTRG_ARTICLEMAP map on MAP.ARTICLECODEID = MASTER.ID
      group by MASTER.GENERICCODEID
      minus
      select FGG.GENERICCODEID
      from asmtrg_icfocusgroup fg
      join asmtrg_icfocusgrpchannel fgc on FGC.GROUPID = FG.ID and fgc.isactive=1
      join asmtrg_icfocusgengroup fgg on FGG.GROUPID = FG.ID and FGg.ISACTIVE=1
      where fgc.channelid=1 and fg.isactive = 1
      group by FGG.GENERICCODEID
    SELECT icfrd.*,
    CASE
    WHEN EXISTS(select ta.genericcodeid from othergenerics ta where ta.genericcodeid = icfgrp.genericcodeid) THEN -1
    ELSE icfrd.icfgroupid
    END CLASSIFICATION
    FROM ASMTRGVIW_ICFOCUSREPORTDATA icfrd
    LEFT JOIN ASMTRG_ICFOCUSGROUP icfgrp on icfrd.ICFGROUPID = icfgrp.ID
    WHERE (channelId IS NULL OR icfrd.CHANNELID = channelId)
    AND (asmCodeId IS NULL OR icfrd.ASMCODEID = asmCodeId)
    AND (yearId IS NULL OR icfrd.YEARID = yearId)
    AND (monthId IS NULL OR icfrd.MONTHID = monthId)
    ...The with clause (subquery factoring) you can think of as a kind of temp table called othergenerics created "on-the-fly".
    The optimizer may decide to actually create a temp table for you and use in the lookup, or it may decide to rewrite the query into suitable joins or nested loops or hashing - whatever the optimizer decides will be the optimal way of doing things :-)
    So unless you use your array other places in your function, I would recommend dropping the array completely, skip populating an array, and instead use a with clause for your temporary lookup.

  • How to get the complete path of the file that is selected using FormFile

    i m working on struts..
    i hv used FormFile like
    <html:file property="xsdpath" value="Browse" />
    need to get the whole path that i will select using browse button
    for example d:\foldername\filename.java
    but FormFile Api has a method getFileName(); which returns the filename, for getting the absolute path wat has to be done.
    please reply bak soon
    thanks in advance

    here i use formfile <html:file> just to allow the
    user to select a xml file .
    so i need to get the whole path of the selectedfile
    to parse the xml file.No you dont.
    You would definitely benefit from further reading on
    file upload.
    <html:file> tag renders an HTML <input> element of
    type file.
    When a user uploads a file, this file is sent as a
    stream of data, which a program (jsp/servlet) on the
    server, reads and stores the data back in the form
    of a file on the server.
    Any server program that needs to parse the file,
    should do so on the file stored on the server.
    There's no point in knowing the absolute path of the
    file on the client machine. If a server program can
    parse a file on the client machine, why upload the
    file in first case ? Get the drift ?
    i also want to show my user the path he hadselected.
    If you have such a requirement, then yes.
    But it sounds weird to me. If you see my response
    above, you will realize that the server has a copy of
    the client's file uploaded and then parsed. What if
    the client has changed his file after upload ?
    cheers,
    ram.I also have a requirement to get the whole filepath of the file selected and place this information into a table. From FormFile I can only retreive the absolute filename
    Any suggestions would be helpful.
    Thanks, dam

  • The scaling selection using SHIFT doesn't seem to be working for me all of a sudden.......how can I resolve ?

    The scaling selection using SHIFT doesn't seem to be working for me all of a sudden.......how can I resolve ?
    Specifically, when I select and object I used to be able to hold SHIFT while re-sizing the object and keeping it in scale.
    All of a sudden, I don't have that option as my SHIFT key doesn't seem to activate within AI
    B.Marks

    B,
    You may have something disturbing Illy so she gets confused, see Item 7 in 5) below for usual suspects, or you may have what appears to be a preference corruption, see 1) - 4) and 6) below.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Drill Down reports must be selected using precisely one ledger

    hi all,
    whenever i am trying to execute the report from FGI4(report painter), this error message is coming:-
    Drill Down reports must be selected using precisely one ledger
    can you please help me with solution?
    indranil

    Hi,
    Please give ledger in the selection as 0l or 0f or press F4 & select there.If you are creating your own report then you must assign characterstic ledger to your report.On that basis system will fetch data.
    points if found useful.
    regards,
    Abhijit

  • Dynamic Selection using Summarization Fields Missing in TCODE CN43N

    If Using TCODE CN43 I can select using Summarization Fiields from PSMERK via Dynamic Selections.
    However, when I use TCODE CN43N the "Summarization Fields" node is not displayed.
    Does anyone know if it is possible to activate this option for CN43N.

    Hi,
    Please refer sap note 679705.
    hope it will be helpful
    thanks
    abdul

  • My Airplay is delivering Audio but no Video (black screen).  The drop down box has a new selection "use airplay to; it does not let me select 'Mirror my IMac', it is stuck on 'extend desktop'  any suggestions appreciated.

    My Airplay is delivering Audio but no Video (black screen).  The drop down box has a new selection "use airplay to; it does not let me select 'Mirror my IMac', it is stuck on 'extend desktop'  any suggestions appreciated.

    here is fix! i tried only step 1 and then restarted my computer and now it works. Choose remove All Files 
    Hope it helps.
    https://discussions.apple.com/thread/5952624?tstart=0

  • Selections using "Selection Zones" & "Protection Zones"

    Selection Zones allow you to make a selection and then refine your selection even further from what you've already selected.
    Protection Zones exclude areas that you do not want to be used in a selection. A Protection Zone is the area outside a Selection Zone and vice versa.
    Here are some examples of how you could use them:
    Problem: I'm using the magic wand and I want to make a selection of the sky which ranges from a very light blue to a much darker blue. However, there is color fringing in the trees that make the branches a darker blue, too. I begin by selecing the light blue in the sky, which includes all those litte "holes" between the leaves, branches, and those tricky dark blue branches. But, when I go to select the darker blue portion of the sky, the dark blue branches are also selected ruining the previous work. This cannot be done with 2 separate selections then merging them because you end up with the same problem.
    New Feature "Protection Zone": PROTECT the original selection by drawing a "Protection Zone" around the originally selected area so that the dark blue branches are  also protected against being selected. The "Protection Zone" could also be a previous selection (but not in this case).
    This feature can be used after you make an initial selection to protect it. Or, you can make a "Protected Selection" right off the bat to exclude a certain area from future selections.
    With this feature, you would solve our original problem by first making the selection of the light sky. Draw a rough Protection Zone around the area of the selection that includes the dark blue branches. Then, make 2nd selection using magic wand of the darker sky to add it.
    A very simply example would be if you had a handful of blue flowers in the prairie that you wanted to select, but there is a blue sky above of a similar tone. You would first draw a rough protection zone around the sky to exclude it from the selection and then move ahead with a selection the flowers with the magic wand.
    New Feature "Selection Zone": When you create a selection zone, anything within the zone is fair game. Anything outside of the zone is excluded or protected (the Protecion Zone).
    So, in the last example, we had only one type of blue flower. But, what if there were two species of blue flowers and you only wanted to select the blue in one of them? You could simply draw rough selections around the flowers of the species that you want to change (using Shift-Click to add several selections). Then, convert this rough selection into a Selection Zone. Then, you can use the Magic Wand tool to select only those tones within the Selection Zone.
    Now, let's say that you had a situation where you got really really close to the selection you wanted, but the selection you ended up with in the Selection Zone with the Magic Wand tool needs further refining. For instance, within the Selection Zone there are some unwanted blues in some wet leaves that reflect the blue sky that were selected. So, you would now redraw a new winding and turning Selection Zone around the current Magic Wand selection that would exclude those blue leaves. And, you'd end up with only the blues selected in the flowers that remain from the Magic Wand selection. In this case, you have a very fast way of deselecting certain things.
    HIERARCHICAL SELECTIONS:
    Essentially, you can make a selection, convert that selection into a Selection Zone, and then refine the selection even more within the Selection Zone. You can repeat as often as you wish.
    This makes for a very nice way for refining selections in a kind of hierarchical manner as if you wanted to refine the results of a search. You'd do a database search and, from those results, do another search.
    I've been wanting this feature for many years.
    Thanks,
          Mike

    Hi Chris,
    I know Add & Subtract and I use them frequently. But, are you quite sure that everything I described can be done with Add/Subtract/Intersect (ASI)?
    It really does not do the same thing as I'm suggesting. Plus ASI is a pain because you have to deal with masks and selections and it's kind of like jumping through hoops.
    My examples may not be perfect, but later on in my description, I talk about hierarchical selections where you make a selection and then you can select with that selection to better refine it. For instance, you'd make a selection (often using Magic Wand or Color Range). Then, you'd convert that selection into a SELECTION ZONE in order to INCLUDE ONLY THE AREA WITHIN THE SELECTION ZONE for future selections. Then, you can make other Magic Wand or Color Range (or any other selection tool) selections within that critical area and nowhere else.
    A way to think of it is that you are choosing an area within which you will apply a selection function. You are providing constraints which can be based on simply drawing an initial boundary. Or, you can make a selection and use that initial selection as the boundary. This is much, much different than ASI.
    I am working selections all the time. I work with very big files with the hardest kinds of selections that require high precision and natural looks due to the large print sizes. But, I also shoot nature and complex wildflower and prairie shots that also include skies with trees and branches at the boundary--not some smooth mountain and sky transition. That's easy.
    In the past, I found a bug with multi-layer TIF files that were losing all their adjustment layers. I sent you a DVD of the files and you fixed them and fixed Photoshop, too. So, I'm usually someone who takes things to the brink and go where few have ventured. Hence, I find bugs and also run into problems that are difficult to solve.
    Please let me know if you get where I'm coming from on this.
    Thanks,
          Mike

  • ADF multiple row selection using checkbox

    One of the basic feature missing in ADF 11g is multiple row selection using checkbox (ADF supports multiple row selection by CTRL+CLICK) and business users doesn't like the idea of CTRL+CLICK especially when the volume of click is more. Our requirement is to show the records as selected, on click of checkbox. We implemented multiple row selection by giving a checkbox and on submission, iterate all the rows and filter only selected rows for further processing. The approach works fine,but it is very slow when the volume of data is more, say 10 thousand rows. For 4 thousand records, iterating everything takes more than 200 secs !
    Had the multiple row selection been the ADF standard way using CTRL+CLICK, and retrieving the selected rows using method theTable.getSelectedRowKeys() works much faster (completes in millisecs for 4 thousand records). Somehow ADF fetches the selected records much faster this way. Our requirement is on click of the checkbox, the ADF should select the records ( the same way it is doing CTRL+CLICK) and all such selected rows should be retrievable using the ADF method theTable.getSelectedRowKeys()
    Is there any way it can be done?
    Regards,
    Antony.

    Hi All,
    We have implemented the select and select all using check-box and it is working fine. Issue here is the performance is too slow
    Assume SelectValue is the VO coulmn for the checkbox to select the values. To filter out the selected rows, we use the following line
    Row[] pidRows = pidView.getFilteredRows("SelectValue", Boolean.TRUE);
    it is very taking more than 2 minutes if the total number of rows are *4 thousands* and only if 2 rows are selected.
    Whereas with the CTRL+CLICK standard approach, ADF has a built in API theTable.getSelectedRowKeys(); to get only the selected rows, and the built in API takes only few milliseconds to get the selected rows. Users are not agreeing to the CTRL+CLICK approach as it is not user friendly. Suggest if there is a way to make the select box to make it work the same way as CTRL+CLICK.
    code snippet to do the standard way :
    RowKeySet sk = theTable.getSelectedRowKeys();
    _logger.info("row count of select "+sk.getSize());;+
    Iterator selection =sk.iterator();
    EmpVORowImpl empRow = null;
    +while (selection.hasNext()) {+
    Object rowKey = selection.next();
    theTable.setRowKey(rowKey);
    rowdata = (JUCtrlHierNodeBinding)theTable.getRowData();
    empRow  = (EmpVORowImpl)rowdata.getRow();
    _logger.info("Emp # "+empRow.getEmpno() +" Emp Name : "+empRow.getEname() +" Is selected ? "+empRow.getisChecked());+
    +}+

  • How to load data into html:select using Struts ?

    How to load data into <html:select> using Struts ?
    I can not load an array or collection (static or dynamic data) into drop down list control by <html:select /> Struts.
    please use:
    <html:select >
    <html:options />
    </html:select >
    Please help me. please detail it. thanks a lot.
    Message was edited by:
    tranminhman

    In order to load a collection or array of data you can use <html:select> with <html: options collection="" name=""/>
    here collection attribute refers to the Arraylist or Array of data and name is the name of the Form bean.
    Hope this helps...
    Chaitanya V

  • Unable to drag variables in "Use Associations" when implementing a task

    Nothing happens when i try to drag variables from right panel into fields on the left in "Use Association" window, when implementing a script task (or human task).
    i've cleared the repository and re-installed jdeveloper, but the problem is still there. The version of jdeveloper is 11.1.1.5.0
    any ideas about this?
    thanks.

    Hi. There are several ways for get that. Please describe a little more what are you doing. You can have the same data from different namespace, different data type and so on.
    Regards Dariel

  • Regarding Select using FOR ALL ENTRIES (FAEI)

    Hi all,
    Please help me with Select using FOR ALL ENTRIES (FAEI)
    Thanks in advns,
    Das.

    Hi,
    This version of the SELECT statement was the only way to join tables until SAP release 3.0E.  It is recommended that the SQL JOIN be used.  However, this is an alternate method of joining tables that may be used in some circumstances.  Remember, SQL JOIN doesn’t utilize the SAP internal database buffer.
    Example:
        SELECT EKGRP FROM T024
               INTO TABLE T_024.
        SELECT MATNR WERKS EKGRP FROM MARC
               INTO TABLE T_MARC
               FOR ALL ENTRIES IN T_024
               WHERE EKGRP = T_024-EKGRP.
    Prerequisites:
    The driver table cannot be empty. This would cause one full table scan.
    In general, keep the driver table as small and unique (in regards to the fields that would be needed for referencing in the FAEI) as possible. If duplicate entries are not deleted, identical data is read unnecessarily from the database.
    If FAEI is used, the selected field list must be a superset of all the key fields of the database tables used in SQL. This is absolutely required to avoid data loss since the DB interface in R/3 returns unique sets of the result set to the application program. Failing to ensure this may cause problems when you want to get all records from a database table that match a certain condition.
    Avoid using FAEI on a small DB table (like configuration tables). This could potentially cause full table scans for each FAEI packet. Even if it does index range scan, it is better to get data from the small DB tables by individual SELECT without the use of FAE.
    Always use FAEI in conjunction with a DB index otherwise it would cause multiple full table scans (one table scan for each FAEI packet).
    The first field(s) of the DB index should refer to the fields of the FAEI driver table in the SQL WHERE clause. Do not leave gaps between index fields in the WHERE clause. Inefficient index access will impact every FAEI packets.
    FAEI works best when retrieving a small percentage of data from a Database table. When a large percentage of data is needed, consider getting data out of the DB table without FAEI implementation, and then do additional filtration in your application
    Reward points if found helpfull...
    Cheers,
    Chandra Sekhar.

  • Occasionally,  some of the image borders turn dark grey (medium grey is the default) and then random other  images cannot be opened with a double click.  They only open when selected using the arrows on the keyboard.  They also cannot be moved to collecti

    Occasionally,  some of the image borders turn dark grey (medium grey is the default) and then random other  images cannot be opened with a double click.  They only open when selected using the arrows on the keyboard.  They also cannot be moved to collections.  Anyone have a solution for this?

    When you say  "could not be opened"- what are you referring to?  A double click of the mouse should view the clicked image in Loupe view- the same as pressing [E] on the keyboard for an enlarged view. (And a second double-click will take you back to library grid view.)
    To "open" an image in the Development module requires you to select the image then press [D] or click on the [Develop] button.
    When you say "could not be ...moved" -what are you referring to?  Are you trying to move an image file from its place in a folder to another folder? Are you just wanting it in a collection? When you drag an image to a collection you are only placing a link to the image in the collection- not actually moving any file. The image will stay exactly where it is in its original folder and will remain as a thumbnail preview in the Library Grid view.
    Are you having any "mouse" problems that may be changing its actions in LR ?
    Do you see an exclamation mark on any image borders ?
    Let's keep working on this. I am curious to see you find an answer.
    Rob

  • What is the free selection use in app ?

    what is the free selection use in app ? can anybody give the answer ?

    If you are referring to the Free Selection tab in the F110, I can tell you how we use it..
    We have payment runs that are seperate from the normal run. By using the Assignment field which has been populated with some unique information such as a reference number, we can use the free selection tab and enter the field name "Assignment" and then key the value that should appear in that field if we just want a payment run to include "only" the items with the value we keyed in that field when setting up the payment run. So if we had the number 0001112 in the Assignment field of certain vendor invoices and we only want to pay those, we select the field name Assignment on the free selection tab and key the value 0001112.

Maybe you are looking for