Publish in displaying selectOrderShuttle values selected in a long string delimited by semicolons

Jdev 11.1.2.2.0

Hello

I have a strange problem in selectOrderShuttle.  The Shuttle displays a read-only long text delimited by semicolons instead of each individual value in shuttle.  Example:

Description; Parent site; Run the approval; Task status code; Comments

Whereas "assignment is the selectOrderShuttle label and Description; Parent site; Run the approval; Task status code; The comments are the values.

I expect to see these values like this shuttle:

Description

Parent site

Run the approval

Task status code

Comments

Here is my code snipplet:

in jspx:

< af:selectOrderShuttle label = "assignment."

ID = "sos1" reorderOnly = "false".

value = "#{pageFlowScope.paramAssignBean.selectedSortValues} '"

trailingHeader = "Hello World Values.

readOnly = "false".

Disabled = "false" size = "300" >

< f: selectItems value = "#{pageFlowScope.paramAssignBean.allSortItems}" id = "si2" / > "

< / af:selectOrderShuttle >

paramAssignBean Java:

private static final String EVENT_PARAM_ASSIGNS_VO = "ItasEventParamAssignsVO1";

public list getSelectedSortValues() {}

log.info ("ENTER getSelectedSortValues");

String selectedValuesValueAttrName = "AssignmentUid";

ItasAppModuleImpl am = (ItasAppModuleImpl) ADFUtils.getApplicationModuleForDataControl (this.) ROOT_AM);

selectedSortValues =

DataUtils.getAttributeList (am, EVENT_PARAM_ASSIGNS_VO, selectedValuesValueAttrName, null);

log.info ("END getSelectedSortValues");

Return selectedSortValues;

}

public list getAllSortItems() {}

log.fine ("ENTER getAllItems");

String allItemsValueAttrName = "AssignmentUid";

String allItemsDisplayAttrName = "DisplayLabel";

ItasAppModuleImpl am = (ItasAppModuleImpl) ADFUtils.getApplicationModuleForDataControl (this.) ROOT_AM);

allSortItems =

DataUtils.getGenericChoiceList (am, EVENT_PARAM_ASSIGNS_VO, allItemsDisplayAttrName, allItemsValueAttrName, false, null);

log.fine ("the END getAllItems");

Return allSortItems;

}

in DataUtils.java

public static list < SelectItem > getGenericChoiceList (am ApplicationModuleImpl, String voName, String textAttribute, String valueAttribute, boolean addNullEntry, String whereClause) {}

LOGGER.info ("entering getGenericChoiceList, VO =" + voName + "whereClause:" + whereClause);

The choiceList list = new ArrayList();

try {}

ViewObject vo = am.findViewObject (voName);

vo.setWhereClause (null);

If (null! = whereClause) {}

vo.setWhereClause (whereClause);

}

LOGGER.info ("vo.getQuery:" + vo.getQuery ());

vo.executeQuery ();

vo.setRangeSize(-1);

SelectItem TR;

If {(addNullEntry)

TR = new SelectItem ("", "");

choiceList.add (si);  Add an empty entry at the top of the list

}

Rank [] lookupRows = vo.getAllRowsInRange ();

LOGGER.info ("choiceList.length:" + lookupRows.length);

for (int j = 0; j < lookupRows.length; j ++) {}

TR = new SelectItem (lookupRows [j] .getAttribute (valueAttribute), (String) lookupRows [j] .getAttribute (textAttribute));

choiceList.add (si);

}

If (null! = whereClause) {}

vo.setWhereClause (null);

}

} catch (Exception e) {}

e.printStackTrace ();

LOGGER.severe ("error in getGenericChoiceList():" + try ());

throw new oracle.jbo.JboException (e);

}

choiceList return;

}

public static list getAttributeList (ApplicationModuleImpl, String voName, String valueAttribute, String whereClause am) {}

LOGGER.info ("enter getAttributeList (, VO =" + voName + "whereClause:"+ whereClause); ")

The choiceList list = new ArrayList();

try {}

ViewObject vo = am.findViewObject (voName);

vo.setWhereClause (null);

If (null! = whereClause) {}

vo.setWhereClause (whereClause);

}

LOGGER.info ("vo.getQuery:" + vo.getQuery ());

vo.executeQuery ();

vo.setRangeSize(-1);

Rank [] lookupRows = vo.getAllRowsInRange ();

LOGGER.info ("attributeList.length:" + lookupRows.length);

