Can we assign OTR to drop down list?

Hi, All:
In Webdyn Pro, Can we use Text element or can we assign OTR to drop down list text field.
for example:
wa_value_set-text  = $OTR:ZPACKAGE/TEST_MSG
thanks,

STEP 1 GET THE OTR TEXTS:
<b>
As described in previous answer...
CALL METHOD CL_BSP_RUNTIME=>GET_OTR_TEXT
      EXPORTING
        ALIAS = 'OTR_Package/OTR_Elemet'
      RECEIVING
        TEXT  = wa_value_set-text .
</b>
Step 2 Update Node attribute info with the set of
<b>
Update the meta data info behind the COntext Node attribute that is to have the
drop down list.
GET NODE from WD_CONTEXT.  (use wizard)
Then call GET_NODE_INFO to get the reference to the meta.
Then ADD  your values,  whatever they are from STEP 1 to the ATTRIBUTE 
of the node. Using SET_ATTRIBUTE_VALUE_SET method.
</b>
Seems a strange thing to do.
May I ask why the OTR is to be the source of drop down lists ?
regards
Phil.

Similar Messages

  • Assigning Values to Drop-Down Lists

    I am populating a drop-down list with values of vendor names from my Oracle table. However, I'm assigning the vendor name as the value for each <option> record displayed in the drop-down list. The problem I'm having is that when I select a vendor name from the drop-down list and I view to see which value was selected, I only see a partial vendor name, rather than the full name. For example, If the vendor name that is selected is "Jacks Welding", when I retrieve that selection in my JSP page, the value only comes up as "Jacks" not "Jacks Welding". I want the option value to be the vendor name, not the vendor ID. How can I retrieve the full name from the drop-down list? Below is my code for populating the vendor names.
    <select name="vendor">
         <option></option>
    <%
    queryvendor = "Select Name from AJM.Vendor ORDER BY Name";
    Statement st = conn.createStatement();
         ResultSet rs = st.executeQuery(queryvendor);
         while (rs.next()) {
              out.println( "<option value=" + rs.getString("Name") + ">" + rs.getString("Name") + "</optioN>");
         st.close();
         rs.close();
    %>
    </select>

    Have a look at the HTML your code is producing. (Hint: your browser allows you to display the HTML source of a page.) You are producing this:
    <option value=Jacks Welding>Jacks Welding</optioN>
    This is sloppy HTML, but browsers will do their best with it. Try producing this instead:
    <option value="Jacks Welding">Jacks Welding</option>

  • How can I make a bound drop-down list using OAF?

    Please note, this is for OAF. I am aware of the support in ADF.
    I'm sorry this is such a basic question, but I've been trying for days, and I can't think of anywhere else to look for an answer.
    I need a simple drop-down list, not a search. This particular list only has 10 or so items. It is based on a view containing a code value, and a description. I need all descriptions to be available at all times. Just click the arrow, and the entire list is displayed. When the user selects an entry, the code associated with the discription populates a bound attribute. Ideally, when the page is instantiated, the code value controls the text value visible in the collapsed drop-down list. Visually, it would be similar to an html <select> element.
    Can someone please tell me how I can produce such a simple thing, or point me to some documentation?
    Thank you.

    Thank you for the excellent reference Peddi. I had played with the OAMessageChoiceBean component yesterday, but I was able to tell from your instructions that "Picklist Display Attribute" and "Picklist Value Attribute" really are not for binding to the database EO. That was the key piece of information that had me confused.
    In addition to adding the messageChoice component to the page, I needed to write some code to synchronize the picklist value with the corresponding code value, which I placed in am OAFormValueBean (hidden form field) which I could then bind to my application's database EO in the controller, running in the processFormRequest procedure:
    /** Synchronize the catalog code with the selected catalog name */
    protected void syncCatalogValues(OAPageContext pageContext,
    OAWebBean webBean, MyApplicationAMImpl am) {   
    OAMessageChoiceBean mcb =
    (OAMessageChoiceBean) webBean.findChildRecursive("CatalogName");
    OAFormValueBean cc =
    (OAFormValueBean) webBean.findChildRecursive("CatalogCode");
    String catalogDescription = mcb.getText(pageContext);
    if (catalogDescription != null) {
    String catalogCode = am.getCatalogCode(catalogDescription);
    cc.setValue(pageContext, catalogCode);
    Along with a little code to get the catalogCode value from the LOVVO, that's all it took.
    Thanks again. This was a great help.
    Pete

  • Can't set InfoPath 2010 Drop Down List field with C#

    Hi Guys,
    Here I go again, last time it was a date field, this time it is a drop down list. The applications does this: When the user comes into the form, they have the option of creating a new form via a hyperlink button on the top of the page, this button creates
    a new IP Page of the same exact type of page that it is coming from. The issue I am having is that one of my fields called ddlStatus isn't coming up correctly in the copied form, not sure why? If anyone can help I would be eternally grateful. Here is a copy
    of my code:
    if (e.InputParameters !=
    null)
                                System.Text.
    StringBuilder status =
    new System.Text.StringBuilder();
    string ddlStatus =
    string.Empty;
    if (e.InputParameters.TryGetValue("ddlStatus",
    out ddlStatus))
                                    status.AppendLine(ddlStatus);
                                    nav.SelectSingleNode(
    "/my:myFields/my:secInfo/my:ddlStatus", NamespaceManager).SetValue(status.ToString());
    Best regards, Mike

    Well, ok, so I set my code as such:
       addStatus()                    
    if (e.InputParameters !=
    null)
                               System.Text.
    StringBuilder status =
    new System.Text.StringBuilder();
    string ddlStatus =
    string.Empty;
    if (e.InputParameters.TryGetValue("ddlStatus",
    out ddlStatus))
    XPathNavigator nav1 = MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my:secInfo/my:Group",
    NamespaceManager);
                                    nav1.SelectSingleNode(
    "/my:myFields/my:secInfo/my:Group/my:DisplayName",
    NamespaceManager).SetValue(status.ToString());
                                    nav1.SelectSingleNode(
    "/my:myFields/my:secInfo/my:Group/my:Value",
    this.NamespaceManager).SetValue(status.ToString());
    and I also created a new method called addStatus() which looks like this:
    public
    void addStatus()
    try
    SPSite site =
    new
    SPSite(http://MyTestBox);
    SPWeb web = site.OpenWeb();
    SPList list = web.Lists["Status"];
    SPListItemCollection listitems = list.Items;
    XPathNavigator nav =
    this.CreateNavigator().
                        SelectSingleNode(
    "/my:myFields/my:secInfo/my:Group",
    this.NamespaceManager);//
    Note: "/my:myFields/my:Countries" => Group Countries
    foreach (SPListItem
    li in listitems)
    XPathNavigator newNode =
    null;
                        newNode = nav.Clone();
                        newNode.SelectSingleNode(
    "/my:myFields/my:secInfo/my:Group/my:DisplayName",this.NamespaceManager).SetValue(li["Title"].ToString());
                        newNode.SelectSingleNode(
    "/my:myFields/my:secInfo/my:Group/my:Value",this.NamespaceManager).SetValue(li["Title"].ToString());
                        nav.InsertAfter(newNode);
                        newNode =
    null;
                    nav.DeleteSelf();
                    nav =
    null;
    catch
    but it still isn't working??
    Best regards, Mike

  • How can I add categories to drop-down lists or check-boxes?

    hello can I use sub categories or group items by labels when using drop-down lists or check-boxes?

    You can't include sub-menus in a drop-down. What is possible, though, is to populate another drop-down based on the selection made in the first one, or use a pop-up menu. Both things require a script, though.

  • How can I put JTree into drop-down List of JCombobox

    I want to create a drop-down list which shows a list of nodes. When the user clicks on a node, it should open to show the leafs. Clicking on a leaf should close the ComboboxPopup and show its value. Creating a renderer only represent my tree, but I can't trap the events.
    Here is my simplified code.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.JTree;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.border.*;
    import java.util.*;
    public class ComboBoxTreeDemo  extends JPanel
         static JFrame frame;
         ComboBoxRenderer renderer;
         JTree tree;
         public ComboBoxTreeDemo()
              setLayout(new BoxLayout(this, BoxLayout.PAGE_AXIS));
              DefaultMutableTreeNode root =  new DefaultMutableTreeNode("top");
              DefaultMutableTreeNode sub1 =  new DefaultMutableTreeNode("sub1");
              DefaultMutableTreeNode sub2 =  new DefaultMutableTreeNode("sub2");
              root.add(sub1);
              root.add(sub2);
              tree = new JTree(root);
              String[] string = {"1" };
              JComboBox jcb = new JComboBox(string);
              renderer = new ComboBoxRenderer(this);
              jcb.setPreferredSize(new Dimension(100,22));
              jcb.setEditable(true);
              jcb.setRenderer(renderer);
              JPanel jpa = new JPanel();
              jpa.setLayout(new BoxLayout(jpa, BoxLayout.PAGE_AXIS));
              jpa.setAlignmentX(Component.LEFT_ALIGNMENT);
              jpa.add(jcb);
              add(jpa);
              setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
         private static void createAndShowGUI()
              JFrame.setDefaultLookAndFeelDecorated(true);
              JFrame frame = new JFrame("ComboBoxTreeDemo");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JComponent newContentPane = new ComboBoxTreeDemo();
              newContentPane.setOpaque(true);
              frame.setContentPane(newContentPane);
              frame.pack();
              frame.setVisible(true);
          class ComboBoxRenderer extends JPanel implements ListCellRenderer
              ComboBoxTreeDemo cbt;
              public ComboBoxRenderer(ComboBoxTreeDemo cbt)
                   this.cbt = cbt;
                   setLayout(new BorderLayout());
                   add(cbt.tree);
              public Component getListCellRendererComponent(JList list,Object value,int index, boolean isSelected,boolean cellHasFocus)
                   return this;
         public static void main(String[] args)
              javax.swing.SwingUtilities.invokeLater(new Runnable()
                   public void run()
                        createAndShowGUI();
    }

    Thank you for the excellent reference Peddi. I had played with the OAMessageChoiceBean component yesterday, but I was able to tell from your instructions that "Picklist Display Attribute" and "Picklist Value Attribute" really are not for binding to the database EO. That was the key piece of information that had me confused.
    In addition to adding the messageChoice component to the page, I needed to write some code to synchronize the picklist value with the corresponding code value, which I placed in am OAFormValueBean (hidden form field) which I could then bind to my application's database EO in the controller, running in the processFormRequest procedure:
    /** Synchronize the catalog code with the selected catalog name */
    protected void syncCatalogValues(OAPageContext pageContext,
    OAWebBean webBean, MyApplicationAMImpl am) {   
    OAMessageChoiceBean mcb =
    (OAMessageChoiceBean) webBean.findChildRecursive("CatalogName");
    OAFormValueBean cc =
    (OAFormValueBean) webBean.findChildRecursive("CatalogCode");
    String catalogDescription = mcb.getText(pageContext);
    if (catalogDescription != null) {
    String catalogCode = am.getCatalogCode(catalogDescription);
    cc.setValue(pageContext, catalogCode);
    Along with a little code to get the catalogCode value from the LOVVO, that's all it took.
    Thanks again. This was a great help.
    Pete

  • Sugar CRM issues: can't create or edit drop-down lists

    ''locking as a duplicate - https://support.mozilla.com/en-US/questions/822646''
    Sugar CRM CE 6.2.0 will not let me add drop down boxes in Firefox. Yes I've cleared the cache. Yes I can do what I need in IE8. Yes the server permissions have been checked by the web host.
    IE8 was partially faulty but works since the host reset my permissions.
    Initally I got this errror:
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; Tablet PC 2.0; .NET4.0C; InfoPath.3)
    Timestamp: Mon, 16 May 2011 05:51:03 UTC
    Message: 'inputsWithErrors[...].style' is null or not an object
    Line: 1
    Char: 1
    Code: 0
    URI: http://www.[hostname].com/beta3/index.php?module=ModuleBuilder&action=index&type=dropdowns
    Message: 'inputsWithErrors[...].style' is null or not an object
    Line: 1
    Char: 1
    Code: 0
    URI: http://www.[hostname].com/beta3/index.php?module=ModuleBuilder&action=index&type=dropdowns
    Can anyone suggest a fix for FF so I can stop using horrible IE?
    Thanks in advance,
    Jo

    Just look a little lower on the left-hand side. It's under the "Links" category, just below "customer ratings" and "more from..."

  • How can I get my Bookmark drop down list back?

    I had to clear and restore my Macbook Pro and when I installed Firefox the drop down Bookmark menu is gone. I have the same version of Firefox on two computers and one has the drop down menu and this one doesn't. How do I get it back?

    Do you mean the star on the location/address bar to bookmark the current page?
    You can try to click the Restore Defaults button in the Customize palette.
    Make sure that toolbars like the "Bookmarks Toolbar" are visible.
    *"3-bar" Firefox menu button > Customize > Show/Hide Toolbars
    *View > Toolbars<br>Tap the Alt key or press F10 to show the Menu Bar
    *Right-click empty toolbar area
    Open the Customize window and set which toolbar items to display.
    *"3-bar" Firefox menu button > Customize
    *check that "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    *if "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the Customize palette into the Customize window to the Bookmarks Toolbar
    *if missing items are in the Customize palette then drag them back from the Customize window on the toolbar
    *if you do not see an item on a toolbar and in the Customize palette then click the Restore Defaults button to restore the default toolbar setup
    *https://support.mozilla.org/kb/customize-firefox-controls-buttons-and-toolbars

  • The microsoft on-screen keyboard doesn't work with firefox. I try to enter type and it jumps around the page. I can't select anything on drop down lists.

    I tend to use the on-screen keyboard. For about two months I've been unable to type text in firefox. I can't use dropdown boxes. I have to text to notepad then copy and paste it. I realize this is hardly a critical issue but I've loved using firefox for years and am considering going to another browser if I can't resolve this.

    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]'''''
    <BR>While you are in safe mode;<BR>
    '''''Firefox Options > Advanced > General'''''.<BR>
    Look for and turn off '''Use Hardware Acceleration'''.
    Restart FF. If there is still a problem, check '''caret browsing''' <F7>.
    It might have been turned on.

  • How can I select from drop-down list and jumping to selected subform?

    I using LC Designer ES2 vers 9. Developing XDP. How can I Select from a drop-down list the appropriate selected subform (jumping to the selected subform on the page)?
    drop-down list...A (jump to subform1)
                             B (jump to subform2)
                             C (jump to subform3)
    subform1
    subform2
    subform3
    ....end of form

    Hi,
    you cannot set focus on a subform but on a field, as only interactive objects can be focussed.
    From a dropdowns exit event the script will look this way:
    switch (this.rawValue) {
              case "A" : xfa.host.setFocus("form1.page2.field1"); break;
              case "B" : xfa.host.setFocus("form1.page2.field1"); break;

  • Advanced Drop Down List greyed out

    I believe that the h1, h2 heading tags should be available under the advanced drop down list. When I try to edit a page and place a h1 tag I can't because the Advanced drop down list is greyed out and I can't use ti.

    Hello lfrith,
    Please post the URL for the site you're working with. I'll take a look at the source and styling options applied to the region. Is the Advanced menu grayed out when trying to edit all edtiable regions in your page? Did it ever work with your page?
    Best regards,
    Corey

  • Simple drop down list

    I just need to display a typical drop down list with values "A", "B", and "C". When I do this with a ComboBox there is a description needed, which I do not have/want to display. How can I create this simple drop down list?

    You may use A B C for the values and descriptions. I think everyone uses this solution.
    Well, everyone, but SBO itself! There are normal drop down lists all over the place (e.g. look at the Activity form).
    Seems like I have to live with those limitations, only I don't understand them. Maybe someone can explain this?
    Still, the question is answered, thank you very much for helping.

  • Tables and Drop Down Lists

    This is my first time using LiveCycle Designer (8.2)
    I've tackled quite a few things thanks to the information I've found in these forums, but I have reached my complexity limit.
    I am trying to create a survey form that follows a process map with sub-process maps.
    Just to provide an idea of magnitude, one process map has eleven sub-process maps.
    I created a dynamic table with the ability to add and delete rows on a flowed page.
    The first row first column contains a drop down list.
    For each selection in the drop down list, the form requires eight inputs.
    Currently, I just copied the dynamic table for each subprocess.
    Each sub process map will have a running calculated total based on two inputs and a cost based on input.
    The overall process map will have the same.
    The entire section should seperatly show a sum total.
    I don't really know what would be best, but was thinking something along these lines:
    based on the selection in the drop-down-list, if someone selects one of the sub-process maps
    the row changes to allow the drop-down-list to be the one associated with that subprocess and
    the two running totals show up and remain at the bottom of the table.
    Only problem, is I have no idea how to do this.
    I have tried making the tables invisible, but they still show the input areas of the input boxes.
    Anyone feel like helping me figure this out?
    Also, isn't there a way I can populate a drop down list using EXCEL?  I don't want to manually input thousands of process titles.
    Oh, I don't have any XML capabilities, I am not connected to a server or any database, and everything runs at the client.

    Thanks for the input, I will watch the video.
    I was suprised that no one offered up any suggestions.
    I changed the design of the form.  I didn't want to, but I was able to get the product out on time.
    Just out of curiousity,
    Can I have a dynamic drop down list (A = {a1, a2, a3, a4}) that populates another drop down list (B = {b1, b2, b3, b4, b5} ) in table (Tb1) with one of the choices in the second drop down list (B = {b5}) is a dynamic choice that makes multiple expanding tables (Tc2, Te4, Tf5 out of a total of seven tables) appear each with their own (unique) drop down list?
    Or,
    Would it be easier to have the first choice (i'm probably using this word incorrectly) "index" the options for the other drop down lists, etc....

  • Hide Dashboard from the Drop Down list - OBIEE 11.1.1.6.2 BP1

    Hi,
    We have got an Index page, which contains links to all Dashboard the user is allowed to see and it is the home page for every user. Apart from that user's can select Dashboard from the drop down list. Is it possible to hide some of the dashboards from the drop down list but still users should continue accessing them from Index page?
    Thanks in advance.

    Hi,
    For showing the Dashboards as a drop down list I believe you are using HTML code. If so edit the HTML to remove the dashboards you do not want to see in the drop down.
    If the drop down is because of excessive pages shown on the dashboard then under the dashboard properties you can select the hide option for the dashboard. So by default the dashboard page would not show up and the index links would show.
    Let me know if this helped.
    Regards,
    Jay

  • Value need to select from the drop down list & should be save under Variant

    Hi,
    My requirement is that i need to display two values in drop down list of a selection screen. Between two values , one value will be display as a default value. During program execution user can choose any value from drop down list as per requirement and
    he can save this in a Variant.
    Next time if he choose data from Variant, but still he will be able to select any value from drop down list.
    For that i am using FM VRM_SET_VALUES. How can i make the changes to meet my requirement using this function module or any other suggestions will be highly appreciated.
    Thanks & Regards,
    Tutun
    Edited by: tutun nandy on Nov 19, 2010 12:21 PM

    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/
    *https://support.mozilla.org/kb/how-do-i-upgrade-my-graphics-drivers
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • How to capture data in a field from a table then insert them it to a destination table

    Environment: SQL Server 2008 R2 Introduction: I have three tables. one is staging, the other child, the last one is parent. Both parent and child table have referential integrity (exam_id) .  The definition of the child table is  CREATE TABLE [dbo].c

  • ITouch won't connect via Bluetooth

    The iPod is paired. I went through the pairing sequence on my Mac. My Mac sees the iPod, and wants to pair. It asks to confirm the code, which does come up on my iPod. I click "pair" on my iPod, and "continue" on my iMac, and teh iMac reports a succe

  • Switching Headphones

    Hi, I'm another one of those people who has trouble with the headphones falling out - I have another pair that I would prefer to use, however when inserted into the jack no sound comes out - I'm wondering if it's because it's a black jack, while the

  • Request help on Oracle Applications InterConnect  Downloads

    Hi ! Recently I have attended the seminar conducted by Oracle in Hyderabd,there they given Oracle Applications InterConnect using iStudio.Where we have to get this Oracle Applications InterConnect software.for this server any sever sholud need ? Kind

  • CUP and ERM work flow error

    Hi Friends, When I am changing a role and triggering in the work flow for approval  it is showing following error 2010-05-11 09:09:28,251 [SAPEngine_Application_Thread[impl:3]_32] ERROR  User :   not found to get full name 2010-05-11 09:09:47,607 [SA