Combobox Parameters

Greetings,
     I have a cascading parameter extracted from a query. After assignment (in data filtering option) to the fields the parameter splits into parameter-field1 and parameter-field2. Parameter-field1 is a combo box and parameter-field2 is parameter panel which accepts multiple parameters.
          I have problem with combo box which shows limited data even after setting the u201Cmaxrowsetrecordsu201D to max. kindly help.

Hello,
which version of CR are you using? and which application you are using to create the parameters? VS2003, 2005 or 2008?
Reason I am asking because there are some limitations in CR 10, XI and XIR2
Regards
Jehanzeb

Similar Messages

  • Human Task task's parameters as combobox

    Is posible to show a Human Task's parameter as a <select> in its auto-generated form? I mean, without editing the generated jsp manually.
    I'm using SOA Suite 10.1.3.1.0 and JDev 10.1.3.3
    Thanks
    Neuquino
    Message was edited by:
    Neuquino

    Is posible to show a Human Task's parameter as a <select> in its auto-generated form? I mean, without editing the generated jsp manually.
    I'm using SOA Suite 10.1.3.1.0 and JDev 10.1.3.3
    Thanks
    Neuquino
    Message was edited by:
    Neuquino

  • Still having a problem with ComboBox in a Table

    In my JClient app I still can't get a ComboBox to work in a JTable. The ComboBox doesn't display in the table and my pageDef file (below) looks fine to me. Can anyone verify that a ComboBox in a JTable works in the production release or tell me what I'm doing wrong?
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.36.73" id="PanelPersonAddressView8PageDef"
    Package="com.esp.test.pageDefs"
    MsgBundleClass="com.esp.test.pageDefs.PanelPersonAddressView8PageDefMsgBundle">
    <parameters/>
    <executables>
    <iterator RangeSize="-1" Binds="AppModuleDataControl.PersonAddressView1"
    DataControl="AppModuleDataControl" id="PersonAddressView1Iter"/>
    <iterator id="AddressTypeView1Iterator" RangeSize="-1"
    Binds="AddressTypeView1" DataControl="AppModuleDataControl"/>
    <iterator id="PersonAddressView1Iterator" RangeSize="10"
    Binds="PersonAddressView1" DataControl="AppModuleDataControl"/>
    </executables>
    <bindings>
    <table ColumnSort="entireCollection" id="PersonAddressView1"
    IterBinding="PersonAddressView1Iter"
    xmlns="http://xmlns.oracle.com/adfm/jcuimodel">
    <AttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
    <Item Value="PersonId"/>
    <Item Value="AddressId"/>
    <Item Value="AddressTypeId"/>
    <Item Value="ReadOnlyAddress"/>
    </AttrNames>
    <AttrProp name="AddressTypeId">
    <EditorDef RTClass="oracle.jbo.uicli.jui.JULOVEditorPropDef"
    DTClass="oracle.adf.dt.objects.jui.JUDTLOVEditorProp"
    Name="ComboBox" binding="DCComboBox"/>
    </AttrProp>
    </table>
    <combobox id="DCComboBox" xmlns="http://xmlns.oracle.com/adfm/jcuimodel"
    StaticList="false" ListOperMode="0"
    IterBinding="PersonAddressView1Iterator"
    ListIter="AddressTypeView1Iterator">
    <AttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
    <Item Value="AddressTypeId"/>
    </AttrNames>
    <ListAttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
    <Item Value="AddressTypeId"/>
    </ListAttrNames>
    <ListDisplayAttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
    <Item Value="AddressTypeDesc"/>
    </ListDisplayAttrNames>
    </combobox>
    </bindings>
    </pageDefinition>

    I have a similar problem. I have got the combobox in the jtable working (when i switched off the labels). Everything seems to works except when I select the first record in the combobox. When I tab out of the cell it becomes empty. If I first select a different record( 2-n) and then the first record the value remains when I tab out of the cell. This also looks like a bug to me. Here's my binding code:
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.36.73" id="OpeningsTijdenPanelPageDef"
    Package="store.ui.panel.in3_1_park.pageDefs">
    <parameters/>
    <executables>
    <iterator id="POpeningsTijdView1Iterator" RangeSize="-1"
    Binds="POpeningsTijdView1"
    DataControl="ParkerenAppModuleDataControl"/>
    <iterator id="DagView1Iterator" RangeSize="-1" Binds="DagView1"
    DataControl="ParkerenAppModuleDataControl"/>
    </executables>
    <bindings>
    <table ColumnSort="entireCollection"
    id="ActiviteitParkerenView1POpeningsTijdView1"
    IterBinding="POpeningsTijdView1Iterator"
    xmlns="http://xmlns.oracle.com/adfm/jcuimodel">
    <AttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
    <Item Value="Dagid"/>
    <Item Value="Begintijd"/>
    <Item Value="Eindtijd"/>
    </AttrNames>
    <AttrProp name="Dagid">
    <EditorDef RTClass="oracle.jbo.uicli.jui.JULOVEditorPropDef"
    DTClass="oracle.adf.dt.objects.jui.JUDTLOVEditorProp"
    Name="ComboBox" binding="DCComboBox"/>
    </AttrProp>
    <AttrProp name="Dag">
    <EditorDef RTClass="oracle.jbo.uicli.jui.JULOVEditorPropDef"
    DTClass="oracle.adf.dt.objects.jui.JUDTLOVEditorProp"
    Name="ComboBox" binding="DCComboBox"/>
    </AttrProp>
    </table>
    <combobox id="DCComboBox" xmlns="http://xmlns.oracle.com/adfm/jcuimodel"
    StaticList="false" ListOperMode="0"
    IterBinding="POpeningsTijdView1Iterator"
    ListIter="DagView1Iterator" NullValueFlag="1">
    <AttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
    <Item Value="Dagid"/>
    </AttrNames>
    <ListAttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
    <Item Value="Dagid"/>
    </ListAttrNames>
    <ListDisplayAttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
    <Item Value="Dag1"/>
    </ListDisplayAttrNames>
    </combobox>
    </bindings>
    </pageDefinition>
    Has anyone else encountered this problem?

  • Adding custom combobox to my scene7 tab in contentfinder

    I am trying to add custom combobox by extending the OOB scene7 contentfinder in CQ. But for some reason, I am not seeing my combo box (id and selected value) getting passed in the  request header as query parameter. Following is the js code I am using, has anyone worked on such a customization?
    =================================================
    CQ.Ext.ns("MyClientlib");
    MyClientlib.ContentFinder = {
        TAB_S7_BROWSE : "cfTab-S7Browse",
        S7_QUERY_BOX: "cfTab-S7Browse-Tree",
        CONTENT_FINDER_TAB: 'contentfindertab',
        S7_RESULTS_BOX: "cfTab-S7Browse-resultBox",
        addPageFilters: function(){
            var tab = CQ.Ext.getCmp(this.TAB_S7_BROWSE);
            var queryBox = CQ.Ext.getCmp(this.S7_QUERY_BOX);
            queryBox.add({
                "xtype": "label",
                "text": "Select Path",
                "cls": "x-form-field x-form-item-label"
            var metaCombo = new CQ.Ext.form.ComboBox({
            typeAhead: true,
            triggerAction: 'all',
            lazyRender:true,
            mode: 'local',
            store: new CQ.Ext.data.ArrayStore({
                id: "cfTab-s7Browse-metaDataStore",
                fields: [
                    'myId',
                    'displayText'
                data: [[1, 'Name'], [2, 'Keywords'], [3, 'Description']]
            valueField: 'myId',
            displayField: 'displayText',
                listners: {
                    select: function (combo, record, index) {
                                        var store = CQ.Ext.getCmp(this.S7_RESULTS_BOX).items.get(0).store;
                                                                                              store.setBaseParam("mFilter",CQ.Ext.getCmp(" cfTab-s7Browse-metaDataStore").getValue());
                                                                // CQ.S7.setSearchQualifiers(store);
                                        store.reload();
                        queryBox.add(metaCombo);
                  var cfTab = queryBox.findParentByType(this.CONTENT_FINDER_TAB);
        queryBox.add(new CQ.Ext.Panel({
                border: false,
                height: 40,
                items: [{
                    xtype: 'panel',
                    border: false,
                    style: "margin:10px 0 0 0",
                    layout: {
                        type: 'hbox'
                    items: [{
                        xtype: "button",
                        text: "Search",
                        width: 60,
                        tooltip: 'Search',
                        handler: function (button) {
                            var params = cfTab.getParams(cfTab);
                            cfTab.loadStore(params);
                        baseCls: "non-existent",
                        html:"<span style='margin-left: 10px;'></span>"
                        xtype: "button",
                        text: "Clear",
                        width: 60,
                        tooltip: 'Clear the filters',
                        handler: function (button) {
                            $.each(cfTab.fields, function(key, field){
                                field[0].setValue("");
            queryBox.setHeight(230);
                  queryBox.doLayout();
            var form = cfTab.findByType("form")[0];
            cfTab.fields = CQ.Util.findFormFields(form);
    changeResultsStore: function(){
            var queryBox = CQ.Ext.getCmp(this.S7_RESULTS_BOX);
            var resultsView = queryBox.ownerCt.findByType("dataview");
            var rvStore = resultsView[0].store;
            rvStore.proxy = new CQ.Ext.data.HttpProxy({
                url: CQ.S7.getSelectedConfigPath() + "/jcr:content.search.json",
                method: 'GET'
    (function(){
        var INTERVAL = setInterval(function(){
            var c = MyClientlib.ContentFinder;
            var tabPanel = CQ.Ext.getCmp(CQ.wcm.ContentFinder.TABPANEL_ID);
            if(tabPanel){
                clearInterval(INTERVAL);
                c.addPageFilters();
                //CQ.Ext.Msg.alert('meta','CQ.Ext.getCmp("cfTab-s7Browse-metaDataStore").getValue()');
                c.changeResultsStore();
        }, 250);
    =================================================

    Hi Aanchal,
    i have posted exactly the same problem a few months ago, and no one answered me.
    I couldn't find any documentation on how to add custom GP parameters in the universal worklist, in the examples on customizing the UWL XML they always refer to parameters from the r/3 webflow, never GP.
    I really can't believe that nobody ever tried to do this and faced this problem!
    Please let me know if you find something..
    Regards,
    Marco.

  • Problem with combobox

    I have a panel in table view. One of the fields, I have changed to a combo box. It works good except for one problem. When testing, I set the text in the field using the combo box. If I go directly to another record, in the same column, when i change that record, the one i had changed in the previous record changes also. It's like it has never lost focus of the previous record. I can click in another field in the previous record before going to the new record and it works OK. Any suggestions???
    Thanks, William

    Look in the API under combobox, there are 2 constructors there that may interest you--one for an array and another for a vector. Make your return object of either of those and you'll be fine.He's been told to use an array as the parameter several times, all to no avail. I'm beginning to lose hope for this one.Ok I'm sorry I've not got it yet but I just don't understand. Let me try again.
    I have a method in my other class
    private ArrayList< String > Quizbook= new ArrayList< String >(); // at the top of the program declaring it.
    public ArrayList getwhole() // the method to return it
    return Quizbook;
    }So that method returns the Quizbook which is an Array? am I right so far?
    Then in my other class I have
    JComboBox Answer = new JComboBox(Vector (Q.getwhole));Q is an object in that previous class and '.getwhole' bieng the above method. that returns the array Quizbook. so surely I am using the array as the parameter?
    And then I looked up the api and it says:
    JComboBox
    public JComboBox(Vector items)
    Creates a JComboBox that contains the elements in the specified Vector. By default the first item in the vector and therefore the data model) becomes selected.
    Parameters:
    items - an array of vectors to insert into the combo box
    See Also:
    DefaultComboBoxModel
    so if items is the parameter that you are saying should be an array then how come it isn't in the way I'm doing it the method I'm telling it to call getwhole which returns the array??
    I know its probaly very tedious repeating things but It would help me alot if you could just go over it again explaining exactly where I'm going wrong.

  • Custom combobox problem

    Hi,
    With the help of JDC i am able to finish the work of creating the customized comobo but I'm stuck at the edge.
    I have a customized comobobox, which can show multiple columns in its combo popup, but only one item of column should be shown as selected in combo, This i achieved when combobox status is editable. but not working when combo is non editable.
    kindly see( can execute too ) the code and let me know where i'am going wrong.
    public class TestCoeusComboBox2 extends javax.swing.JFrame {
    /** Creates new form TestCoeusComboBox2 */
    public TestCoeusComboBox2() {
    initComponents();
    private void initComponents() {
    jPanel1 = new javax.swing.JPanel();
    //jPanel1.setLayout( new java.awt.GridLayout(2,4,10,10));
    jPanel1.setLayout( new java.awt.FlowLayout());
    java.util.Vector people = new java.util.Vector();
    for( int i= 0 ; i< 15 ; i++ ){           
    people.add(new ComboBoxBean(""+i,"Yaman kumar-"+i));
    javaEditable = new javax.swing.JLabel("java-Editable");
    javaNonEditable = new javax.swing.JLabel("java-NON Editable");
    coeusEditable = new javax.swing.JLabel("Coeus - Editable ");
    coeusNonEditable = new javax.swing.JLabel("Coeus - NON Editable");
    coeusComboEditable = new CoeusComboBox(people,true);
    coeusComboEditable.setPopupSelectionBackground(Color.yellow);
    coeusComboEditable.setPopupBackground(Color.white);
    coeusComboNonEditable = new CoeusComboBox(people,false);
    coeusComboNonEditable.setPopupSelectionBackground(Color.gray);
    coeusComboNonEditable.setPopupBackground(Color.white);
    javaComboEditable = new javax.swing.JComboBox(people);
    javaComboEditable.setEditable(true);
    javaComboNonEditable = new javax.swing.JComboBox(people);
    javaComboNonEditable.setEditable(false);
    addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(java.awt.event.WindowEvent evt) {
    exitForm(evt);
    jPanel1.setPreferredSize(new java.awt.Dimension(1000, 200));
    jPanel1.add(javaEditable); jPanel1.add(javaComboEditable);
    jPanel1.add(javaNonEditable); jPanel1.add(javaComboNonEditable);
    jPanel1.add(coeusEditable); jPanel1.add(coeusComboEditable);
    jPanel1.add(coeusNonEditable); jPanel1.add(coeusComboNonEditable);
    getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER);
    pack();
    /** Exit the Application */
    private void exitForm(java.awt.event.WindowEvent evt) {
    System.exit(0);
    * @param args the command line arguments
    public static void main(String args[]) {
    new TestCoeusComboBox2().show();
    private javax.swing.JPanel jPanel1;
    private CoeusComboBox coeusComboEditable;
    private CoeusComboBox coeusComboNonEditable;
    private javax.swing.JComboBox javaComboEditable;
    private javax.swing.JComboBox javaComboNonEditable;
    private javax.swing.JLabel javaEditable;
    private javax.swing.JLabel javaNonEditable;
    private javax.swing.JLabel coeusEditable;
    private javax.swing.JLabel coeusNonEditable;
    * @(#)CoeusComboBox.java 08/29/2002, 5:06 AM
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.plaf.basic.*;
    import javax.swing.plaf.metal.*;
    import javax.swing.event.*;
    import java.util.Vector;
    import javax.swing.border.*;
    public class CoeusComboBox extends JComboBox {
    private boolean editable = false;
    private Color popupSelBackground ;
    private Color popupBackGround;
    * Initializes the properties of CoeusComboBox as it needs to set custom Renderers
    * and Editors for CoeusComboBox
    private void initProperties(){       
    CoeusComboBoxRenderer renderer= new CoeusComboBoxRenderer();
    CoeusComboCellEditor editor = new CoeusComboCellEditor();
    setBorder(new LineBorder(Color.black,1));
    setRenderer(renderer);
    setEditor(editor);
    //setEditable(true);
    /** Creates a new instance of CoeusComboBox */
    public CoeusComboBox() {
    super();
    setUI(new StateComboBoxUI());
    initProperties();
    * Constructor with default ComboBoxModel
    public CoeusComboBox(ComboBoxModel aModel) {
    super(aModel);
    setUI(new StateComboBoxUI());
    initProperties();
    * Constructor with default items that are shown in popup when the combo is selected
    public CoeusComboBox(final Object[] items) {
    super(items);
    setUI(new StateComboBoxUI());
    initProperties();
    * Constructor with default items that are shown in popup when the combo is selected
    * @param items An array of elements that are shown in popup
    * @param editable Status of ComboBox, If true the combobox value can be modified.
    public CoeusComboBox(final Object[] items, boolean editable) {
    super( items);
    this.editable =editable;
    setEditable(editable);
    setUI(new StateComboBoxUI());
    initProperties();
    * Constructor with default items that are shown in popup when the combo is selected
    * @param items a Vector of combobox items.
    public CoeusComboBox(Vector items) {
    super(items);
    setUI(new StateComboBoxUI());
    initProperties();
    * Constructor with default items that are shown in popup when the combo is selected
    * @param items A vector of items that are shown in popup
    * @param editable Status of ComboBox, If true the combobox value can be modified.
    public CoeusComboBox(Vector items, boolean editable){
    super( items);
    this.editable = editable;
    setEditable(editable);
    setUI(new StateComboBoxUI());
    initProperties();
    * Sets combobox Popup Background Color
    * @param color background color of Combobox popup.
    public void setPopupBackground( Color color){
    this.popupBackGround = color;
    * Sets combobox Popup Selection Background Color
    * @param color Selected Item background color of Combobox popup.
    public void setPopupSelectionBackground( Color color){
    this.popupSelBackground = color;
    * Sets the Status(Editable/NonEditable) of combobox, Based on which the combo
    * value can be changed. Default is not editable
    * @param flag If true the combobox is editable.
    // public void setEditable( boolean flag){
    // editable = flag;
    * An inner class to set the Default renderer for CoeusComboBox. As this combobox
    * can show multiple columns in combo popup, so add number columns to this panel, like
    * that as many as number panel will be added to panel as many items available in combobox.
    * that is rendered in every cell.
    class CoeusComboBoxRenderer extends JPanel implements ListCellRenderer {
    private JLabel left;
    private JLabel right;
    private JLabel middle;
    * Constructor to set the layout and border for this panel.
    public CoeusComboBoxRenderer() {
    //setLayout(new GridLayout(1, 2,0,0));
    BoxLayout boxLayout =new BoxLayout(this,BoxLayout.X_AXIS);
    setLayout( boxLayout);
    setBorder(BorderFactory.createEmptyBorder(3, 3, 3, 3));
    left = new JLabel();
    middle= new JLabel();
    right = new JLabel();
    add(left);
    add(middle);
    add(right);
    * An overridden method to render this component in desired cell.
    public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
    if (isSelected) {
    if(popupSelBackground == null ){
    popupSelBackground = list.getSelectionBackground();
    setBackground(popupSelBackground);
    setForeground(list.getSelectionForeground());
    } else {
    if( popupBackGround == null){
    popupBackGround = list.getBackground();
    setBackground(popupBackGround);
    setForeground(list.getForeground());
    if( value instanceof ComboBoxBean ){
    ComboBoxBean comboBoxBean = (ComboBoxBean) value;
    left.setText(comboBoxBean.getCode());
    middle.setText(" ");
    right.setText(comboBoxBean.getDescription());
    return this;
    }// end of CoeusComboBoxRenderer class
    * An inner class to set the editor of CoeusComboBox when it gets focus and about to be
    * selected by the user
    class CoeusComboCellEditor extends javax.swing.plaf.basic.BasicComboBoxEditor {
    public CoeusComboCellEditor() {
    super();
    System.out.println(" editable "+editable);
    editor.setEditable(true);
    //editor.setBackground(editorSelBackground);
    }// end of CoeusComboCellEditor
    }// end of CoeusComboBox
    * @(#)StateComboBoxUI.java 08/20/2002 9:21 AM
    import javax.swing.plaf.basic.*;
    import javax.swing.*;
    public class StateComboBoxUI extends BasicComboBoxUI{
    * Creates the ComboBox popup that is displayed when the implemented combobox is selected.
    * As in Basic LAF the combobox does not provide the horizontal scrollbar for popup this
    * method is overridden with that property.
    protected ComboPopup createPopup(){
    BasicComboPopup popup = new BasicComboPopup(comboBox){
    protected JScrollPane createScroller() {
    return new JScrollPane( list, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
    ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED );
    }//end of method createScroller
    return popup;
    }//end of method createPopup
    * The Class is used to populate any combo box
    public class ComboBoxBean implements java.io.Serializable{
    private String code;
    private String description="";
    /** Default Constructor */
    public ComboBoxBean() {
    /** Constructor with parameters */
         public ComboBoxBean(String code, String description) {
                   this.code = code;               this.description = description;
    * This method gets the Code
    * @return String code
    public String getCode() {
    return code;
    * This method sets the Code
    * @param String code
    public void setCode(String code) {
    this.code = code;
    * This method gets the Description
    * @return String description
    public String getDescription() {
    return description;
    * This method sets the Description
    * @param String description
    public void setDescription(String description) {
    this.description = description;
    public String toString(){
    return getDescription();

    Gregor,
              As an alternative way i did take "selectedItem" away from MXML and used it on "creationComplete". But not i am running in to different problem which i am going to open as new discussion.
    Between i have documented this issue on my blog @ http://www.srinivaskusunam.com/2009/05/13/flex-combobox-selecteditem-problem/
    Thanks,
    Srini

  • To populate a ComboBox according to a screen field

    Hi folks!  I'm newbie on ABAP and I have the following problem:
    I have a screen field.  According with the data entered on this field I want to populate a ComboBox using the function VRM_SET_VALUES, but I can't found a proper event to do the population.
    The "at selection-screen on field_name" option is executed at the end, with all checks, but not after I live or change the first field.  Anybody knows a solution for it?
    Thanks in advance.

    Check the below code:
    *& Report  YSAMPLE12                                                   *
    REPORT  ysample12                               .
    DATA: i_dynpfields TYPE dynpread OCCURS 0 WITH HEADER LINE.
    TYPE-POOLS : vrm.
    DATA : vrm_data TYPE vrm_values.
    DATA : wa_vrm LIKE LINE OF vrm_data.
    PARAMETERS : p_val TYPE c.
    PARAMETERS : p_opt(10) TYPE c AS LISTBOX VISIBLE LENGTH 10.
    AT SELECTION-SCREEN.
      REFRESH: i_dynpfields.
      i_dynpfields-fieldname = 'P_VAL'.
      APPEND i_dynpfields.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname                         = sy-repid
          dynumb                         = sy-dynnr
      TRANSLATE_TO_UPPER             = ' '
      REQUEST                        = ' '
      PERFORM_CONVERSION_EXITS       = ' '
      PERFORM_INPUT_CONVERSION       = ' '
      DETERMINE_LOOP_INDEX           = ' '
        TABLES
          dynpfields                     = i_dynpfields
    EXCEPTIONS
       invalid_abapworkarea           = 1
       invalid_dynprofield            = 2
       invalid_dynproname             = 3
       invalid_dynpronummer           = 4
       invalid_request                = 5
       no_fielddescription            = 6
       invalid_parameter              = 7
       undefind_error                 = 8
       double_conversion              = 9
       stepl_not_found                = 10
       OTHERS                         = 11
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    AT SELECTION-SCREEN OUTPUT.
      REFRESH: vrm_data.
      READ TABLE i_dynpfields WITH KEY fieldname = 'P_VAL'.
      IF i_dynpfields-fieldvalue = 'A'.
        wa_vrm-key = '1'.
        wa_vrm-text = 'Create'.
        APPEND wa_vrm TO vrm_data.
        wa_vrm-key = '2'.
        wa_vrm-text = 'Change'.
        APPEND wa_vrm TO vrm_data.
        wa_vrm-key = '3'.
        wa_vrm-text = 'Delete'.
        APPEND wa_vrm TO vrm_data.
      ELSEIF i_dynpfields-fieldvalue = 'B'.
        wa_vrm-key = '4'.
        wa_vrm-text = 'Copy'.
        APPEND wa_vrm TO vrm_data.
      ENDIF.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = 'P_OPT'
          values          = vrm_data
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
    U have press enter after giving value in the P_VAL.
    Regards,
    Prakash.

  • Passing Parameters through a URL to a Report..

    I have noticed a lot of message about similar situations where people have had problems sending certain parameters through a URL.. so this is maybe something that's not possible.. but you if you dont ask then you dont know.
    so..
    We have a form that has search options in it
    (its a customized form that replaces the customization bit that you get with a report -> .show_parms - just so we could do different things with it)
    and one of the fields is a combobox populated by an LOV
    - it has usernames in it
    so when you search using a value in the combobox it will show all the records that that person has entered into the table..
    however we are currently getting an error
    Error: An unexpected error occurred: ORA-06502: PL/SQL: numeric or value error (WWV-16016)
    this is the URL with the parameters
    http://portal.somewhere.com/pls/portal30/foldername.RPT_Edit_Request_Old.show?p_arg_names=Request.RID&p_arg_values='||nRID||'&p_arg_names=Request.CID&p_arg_values='||nCID||'&p_arg_names=Request.ATID&p_arg_values='||nATID||'&p_arg_names=Request.REQUEST_NAME&p_arg_values='||nREQNM||'%&p_arg_names=_request_rid_cond&p_arg_values=%3D&p_arg_names=_request_cid_cond&p_arg_values=%3D&p_arg_names=_request_atid_cond&p_arg_values=%3D&p_arg_names=_request_request_name_cond&p_arg_values=LIKE';
    when you remove the condition at the end
    the report is displayed (but not customized obviously)
    however you can see the value has been picked up from the combobox as it's in the URL in the address bar..
    so that bit works fine
    any thoughts/ideas/or even solutions! :) would be much appreciated
    thanks
    Richard

    actually
    nevermind
    i got it to work without even knowing :)
    the condition was causing the error
    and adding a % after the value makes it work

  • Passing Parameters in a URL

    Hi,
    Does anybody know how/if it's possible to pass parameters into a URL from LOV/comboboxes/tick-boxes etc...
    I know this is possible through External Applications for the username and password, but what if the user wants to select multiple departments of a given report?
    The idea being, that we are going to be passing parameters into Sales Analyser to fire off a specific report with given values.
    These values are restricted, depending on which user you are and your level of access to the portal. This URL will then be used to open an SA report with the details required.
    Thanks, Matt.

    Hi,
    You will have to encode your parameter value. The problem is because of the spaces in the value. Whenever there any special
    characters in the value it should be encoded.
    example
    select '<area shape="rect" coords="335,66,528,83" href="http://townland:7778/pls/portal30/PORTAL30.RPT_SUMKWH.show_parms?meter='||
    <portal_schema>.wwutl_htf.url_encode('PMS 11BBA01')||'">pams</a>' url
    from meters
    The above is just an example. Please change the names to suit your requirements.
    Thanks,
    Sharmila

  • BOXI 3.0 Selecting "parameters" when rescheduling returns error in InfoView

    All,
    Fresh installation of BOXI 3.0 and application of FP2. SQL Server Express 2005 BOXI database. Default TomCat web.
    Installation had no problems. Used the import wizard to import a couple of reports from previous BOXIR1 system.
    I go into InfoView and "schedule" a report. I set the parameters (static, from a combobox) etc... the report runs fine. I can open the report. Everything seems normal and functional to this point.
    Then I select the report again, and opt to "reschedule" from the list of actions. This opens the "Instance Title" screen as it should. However, when I then select "parameters" I get the following error :
    "An error has occurred: $Proxy4"
    This is our second installation of BOXI 3.0 - the first acted the same but resulted in a $Proxy5 error.
    What does this mean?
    Thanks!
    Rob

    ADAPT01113079
    In Infoview schedule the report to pdf format, and once it goes to success.
    Click on the reschedule option and then click on the parameter option.
    The error "An error has occurred:$Proxy4" will be thrown.
    Target Fix: XI 3.0 FP1
    Workaround: No
    There was a bug in 3.0 that was fixed in FP1 that seems to match your symptoms. You can try installing FP1. If that doesn't resolve then I'd suggest openinjg a message with support so they can verify your workflow.
    Regards,
    Tim

  • Input output parameters

    Hi, I don't know if this message should be posted in the Test Stand or LabView forum.
    I
    need to call a LabView VI from within TestStand which will update a
    station global upon exitting. How do I specify input parameters into my
    VI and return parameters out?
    I'm sure there must be documentaion somewhwre on how to do this and it must be fairly straight forward but I can't seem to be able to find it or figure it out.
    Solved!
    Go to Solution.

    Dennis Knutson wrote:
    There is documentation on this. Included with TestStand is the manual 'Using LabVIEW with TestStand'. It's even a printed manual though an electronic copy is also included. Try using Help>Guide to Documentation.
    When you add a LabVIEW step, In the step settings window, you will see something like the image below once you have picked the VI. To assign TestStand variables to the VI's inputs or outputs, click on the 'f(x) button and browse to your TestStand variable. For inputs, make sure you unselect the 'Default' box.
    Hi Dennis, thanks for your response. I do have quite a bit of Test
    Stand experience so calling a VI isn't an issue for me. However, I have
    very limited experience with LabView and am not sure how to specify
    input and return parameters to and from a VI i built. I've attached a
    screen shot of my current VI. I would like to pass in a refernece to an
    error container and return the platform selected from the combobox.
    Attachments:
    get_platform.PNG ‏52 KB

  • Swing best practice - private modifier vs. many parameters

    Dear Experts,
    I have a comboBox that has a customized editor and has KeyListener that responds to several keyPressed and keyTyped. The comboBox is used in two different JFrame, say JFrame frmA and JFrame frmB.
    Since the KeyListener changes the state of 8 other components in frmA, I have two options:
    Option 1:
    - Coding the comboBox in separate class and pass all components as parameters. I will have around 10 parameters, but the components can be made private to frmA or frmB.
    Option 2:
    - Coding the comboBox in separate class and pass the instance of the caller (frmA or frmB), so that the comboBox can change the state of the other components in frmA or frmB according to its caller. However, the components must not be private and should be able to be accessed by the comboBox class.
    My questions:
    1. I have not implemented option 2, so that I have not proved that it will work. Will it work?
    2. Which option will be more efficient and require less cpu time? If it is the same, which option is the best practice?
    3. Is there any other option that is better than these two options?
    Thanks for your advice,
    Patrick

    Option 2:
    - Coding the comboBox in separate class and pass the instance of the caller (frmA or frmB), so that the comboBox can change the state of the other components in frmA or frmB according to its caller. However, the components must not be private and should be able to be accessed by the comboBox class.
    My questions:
    1. I have not implemented option 2, so that I have not proved that it will work. Will it work?It doesn't stand in the long run. Doing so couples your specific ComboBox classes to all widgets that react to the ComboBox changes. If you happen to add a new button is either JFrame that should also be affected by the combo-box selection, you'll have to modify, and re-test, the ComboBox code. Moreover, if a new button was needed in one the JFrame but not the other, you'd have to introduce a special case in your combobox code.
    Instead of the ComboBox's listeners invoke methods on each piloted widget, have them invoke one method (+selectionChanged(...)+) on these widget's common parent (not necessarily a graphical container, but an object that has (maybe indirect) references to each of the dependant widgets).
    2. Which option will be more efficient and require less cpu time?I wouldn't mind.
    In the graphical layer of an application, and unless the graphcial representation performs computations on the bitmap, any action is normally much quicker than business logic computation. Any counter-example is likely to be a bug in the UI implementation (such as, not observing Swing's threading rules), or a severe flaw in the design 'such as, having a hierrachy of several hunderd JComponents,...). Swing widgets are pretty reactive to genuine calls such as setEnabled(), setBackground(), setText(),...
    If it is the same, which option is the best practice?Neither. Hardcoding relationships between widgets may be OK within a single, and single-purpose, form.
    But if you want to code a reusable component thoug, design it for reuse (that is, the less it knows about how which context it is used in, the more contexts it can be used in).
    In general, widgets that know each-other involve a quadratic number of references that accordingly impacts the code readability (and bug rate). This is the primary reason for introducing a Mediator pattern (of which my reply to 1 above is a degenerate form).
    3. Is there any other option that is better than these two options?Yes. Look into the [+Mediator+|http://en.wikipedia.org/wiki/Mediator_pattern] pattern (the Wikipedia page is not compelling, but you'll easily find lots of resources on the Web).

  • Strange behavoir of ComboBox

    First, sorry my english.
    I have master-detail form (Swing, ADF), both blocks including JTable.
    When row in first block changed second there is requery on second block by some WHERE condition.
    ComboBox (builder by wizard) on second block shows IDs instead of Names (in each row!) after requery occurs and only after double click on it (or pressing F2-Esc) it become shows Names.
    There is xml page def
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel" version="10.1.3.36.73" id="MeasureScaleMPanelPageDef" Package="forms.pageDefs">
      <parameters/>
      <executables>
        <iterator RangeSize="-1" Binds="AppModuleDataControl.IapMeasureTypesAndBase1" DataControl="AppModuleDataControl" id="IapMeasureTypesAndBase1Iter"/>
        <iterator id="IapScaleFactorsView1Iter" RangeSize="10" Binds="IapScaleFactorsView1" DataControl="AppModuleDataControl">
          <sortCriteria>
            <sort attribute="Name" ascending="true"/>
          </sortCriteria>
        </iterator>
        <iterator id="IapMeasureUnitsView1Iter" RangeSize="10" Binds="IapMeasureUnitsView1" DataControl="AppModuleDataControl">
          <sortCriteria>
            <sort attribute="Name" ascending="true"/>
          </sortCriteria>
        </iterator>
      </executables>
      <bindings>
        <table ColumnSort="entireCollection" id="IapMeasureTypesAndBase1" IterBinding="IapMeasureTypesAndBase1Iter" xmlns="http://xmlns.oracle.com/adfm/jcuimodel">
          <AttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
            <Item Value="MutCode"/>
            <Item Value="MutName"/>
            <Item Value="MuName"/>
          </AttrNames>
        </table>
        <table ColumnSort="entireCollection" id="IapScaleFactorsView1" IterBinding="IapScaleFactorsView1Iter" xmlns="http://xmlns.oracle.com/adfm/jcuimodel">
          <AttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
            <Item Value="MeutId"/>
            <Item Value="Scale"/>
          </AttrNames>
          <AttrProp name="MeutId">
            <EditorDef RTClass="oracle.jbo.uicli.jui.JULOVEditorPropDef" DTClass="oracle.adf.dt.objects.jui.JUDTLOVEditorProp" Name="ComboBox" binding="meutList"/>
          </AttrProp>
        </table>
        <combobox id="meutList" xmlns="http://xmlns.oracle.com/adfm/jcuimodel" StaticList="false" ListOperMode="0" IterBinding="IapScaleFactorsView1Iter" ListIter="IapMeasureUnitsView1Iter">
          <AttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
            <Item Value="MeutId"/>
          </AttrNames>
          <ListAttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
            <Item Value="Id"/>
          </ListAttrNames>
          <ListDisplayAttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
            <Item Value="Name"/>
          </ListDisplayAttrNames>
        </combobox>
      </bindings>
    </pageDefinition>

    Hi,
    I just repeated
    "I have master-detail form (Swing, ADF), both blocks including JTable. When row in first block changed second there is requery on second block by some WHERE condition. ComboBox (builder by wizard) on second block shows IDs instead of Names (in each row!) after requery occurs and only after double click on it (or pressing F2-Esc) it become shows Names."
    based on the HR demo schema (using Departments with a comboboc for locations and Employees with a combobox for departmentId) and it works for me. Can you try and reproduce this issue based on the HR schema ?
    Frank

  • Combobox parameter promting in the web viewer

    Hi all
    I'm new to Crystal Report, and I'm developing a web application to share and view Crystal reports. I'm using the eclipse plug-in for that.
    In some of the reports I want to share, there are parameters that are prompted with a combobox when I use Crystal Reports to view them, but When I use the web viewer, there is no combobox, only a simple field.
    Is there any special parameter to add in my web viewer code to allow combobox prompting in the web viewer ?
    Any help would by appreciated

    I tried this out and it seems to work for me.  With a blank report, I added a simple string parameter field, and provided a default value list.  When viewing in the web viewer, I was prompted for the parameter field and it gave me a combobox with my list of default values.
    If this is different from your scenario, can you provide more details about how the parameter field is created?
    Also, when you say you use the Crystal Reports to view them, do you mean the standalone CR designer, or are you simply using the Preview tab found in the Eclipse report designer? 
    -MJ

  • Autocomplete to Combobox, where is the LOV...

    Apologies for the title of the post...
    I am hoping I am just missing some minor item, and a push in the right direction will get me working again.
    A few years back, most likely under Apex 4.0, I started using Jquery - Autocomplete for looking up employee names, hostnames, etc. This used some Javascript that someone had posted (don't recall who), and it worked pretty well. I would add a stanza like this to the page def (to be run after the page loads). The X02 passed some extra info to the on demand procedure to help with the search.
    $("#P28_REQUESTOR").autocomplete('APEX', {
                    apexProcess: 'PERSON_SEARCH_ACTIVE',
                    width: 600, multiple: false,
                    x02: 'Hostmaster:Owner Ok',
                    minChars: 3, selectFirst: false,
                    formatItem: function(row, i, max, term) {
                            if  ( row[1] > 0 )
                                return row[0]+" "+row[2]+" "+row[3];
                             return row[0]},
                    max: 100,
                    cacheLength: 1
       $("#P28_REQUESTOR").result(function(event, data, formatted) {
             $("#P28_REQUESTOR_ID").val(data[1]); });The Person Seach Active on demand procedure was something like: (Note - some details have been left out to give a better example - in the end, it doesn't matter at all)
    declare
       target_name  varchar2(255);
       scope_id    varchar2(16);
    BEGIN
       OWA_UTIL.mime_header ('text/html', FALSE);
       HTP.p ('Cache-Control: no-cache');
       HTP.p ('Pragma: no-cache');
       OWA_UTIL.http_header_close;
       target_name :=  wwv_flow.g_x01;
       scope_id := wwv_flow.g_x02;
       Simon.Apex_People_Select.Trace('On Demand called for ' ||Target_Name || '/' || scope_id);
       FOR c IN (SELECT search_name,display_name,result_id
                   from table
                 (Simon.HM_Network_Maint.search_network(scope_id, Target_Name)))   
       LOOP
             HTP.p(c.search_name ||
                   '|' || c.result_id ||
                   '|' || c.display_name );
       END LOOP;
    END;The g_x01 value is what the user is typing into the text box - once they hit three characters, it gets sent to Oracle for processing via the on demand procedure. The g_x02 (and 03, 04,..) are additional parameters - perhaps from a parent LOV. General concept with the returned data is the first element is the text to be searched, the second is the actual value (typically an integer - primary key), and the third value is what ends up in the text box once a value is selected (the searching value often has additional identifying info.)
    This approach worked pretty well, although it did not play well with cascading LOVs. But once I upgraded to Apex 4.2, I started hitting other issues with jQuery version differences, and some odd failures. To make matters worse, the original developer of the Javascript module, abandoned it - was not doing additional work with it.
    Combobox
    I did NOT want to re-invent the wheel, and it seemed to be a much better approach to move into PlugIn world - ideally using a plugin that someone ELSE wrote and was maintaining. I looked at the LOV Friendly Autocomplete plug in - and even installed it a few places - and discovered that it did not play well with my earlier autocomplete code.
    My concern with using the LOV Friendly Autocomplete - is that I didn't know how to provide any of the "Target Name" search info to the LOV (since that is what is being typed by the user at the time).
    I also started looking at the Combobox plug in - which seemed even closer with Lazy Loading=Yes (I also liked the ability to add new items on the fly) - but I was not sure how to provide the "Target Name" info the the Pipelined function that generates the list of values.
    I want to get rid of all of my old Autocomplete javascript and move to one (or more) plugins - (Which is why the details above don't matter, just trying to provide some background)
    Is this a good direction (Combobox or LOVFA)? How/Where do I connect my search (lov generation)?
    Edited by: Jon Finke on Jan 9, 2013 5:52 PM

    I've found the LOV (list of values from Forms) but I've
    notice that the search functionality is missing.
    (I'm talking about the "drop as " button LOV option on a form in JClient for ADF from "Data Control Palette"
    Best regards,
    Lucian

Maybe you are looking for