LOGGER.info ("Mina Mina valueAttribute:" + valueAttribute);

for (int j = 0; j < lookupRows.length; j ++) {}

LOGGER.info ("Mina Mina value:" + lookupRows [j] .getAttribute (valueAttribute));

choiceList.add (lookupRows [j] .getAttribute (valueAttribute));

}

If (null! = whereClause) {}

vo.setWhereClause (null);

}

} catch (Exception e) {}

e.printStackTrace ();

LOGGER.severe ("error in getAttributeeList():" + try ());

throw new oracle.jbo.JboException (e);

}

choiceList return;

}

Any ideas?  Help, please.

Thank you

-Mina

Is allSortItems a bean with a Get accessor, but no Set accessor? What is the type of allSortItems?

Tags: Java

Similar Questions

  • Display the values selected in a multiple selection prompt

    Is it possible to display all the values selected from a multiple selection prompt? One who is not in a mini report with a filter = promt tabular. I need in the narrative field.

    I don't have anythign to find at the moment which gives no other alternatives.

    Don't know why you need in the view of the narrative, but outside of what you mentioned (prompt = filter), there is no way to store multiple values in a variable to use in the same report selections. But you know that if you chose the way you mentioned, you could do this:

    (1) to your "mini-report" switch to the display of explanatory text.

    (2) since there is only a single column, type @1 in the narrative field.

    (3) consider the maximum number of values that a user would choose 10. Then in the 'lines to display' set 10.

    (4) in the line separator, put in a comma and press the SPACEBAR (this will add a space after the comma).

    (5) now drag this report to the dashboard and the button report properties, select 'View', then select your narrative point of view.

    HTH,

  • Javascript-based dynamic action and display the value of (!) from the selection list

    Hello

    I'm not a jQuery guru (yet).
    Can someone show me how to turn on or off an ITEM on a form based on the value display of a selection list (usually I have dynamic lists, so I don't 'know' even internal values)

    I created a simple demo in which you can (if you want to) show me how it works.

    Workspace: 6POOLRULES
    User: demo01
    Password: demo
    Application: 30851 (Drone)

    The idea is to
    * Disable/hide the "Id other Description" If the ' Id Type (display value!) is 'Passport' or 'license '.
    * activate/display the Description of the 'other' Id if the ' Id Type (display value!) is "other".


    I think that it should be dynamic action based on javascript/jQuery. But what would this jQuery selector should look like?

    Published by: bveoracle on March 29, 2012 07:28

    Published by: bveoracle on March 29, 2012 07:30

    Hello

    OK, I changed the dynamic action to use Jquery and get text from the value. The only thing I changed is in the section WHEN.

    Enjoy.

  • Image display according to the value selected from the bean of choice

    Hello

    I have a table with columns of bean of choice and have an another bean image

    based on the value selected from the bean of choice of a particular line, I want to display an image in the column of bean image

    and it is particularly in the line, in which the user changes the value of the bean of choice.

    Please help me

    Thank you

    Hello
    H1.

    If I choose 'user' of choice its not display any image, but I need disabled display images it

    -have you set the URI of the Image of the time of the image?
    -deleteicon_enabled.gif N deleteicon_disabled.gif

    Concerning
    Meher Irk

    Published by: Meher Irk on October 24, 2010 12:18 AM

  • Display the value in the selection list

    Hi all
    Any body know how to get the text to display selection list in another text field? Suite of java script displays the value no text, I need another way around. I don't want to change the selection list that the user needs to see the text value.

    in the HTML section.
    < script language = "JavaScript" type = "text/javascript" >
    int f_getText (pThis, pThat) {}
    var enter_val = pThis;
    var return_val = pThat;
    {
    gReturn = document.getElementById ("enter_val") .value;
    {html_GetElement (return_val) .value = gReturn.toUpperCase ()}
    }
    }
    < /script >
    >

    in the HTML form element attributes.
    onBlur = "javascript:f_getText('P40_LOC_ID','P40_LOCATION')";
    "" Thank you

    Pascal M

    Change your JS function

    function f_getText (pThis, pThat){
    
    var  sel=$x(pThis);
    $x(pThat).value= sel.options[sel.selectedIndex].text
    
    }
    

    CITY

    Published by: city has 8 November 2008 17:24

  • Selection list refresh / 'display additional values '.

    I'm refreshing a list of selection with dynamic action and then after with dynamic action to set the value to the max value.  The problem is that it assigns the first item in the list.  Seems to act as the game happens before the update is completed.  I have the option "display additional values" but I can't find a way to set the value of a dynamic action - it does not accept the additional value.  This should work?

    It's not a bug, discounting is a reminder of the AJAX and success raises an apexafterrefresh event.

    You can add a second dynamic action for the selection list:

    Event: after refresh

    Selection type: point

    And then the new value must be available.

    The display of the values additional option has another purpose. Explained in the help text to the Apex 5.

    Display additional values

    An element can have a value of session state that does not occur in the given list of values definition. Specify if this list of values this additional session state value. If you choose not to display this additional session state value and there is no matching values in the list of values, the first value in the list of values is the value selected and displayed.

  • Select order shuttle not displaying only values

    JDev ADF BC 11.1.2.3.0

    I have the following code
    <af:selectOrderShuttle value="#{bindings.EmployeesView1.inputValue}"
                                  label="#{bindings.EmployeesView1.label}"
                                  id="sms1">
              <af:selectItem value="#{bindings.EmployeesView1.items}" id="si1"/>
            </af:selectOrderShuttle>
    When I run it, the shuttle shows all the values. If I change the component to < af:selectManyShuttle > it works and displays the values.
    I want to order items from the shuttle, I need to use the selectOrderShuttle component.

    Hello

    It works for me

                            
                                
                            
    

    Frank

  • Selection list: display null value

    In a select list, I want to display the display value null as default in the selection list, whenever the form is opened.

    Please suggest how to achieve this.

    Sanjay

    Hello

    Change the selection list and choose the option 'Display null value' like 'yes '. Do not mention any value in the default value field.

    Concerning
    Jean Claude

  • How to display multiple prompt values selected in the report

    Hello

    I have a LOV: SELECT DISTINCT CO. V_MOVEMENT. ORIGIN_BRANCH_CODE CO. V_MOVEMENT ORDER BY 1

    and a setting associated with it, which is the selection of several permitted. The name of the parameter is P_BRANCH.

    When I view P_BRANCH the top of my report (RTF), it is showing only one value, while I need to display all the selected values like separated by commas.

    Help, please.

    Thank you and best regards,
    Antara

    Use this:

    ,

    Thank you
    Bipuser

  • Access to the value displayed in the selection list

    Hello
    On a form, I have a select list (drop-down list).
    I can access the value selected in the help: syntax SelectListName.
    But how to get the displayed value?

    Thanks in advance,
    Alex

    If necessary in a PL/SQL environment (or I guess you can call AJAX then PL/SQL javascript) you can use these two APIs to help you perhaps?

    APEX_ITEM. TEXT_FROM_LOV
    APEX_ITEM. TEXT_FROM_LOV_QUERY

    Or should give you the value displayed for a corresponding return value (so since you can access the return value already, switch to one of these functions (as appropriate to your situation)).

  • dynamically display title based on the value selected in the column picker

    Hi all
    Would it be possible to display the title of the dynamic report based on the value selected in the column picker. Suppose I have two State of the column and region. When I choose the status in the column picker the title of the report will show 'Summary of the situation' when I'll choose the region then the title will change to "summary of the region. Please help me...

    Hello

    Check your mail before I send the entire process with screenshots.

    Concerning

    NGO

  • ADF table column display rounded value

    I have a table that I created by dropping a collection on a jspx.
    He has a column of type BigDecimal. for number of records, its value is as 0.3333333333337. This is defined by the external data source. However, there is no sense for the user to see such value in this column. I want to replace this behavior and display a value as 0.33 in this column where it displays the value as 0.3333333333337 and in general that two digits after the comma.
    How is it possible in 11 1 1 5 jdev

    Hello

    You can try these options as well if you want,

    "#1 option: place a component-> operations palette Converter->""on your field of adf table where you want to cut the number and you can set it as current/number/percentage and also give the number of maximum number of digits etc... (this option is appropriate if you do not want to touch your model layer)

    #2 option: change the level ViewObject.
    Go to your view object, select the attribute and go to the tab "User interface tips", select format type = "number" and to format = "#. #;(###.##) ' (or what ever fits for you)"

    Kind regards
    Nuka ravi

    Published by: Nuka Ravi on April 8, 2013 23:22

  • How to display the values of this query? The type is XDB. XDB$ STRING_LIST_T

    Hi all

    If I run this query using a tool like developer PL/SQL (SQL window), the values are displayed as a Collection. Just click and see the results of the al.

    Select
    dbms_resconfig.getRepositoryResConfigPaths)
    Of
    Double;


    I want to know how to display these values using any tool of sqlplus (with dbms_output or something like that).

    How can I do? With the help of the table? Create a type?

    TKS

    user12083350 wrote:

    I want to know how to display these values using any tool of sqlplus (with dbms_output or something like that).

    SQL> select * from table(dbms_resconfig.getRepositoryResConfigPaths())
      2  /
    
    COLUMN_VALUE
    --------------------------------------------------------------------------------
    /sys/xs/userrc.xml
    /sys/xs/rolesetrc.xml
    /sys/xs/drolerc.xml
    /sys/xs/rolerc.xml
    /sys/xs/frolerc.xml
    /sys/xs/xdserc.xml
    /sys/xs/scrc.xml
    
    7 rows selected.
    
    SQL> 
    

    And in PL/SQL:

    SQL> declare
      2      v_list xdb$string_list_t := dbms_resconfig.getRepositoryResConfigPaths();
      3  begin
      4      for i in 1..v_list.count loop
      5        dbms_output.put_line(v_list(i));
      6      end loop;
      7  end;
      8  /
    /sys/xs/userrc.xml
    /sys/xs/rolesetrc.xml
    /sys/xs/drolerc.xml
    /sys/xs/rolerc.xml
    /sys/xs/frolerc.xml
    /sys/xs/xdserc.xml
    /sys/xs/scrc.xml
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    

    SY.

    Published by: Solomon Yakobson, April 24, 2010 15:04

  • Setting: display all values currently available - disabled

    Hello

    I want to show the value of parameter of an another table/folder.

    Such as:

    I created a spreadsheet of the EMP and DEPT/Table of records:

    SELECT E.Emp_Name, D.Dept_Name

    FROM Emp E, Dept. D

    WHERE E.Dept_ID = D.Dept_ID

    Question:

    1. How can I view Dept_ID (s) available in the EMP Table as an input parameter?
    2. If I can show Dept_Name to select between but Dept_ID and take as an input parameter?

    When I try to create the D.Dept_ID parameter 'Display all values currently available' option shows disabled and cannot be selected.

    Help, please.

    Thanks in advance.

    Manny

    I found the answer: How to insert the list of values (LOV) in Discoverer Desktop

    Thank you

  • How to display the value of the column

    Oracle 10g on Linux

    I want to display the value of the id column in the table of www if count (distinct id) is 1. The following query is fine except that it does not display the value of the column ID help, please.
    SELECT count(distinct id)
                   FROM www c
                  WHERE C.x_code IN (SELECT D.x_code
                                                     FROM www_app d
                                                    WHERE d.y_code = '1151299386')
                  having count(distinct id) = 1                                                

    I think you can use MAX in this case

    SELECT max(id)
                   FROM www c
                  WHERE C.x_code IN (SELECT D.x_code
                                                     FROM www_app d
                                                    WHERE d.y_code = '1151299386')
                  having count(distinct id) = 1
    

