ADF BC Attribute with VC of CONTAINS Ignores Choice List on the LOV

JDev 11g PS 1.
Objects:
- A view criteria with attribute defined as CONTAINS (literal)
- An LOV on that attribute with a default list type UI hint of Choice List
- ADF Faces query-table based in the VC
Problem: query-table ignores the Choice List and renders an Input Text.
Clue: Changing the operator to EQUALS causes the expected Choice List to be rendered in ADF BC.
If this is documented in the online help or in this forum, it is escaping me.
Anyone know the best workaround? Set the VC using EQUALS and switch it to CONTAINS in buildWhereClause() maybe?
Thanks,
Peter

Frank,
Thanks for the fast reply and for the bug entry. Unfortunately stopping work is not an option. We've come up with a solution using a query listener that replaces EQUALS with CONTAINS before the query and resets it to EQUALS after the query (otherwise the component draws the text item after the query).
Maybe you can think of another solution to our requirement: display a single master record in the results table for a master-detail database view. For example, in an altered Oracle HR world, each DEPARTMENTS record is associated with multiple LOCATIONS records (through a DEPT_LOC table). A database view, DEPT_LOC_VW, based on that table also contains the location description and department description.
Users want to select and then edit (on another page) a department by querying by location. If we represent DEPT_LOC_VW in the query-table component, we see multiple result rows for a single department and that is unnecessary confusion for the purpose of editing a single department.
So we have created an alternative database view, DEPT_VW, based on DEPARTMENTS only, with an additional column -- LOC_LIST -- based on a function that returns a delimited list of all location codes for that department. This way, the user sees only one department record in the results table (although we lose the location description in the results -- not an issue) and is still able to query based on location.
A LOCATIONS_VW view contains the location code surrounded with the delimiiter. The DeptVw view attribute LocList contains an LOV based on that database view.
We want the view criteria to create a query condition:
WHERE loc_list LIKE '%'||<selected location code>||'%'We thought about some kind of clever use of a subquery using a bind variable:
SELECT...
FROM  departments -- not DEPT_VW or DEPT_LOC_VW
WHERE department_id IN (
   SELECT department_id
   FROM   dept_loc
   WHERE  location_id = NVL(:userSelectedLocationId, location_id);But that bind variable does not show in the view criteria selection list so it will not appear in the query component.
Thanks again,
Peter

Similar Messages

  • B2B 11g - B2B-51507 - A data element contains characters not listed in the

    How can we change the character set used in b2b ? We are getting the following error when some non english characters are present in the payload. We see the issue also when CRLF characters are present in the payload.
    Error : Element NTE02 (Description) contains characters not listed in the allowed character set. Segment NTE is defined in the guideline at position 030.{br}{br}This error was detected at:{br}{tab}Segment Count: 4{br}{tab}Element Count: 2{br}{tab}Characters: 5077 through 5121

    What is the version and release of B2B are you using? Have you applied any patches?
    I am asking above questions because there is a known bug in B2B with similar problem and there is a patch available for the same.
    Regards,
    Anuj

  • B2B Validation contains characters not listed in the allowed character set

    Hi,
    Working on EDIFACT AS2 INVOIC D05A. B2B 10g with Document Editor Version: 6.6.0.2801
    payload:
    UNA:+.?*'
    UNB+UNOB:4::1+A1103206+XXTPHOME+20110413:0456+30000000000545'
    UNH+30000000000545+INVOIC:D:05A:UN'
    BGM+389+5100256812'
    DTM+137:20110413:102'
    DTM+143:201104:610'
    FTX+CUR+++Consignment stock accounting'
    RFF+AOG:0'
    NAD+BY+A1103206::234++XXXXXXXXX++81379+DE'
    RFF+VA:DE260978148'
    CTA+PD+GC SSC ARP:Yyyy Xxxx'
    COM+49(2871) 91 3481:TE'
    [email protected]:EM'
    NAD+SU+A1082156::234++XXXXX:::[email protected]+Nnnnn 7+Llll+DE-BY+90443+DE'
    RFF+VA:DE256058056'
    NAD+UC+0000000100::92++Gggg Gggg:Hhhh+Kkkkk 2+Bocholt++46395+DE'
    TAX+7+VAT:::19% VAT+DE:133:86++:::19.00'
    CUX+2:EUR:4'
    LIN+000001++UAA3595HN/C3:VP'
    PIA+1+A5B00075796235:BP'
    IMD+B++:::IC DECTUAA3595HN/C3 PA V20810C6323D:670'
    QTY+47:6000.000:PCE'
    MOA+203:660.00'
    CUX'
    I try to validate payload and get 2 errors:
    1. Segment COM type an min length 1 max length 512 payload value: [email protected]
    Error: ub-Element COM010-010 (Communication address identifier) contains characters not listed in the allowed character set. Segment COM is defined in the guideline at position 0350.
    2. Segment group 27 Sub Element CUX payload value is null, value is exists at header level (Group 7 ub-Element CUX)
    Error: Unrecognized data was found in the data file as part of Loop Group 27. The last known Segment was MOA at guideline position 1260 - Validator error - Extra data was encountered.
    Thanks for any help
    Adi

    We fix it by change Character set to UNOC

  • The book asset contains file not listed in the OPF manifest

    the book asset contains file not listed in the OPF manifest
    Hi, this is the message I get one time and another everytime I try to publish my e-book using Itunes Producer.
    Can anyone in this world help me and tell me what the **** I have to do to relsese me of this Apple torture?? thank you.God Bless You.

    Get Apple on the phone, I think:
    [email protected]
    …support phone number call +1 (877) 206-2092.
    Global Phone Support
    We have expanded English-language publisher phone support. To make contacting the iBookstore support even easier, new local phone numbers are now available for Australia, France, Germany, Italy, Netherlands, Spain, and the U.K. Support is available Monday to Friday, from 7 a.m. to 5 p.m. (PT).
    Country
    Phone Number
    Australia
    1300 307 504
    Note that this is a low tariff number.
    France
    0805 540 117
    Germany
    0800 664 5307
    Italy
    800 915 902
    Netherlands
    0800 0201 578
    Spain
    900 812 687
    U.K.
    0800 975 0615
    U.S.
    +1 (877) 206-2092
    Toll-free from U.S. and Canada.

  • Adding caller with name and number from call list to the contact list only inserts the number and not the name

    I recently bought a BlackBerry Z10 and moved my cell service to Rogers to take advantage of the name display service offered by Rogers (Fido also offers this service).
    Due to the number of calls that I receive from first time clients, I wanted the name display service to help me know who was calling. Evidently it is impossible to add clients to my contact list before they call me so I'm constantly seeing numbers that have no name to help me decide if I want to answer the call.
    When I try to add a caller from my call list to my contact list, only the number gets inserted in the new contact. The name needs to be entered manually.
    I understand and realize that not all call display formats are the same and that it's virtually impossible to parse the first and last names from the name portion of the caller id.
    However, I would like to see BlackBerry add the functionality to insert the name portion of the call entry from the caller list to a "Nickname" entry in the contact list just like it adds the number to a "Home", "Mobile", or "Work" entry in the contact list.
    If a user doesn't have a name display service, there would be no change to how their contacts are added because there is no name variable to copy over.
    Can someone from BlackBerry please let me know if this feature can be added to BB10 and when it can be added? For me it's an obvious feature that should just work.
    I am really enjoying my Z10 but I'm feeling let down that something so logical and helpful is not supported out of the box.
    Regards,
    Marc

    Hey ViciousFerret,
    It appears that you are not aware of the fact that both Rogers and Fido offer name AND number display service (although the name display feature is an add-on service) and have been offering it for many years (since 2006). Here is a link to the name display service description of each provider...
    http://www.fido.ca/web/content/manageyourcalls/calldisplay&lang=en
    http://www.rogers.com/business/on/en/smallbusiness/products/wireless/addons/valuepacks/
    As you can see from the link below, Rogers and Fido have been offering this service since 2006.
    http://www.businesswire.com/news/home/20060914005951/en/Teams-HP-Rogers-Wireless-Fido-Succeed-North
    My BlackBerry Z10 shows both the name and number when someone calls (and the caller is not in my contact list).
    All I would like is for the Z10 (and Q10) to support the addition of the name and number from the caller list to my contact list without me having to type the name. As I mentioned in my original post, to avoid the OS having to parse the first name and last name from the name portion of the caller list entry the name could simply be added to the contact list as a "Nickname". If your provider only has number display, nothing would have to be copied from the name variable in the caller list to the contact list.
    I find it difficult to believe that BlackBerry would not be aware of this name display service since it's been around since 2006 with both Rogers and Fido.
    I hope I have clarified the reasons why I would like to have this feature added to BB10 and how it's surprising that this simple feature is not already a part of the BB10 OS.
    Either way, I don't think this is a difficult feature for the BlackBerry team to add. They're just copying a 2nd variable from the caller list to the contact list.
    I'm surprised that Rogers hasn't asked BlackBerry to add this feature to their phones. I think it would be a popular feature for those who receive a high number of calls from first time callers.
    How can I get this feature request to BlackBerry for their consideration?
    Cheers,
    Marc

  • I installed the newest itunes version on my windows 7 SP1 but when i open it a window apperars saying: apple application support\AVFoundationCF.dll insn't intended for use with windows or contains an error. try reinstalling the program.

    i tried but it dosen't works. what i can do?

    Try to go parallel control and click at programs uninstall and remove I tunes and download it again.

  • Attribute change run problem - infoobject is not listed in the list

    Hi folks,
    When I load master data for 0customer, the infoobject 0customer doesnt come in the infoobject list for attribute change run. Also, when I try to activate master data manually it says 'Master Data already active'. and the reality is M version of Data is not active.
    Can you guide me.

    Try running the program RSDMD_CHECKPRG_ALL for this infoobject. You can select all the options when running this program.
    Try running this program multiple times, coz my experience showed that initial run may not always fix this issue.
    Good luck!

  • Whenever I click on my wireless mouse, a menu drops down containing several choices, and blocks the item that I clicked on.

    I have an iMAC with the Yellowstone OS installed.  This problem existed on the previous OS as well.  Whenever I click on my wireless mouse, a menu drops down with several options on it.  This menu then blocks my ability to click directly on the desired item.  This is very irritating.

    Try running this program and then copy and paste the output in a reply. The program was created by Etresoft, a frequent contributor.  Please use copy and paste as screen shots can be hard to read.
    Etrecheck – System Information

  • Set the value of an adf number slider with java script

    Hi,
    i develop a adf 11 webapplication with JDeveloper 11.
    in one page i use the number slider component and i wish to set the value with a clientlistern in javascript.
    is this possible??
    thanks,
    hannes

    Hi,
    did you try
    slider = AdfPage.PAGE.findComponent("<sliderId>");
    slider.setProperty("value",<your value>);
    Frank

  • ADF Dependent select one choice list

    hi all
    i have two lists in my page, and the second one takes value from the first, but it is not working, the second list is empty always whatever i select in the first one.
    i have searched many threads and it is not working. i also did the steps in the page http://www.oracle.com/technology/obe/obe11jdev/11/adfbc_new_features/adfbc.html#t2
    this what i have did in details:
    first list : LevelComboVO
    select distinct group_level from mrcps_group_link
    second list: GroupComboVO
    select large_group_seq, group_level, symbol
    from mrcps_group_link
    where group_level = :selectedLevel
    then i made a bind variable for the second list GroupComboVO named selectedLevel
    for the first list LevelComboVO i made the following:
    press plus on the ListOfValues:GroupLevel and for the list data source i have made new one for GroupComboVO and choosen the list attribute groupLevel and for ui hent i chosed groupLevel
    then i have tested the AM but no data returned for GroupComboVO
    please help

    first i have done the 2 view objects and the corresponding two select one choice list
    for the first list i have made a managed bean for valueChangedListener -- > #{GrouplLevelBean.passLevel}
    and i have put code as you told me :
    package mrcps.view;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ValueChangeEvent;
    import oracle.adf.model.binding.DCBindingContainer;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.jbo.ViewObject;
    public class GrouplLevelBean {
    public GrouplLevelBean() {
    public void passLevel(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    DCIteratorBinding testListIter1 = getItrtBindings("GroupComboVOObj1Iterator");
    ViewObject vo1 = testListIter1.getViewObject();
    vo1.setNamedWhereClauseParam("selectedLevel", valueChangeEvent);
    vo1.executeQuery();
    getItrtBindings( is giving me a red underline indication that method not found
    Edited by: user604057 on Apr 3, 2009 3:27 PM

  • Group messaging creating a new thread with no one listed in the To: field

    Recently I have had issues with group text where I send a message to an exiting group text thread in the messaging app, and when someone responds from that thread Messages creates a new thread with no apparent sender or anyone listed in the To: field of that message.  Has anyone had or scene this issue?  So far the only solution I have found is to delete both the new thread and the old thread and start the group over again, losing all the group text history from the original thread.   

    Texts are a carrier function
    Are all your group members on iMessage?

  • ADF BC : "Attributes selected in query with no column type found! ..."

    hi
    Using JDeveloper 10.1.3.3.0, I have this "Selected in Query" attribute, "Never" updatable, in my Entity Object.
    The Entity Object is based on the SCOTT.EMP table and the attribute, called "BonusInfo", is defined using the expression " '[bonus info ' || (SAL * 2) || ']' ".
    see http://verveja.footsteps.be/~verveja/files/oracle/NoColumnTypeFoundApp-v0.01.zip
    While creating this Entity Object, I got a "Business Components" dialog that says:
    "Column type is not specified for this attribute. Specifying column-type and precision results in better query performance at runtime. Do you wish to set column type to VARCHAR2(255)?"
    I clicked "Yes".
    I also created two View Objects based on this Entity Object.
    In the "Create View Object" wizard "Step 4 of 7: Attribute Settings" I got a "Business Components" diaglog that says:
    "Attributes selected in query with no column type found! Specifying column-type and precision results in better query performance at runtime. Do you wish to set default column type for these attributes?"
    I clicked "Yes".
    Testing the query in "Step 5 of 7: SQL Statement" showed "Query is valid.".
    question:
    Why do I keep getting the message ...
    "Attributes selected in query with no column type found! Specifying column-type and precision results in better query performance at runtime. Do you wish to set default column type for these attributes?"
    ... in the View Object Editor if I click on different attributes?
    (I don't get such a message the first time I click on an attribute after opening the View Object Editor, but after that it keeps popping up each time I click on a different attribute, no matter what I answer "Yes", "No" or "Cancel".)
    many thanks
    Jan Vervecken

    Jan,
    BC needs the column type and precision so that we can allocate the correct JDBC buffer size; otherwise we would just allocate 2k per string.
    Blaise

  • Method attribute with af:declarativeComponent tag ?

    Is it possible to use a method attribute when using a declarative component with the af:declarativeComponent tag? (v11.1.1.1.0)
    In my jsff, I have defined a method attribute like:
    <method-attribute>
        <attribute-name>fileAttached</attribute-name>
        <method-signature>void fileAttached(javax.faces.event.ValueChangeEvent)</method-signature>
        <required>true</required>
    </method-attribute>and in my jspx page I'm adding the component like:
    <af:declarativeComponent id="dc1"
                             viewId="components/attachments.jsff"
                             fileAttached="#{MyBackingBean.fileAttached}"/>However I get the following exception (ADF is looking for an property, even though i've defined this as a method attribute):
    javax.el.PropertyNotFoundException: The class 'com.xxx.MyBackingBean' does not have the property 'fileAttached'.
         at javax.el.BeanELResolver.getBeanProperty(BeanELResolver.java:547)
         at javax.el.BeanELResolver.getValue(BeanELResolver.java:249)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
         at oracle.jsp.runtime.OracleUnifiedELRuntime.evaluateValueExpression(OracleUnifiedELRuntime.java:158)
         at oracle.jsp.parse.JspUtils.ExprValue(JspUtils.java:2348)Does the af:declarativeComponent tag support this, or do I have to go through the whole process of:
    - define declarative component and new taglib
    - generate ADF library jar
    - add library jar to project
    - import taglib and use tag in my page
    to use method attributes?

    Yes, I've tried a few different methods here and the signature is definitely correct.
    As far as I can tell, when I use the af:declarativeComponent tag, the <component-extension> section of the component is ignored completely. For example, I can have a method-attribute in the <component-extension> extension that is set to required=true, however when if I omit this attribute, the renderer doesn't complain. If I include the attribute (refer to a method) then I get the above exception, because the expression evaluator just wants to evaluate it as a property, regardless of what the <component-extension> inside the jsff says.
    Frank, is your example definitely using the af:declarativeComponent tag? I am not creating an ADF library jar and taglib to contain my declarative component - are you?

  • Does Endeca Integrator Loads Attribute with Null value?

    I have a table in DB , with a column , lets say, supply_id. This is null for all rows.
    When i load data from this table using clover ETL graph and lets say source this data to another table , will my final table will have a column as supply_id?
    Or will this column will get dumped.
    I discussed on clover etl forum, it seems this column will be picked. However, when we use EID Intgrator the column is getting dropped always..
    I tried a sample graph passing an attribute having null value and having property nullable=true. But still it was dropped.
    I posted same question on clover etl forum long back. They explained its not something out of the box from Clover but a change Oracle EID made to the engine.
    http://forum.cloveretl.com/viewtopic.php?f=4&t=6508
    Could you please confirm if this is expected behavior and if so , is there any workaround?

    Yes, if an attribute doesn't contain any values that attribute doesn't exist in the Endeca Server. Why do you want an attribute that doesn't contain values?

  • Dynamic Attributes with UDF - NullPointerException

    Hello,
    I want to set the file name of an file receiver by means of setting dynamic attributes in an UDF.
    I use the following code and map the output to the root node of the target message (one input variable is var1)
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String myFileName = var1;
    conf.put(key, myFileName);
    return "";
    When I want to test the mapping using the test tab I get a null pointer exception:
    Exception:[java.lang.NullPointerException] in class com.sap.xi.tf
    Could the reason be, that setting dynamic attributes does not work when testing a mapping as the mapping has to be called by the IE runtime or is there any other reason?

    Hi Florain,
    I can understand, but that is how it is designed because the filename paramter can be picked up only during the runtime. But if you use other parameters like interface, sender name etc you can test it in mapping. Please go to test tab and click on parameters  tab. There you see few parameters for runtime also. You can put some value there and then you can test the mapping and you will not receive that error. You dont have filename there, so thats the reason why you are getting error. Hope in next release SAP would come up with this option.
    Regards,
    ---Satish

Maybe you are looking for