Maybe you are looking for

  • (This plugin is vulnerable and should be updated check updates... Click here to activate the adobe acrobat plugin)

    HelloWhen I connect to the Internet banking and payments and I try and print the certificate of payment and download any payments that above is the error, it continues to give me, but it makes working a fewI've updated everything that needed to be up

  • Driver missing for windows 7

    I just installed windows 7 on a Hp 6653 CL. The operating system seems to work very well, but there are 2 drivers in the Device Manager screen which I seem not to be able to identify. the hardware for the devices ID are: PCI\ ven_1180@dev_0592@subsys

  • My imessage and facetime will not work correctly

    A few days ago my iMessage suddenly wasn't working properly on my mac. I could not receive messages, and when I tried to sent messages, he says not delivered. Then I reinstalled the OS X IS captain. Then when I type a contact to send an iMessage from

  • Partitioning an external hard drive

    I'm about to migrate to a new iMac from an older iMac.  I bought a new external hard drive I want partition, on the one hand for time machine and one for the backup of photos from another external hard drive.  I would like to get external drives part

  • CFS3 on windows 7 Graphics problem

    I'm sure that my pc should be able to play. It can handle modern warfare 2 very well. It has a nvidea geforce 7600gs. Intell pentium 4 3.0 Ghz + 1256 mb of ram. When I run it, it starts all the icons to shuder pannals affter 3 seconds and goes black