Displaying user selection from drop down list in static text on master page

Hello,
I am using LC 7.0 at workk and I have hit a road block.
I have a drop down list at the top of the form. Once the user makes a selection, I want to take that value and paste it in static text located on the master page. I can't seem to get it to work.
Please help!!!

Hi,
Place the Drop Down list on form
Place text object(s) on master page
here is the script to display the value and/or text of drop down
Script will be on Drop Down list events
Calculate event to display value of DD - FormCalc
form1.pageSet.Page1.StaticText1.rawValue = this.rawValue;
Change event to display Text of DD - JavaScript
form1.pageSet.Page1.StaticText2.rawValue = xfa.event.newText;
SAVE the form as dynamic pdf.
Hope this will help.
Thanks,
Raghu.

Similar Messages

  • Web UI - Value not getting selected from drop down list  .

    Hi  All ,
        I am facing a problem in one of the fields which is enhanced with a drop down functionality .
      I have created the GET_V_** method and also the GET_P_**  method for the same .And finally I am able to see the values in the drop down list . But the problem is , when I am trying to select a value from the drop down no values are selected .
    Can anyone plese help me in this as What has to be  done .
    I have taken references from few guides but I am not getting any clear idea of what has to be done .
    Regards,
    Ranjita

    Hi Ranjita,
                     To trigger a round trip, you must have given the event name in GET_P method.
    Same event handler would trigger.
      Please put a break point in Event Handler in IMPL class, and in SET_attr method of the attribute in CN class and see if value is getting set properly or not. Final value that would be displayed on UI would be there in GET_attr method of CN class.
      I hope it helps.
    Thanks,
    Rohit

  • 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;

  • How can i set the values to text box by selecting from drop down list.

    hi ,
    i am using struts and jsps. i have a dropdown list of names(getting the values of names from database), i want to get address and phone number of that selected one.how can i get that?

    Hi swarupa,
    Well My advice in this senario wud Be
    Either U can make Use of XmlHttp Object through javascript(AJAX way).
    Or U need to Maintain the State of the entire form and then refresh the page to get those results....
    just for U r reference i am attaching a link which was programmed using ASP @ server side and which made use of XmlHttp Object.....
    http://www.w3schools.com/ajax/ajax_database.asp
    Just try to simulate the samething in your own way....
    REGARDS,
    RAHUL

  • Displaying value only in Drop Down List

    Greetings,
    I have a drop down list with value:text as follows:
    01:Daylight
    02:Dusk
    03:Dawn
    04:Night
    I would like to present the user who clicks on the drop down list with all of the literal text options (daylight, night, etc), but once selected, the object populate and print only the value (01, 02, etc).
    I thought about resizing the object when the user clicks on it, and then resizing it back once selected, but this seems rather cumbersome.  Space on the printed form is very limited, which is why the value/codes are used to represent the actual literal options.
    Any methods or ideas would be greatly welcome
    Thanks!
    Brad

    Here is a sample that shows what I think you want. I have a TextField that is displayed. When the user enters the field, I hide this field and make a DDlist available to the user. This DDList is placed behind the TextField and is hidden (not part of the layout) until the user enters the TextField. I also hide the TextField (this code is on the Enter event of the TextField). Now that the DDlist is visible you can set up a DDList to display one thing but report another. This is what I did (look at the binding tab of the DDList). Now when the user selects an item from the DDList the TextField is updated, the DDList is hidden and the TextField is made visisble, then the cursor is placed in the next field. This code is on the Exit event of the DDList.
    Is this what you were trying to accomplish?
    Paul

  • The portlet name is not displayed in the portlet drop down list ?

    Hi,
    I use Sun Java System Portal Server 6 2005Q4 for windows 2000 server , use the following command to deployo portlet,
    I am not sure if I successfully deploy the portlet?
    pdeploy deploy -u amAdmin -w amadmin -p amadmin -d "cn=amldapuser,ou=DSAME Users,dc=icheng,dc=com" C:\Sun\PortalServer\tmp\portlet\portletsamples.war
    The message I got after execute the pdeploy command is =>
    Deploys the portlet war file and inserts the provider into display profile..
    OPTIONS
    --help Help message (false)
    -u --runasdn UID Bind DN (none)
    -w --password Password (none)
    -p --wc_password Password for WebContainer's Admin (none)
    -i --instance WebContainer's Instance into which the war file is to be deploye
    d (*)
    -d --dn LDAP DN of the target node (*)
    -g --global Global display profile (false)
    -r --rolesfile File containing the DSAME and portlet role mapping (*)
    -f --userinfofile File containing the user info mapping (*)
    -v --verbose Generate debug messages (false)
    -V --version Generate version information (false)
    -l --locale Locale information (en_US)
    OPERAND
    Specifies a path to the war location.
    Deploying to IWS
    Is this mean that successfully deploy the portlet ?
    After I deploy the portlet, I login to Access Manager, select the "service" from view, click the portal desktop,
    click "Manage Channels and Containers", click the "New Portlet Channel...", then click the portlet drop down list,
    the portlet name is not displayed in the portlet list.
    How can I make the portlet name displayed in the portlet drop down list ?
    Can someone help me ?
    Thanks!

    Hi
    According to your description, since this is SQL Server forum, as Olaf Helper’s post, could you get the correct result if you execute the following query in SQL Server Manager Studio (SSMS)?
    select UserName from aspnet_Users where UserId in(select FreindId from myFreinds where UserId in(select UserId from aspnet_Users where UserName = '<your typed name>'))
    If you cannot get the correct result in SSMS, I recommend to check the Transact-SQL statement. Apart from the error message, we also need to know the table structure, data, join relationships between tables for further analysis.
    However if there is no problem in SQL Server query, it will be an issue that regards ASP.NET and website deployment. I suggest you to post the question in the ASP.NET forums at
    http://forums.asp.net/ . It is appropriate and more experts will assist you.
    In addition, there is detail about listbox control in asp.net. You can review the following links:
    How to Bind/Load/Fill ListBox with Sql Server Database in asp.net:http://www.webcodeexpert.com/2013/07/how-to-bindloadfill-listbox-with-sql.html#.U5f75_6KCM9
    How to get multiple selected value in ListBox control - ASP.NET using C#:
    http://www.dotnetfox.com/articles/how-to-get-multiple-selected-value-in-listbox-control-Asp-Net-using-C-Sharp-1047.aspx
    Thanks
    Lydia Zhang

  • Unable to capture data from drop down list in custom added field in migo tcode at item level

    Hi guys,
    need bit help in resolving query related to custom added field in Tcode migo.
    i have added a field in migo at item level ,in this i have used drop down list
    to get data but unable to capture data from drop down list.gown through
    many blogs in scn but unable to resolve.
    Please help me out in this.
    Thanks,
    Umakant.

    Hi,
    U can use following code to fill the list box
    write this code in PBO
    In layout editor please select listbox in dropdown attribute of input field and put some fctcode attribute
    TYPE-POOLS vrm.
      DATA values TYPE vrm_values WITH HEADER LINE.
      TABLES: <ur custom Database table>.
      clear values, values[].
      SELECT * FROM <ur custom Database table>.
        values-text = <TABLE FIELD TO DISPLAY IN DROPDOWN> .
        values-key = <TABLE KEY FIELD TO DISPLAY IN DROPDOWN>.
        APPEND values.
      ENDSELECT.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = '<SCREEN INPUT FIELD NAME>'
          values          = values[]
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
    Also please define the following before accessing the listbox value
    data: <listbox input field name> type <table field name>,
            <inputfield name where text to display> type string  in top include
    In PAI, select the text from the table into <inputfield name where text to display>  depending on value selected which will be called when enter key is pressed or any vale is selected

  • How to populate data from dynamic drop down list to the text field

    Hi,
    I tried to populate data from dynamic drop down list to city field. I would like to concat data from drop down list.When selecting add button to add the item and select item from drop down list, data should be displayed in the text field. However, Please help. I spent alot of time to make it works I am not successful.
    Please see the link below.
    https://acrobat.com/#d=SCPS0eVi6yz13ENV0cnUdw
    Thanks for your help
    Cindy

    Hi Rosalin,
    Loop the hidden table, get the values and populate drop down in each iteration.
    DropDownList1.addItem("Text","Value");
    You can use one more solution for this scenario. If it is a matter of 2,3 dropdowns, put three dropDowns in the form layout and give seperate static data binding to them. At run time make the dropDowns hide/visible as per the requirement.
    Hope this helps.
    Thanks & Regards,
    Sanoosh

  • Multiple selection from drop down : NWDS7.0 SPS18

    Hi Team,
    How can achieve multiple selection from drop down? I am working on NWDS7.0 SPS18. I have known the concept of item list box... is that's the only option?.
    Is it possible to make it as filter option that we have in our Microsoft excel.
    Customer wants select either/all options @once from drop down.
    TIA,
    Vanita K

    Hi,
    Create a node with cardinality 0-n and selection property set to 0-n
    Create a table UI element and bind this node as a datasource to this table.
    Set the selection mode  property of this table as auto or multi
    Once this is done, populate the node with some data elements.
    When you run the application, you will be able to select multiple rows from the table.
    To get the selected rows, use below code on the action of some button
         wdComponentAPI.getMessageManager().reportSuccess("Selected rows are");
         int n = wdContext.nodeEmployeeData().size();//size of node binded with table
         int leadSelected = wdContext.nodeEmployeeData().getLeadSelection();
         for (int i = n - 1; i >= 0; --i)
              if (wdContext.nodeEmployeeData().isMultiSelected(i) || leadSelected == i )
                   IEmployeeDataElement employeeDataElement = wdContext.nodeEmployeeData().getEmployeeDataElementAt(i);
                   wdComponentAPI.getMessageManager().reportSuccess("ID: "+employeeDataElement.getID()+"Name: "+employeeDataElement.getName());
    For adding sorting and filtering functionality to the table follow the article
    [WDJ - A Generic Java Class for Filtering Web Dynpro Tables|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60d5b593-ba83-2910-28a9-a7a7c7f5996f]
    Regards,
    Amol

  • Hide id from drop-down list at the top of the detail tab

    Hello Nakisa experts!
    I have one more question about Nakisa OrgChart 4.0 SP 1.
    How can I hide position and org unti id from drop-down list at the top of detail tab, see picture below:
    Thanks in advance.

    I'm not sure you're going to be able to change this.  I think (but I'm afraid I don't know for sure) the section is defined by \WEB-INF\uitemaplates\com\nakisa\manager\omg\ui\subucs\sectionDesigners\DetailHistoryButtonSectionSubUC.xhtml, which after a quick search through the application looks as though it might be populated by a NakisaTrollBin.jar ... which isn't really something you should be looking to edit.
    Nakisa do often write in various settings that can allow features to be tweaked and enabled/disabled.  It could be that there's something you could add into SettingsResources to apply the change you require, but you would need to contact Nakisa about this as they don't document all of these options.
    All this being said I would query why this is being done.  It is not uncommon to say have multiple positions with the same name - e.g. HR Administrator might exist in several org units.  If you are looking through several identically named org units or positions, the unique identifier is going to be the object's ID.  As such it seems most logical to me to keep the ID in the history to allow a user to discern the difference between identically named positions/org units.
    Regards,
    Stephen.

  • Mobile Me Alias not showing up in "From" drop down list in Mac Mail

    I have a couple of older .mac/Mobile Me email aliases that used to show up as either [email protected] or [email protected] in Mac Mail in the From drop down list, as recently as yesterday. Today, all I can see for any alias that has both the .mac and @me options due to their age, is the @mac.com version. I want to use the @me version of the alias, but this option no longer shows in the list. Newer Mobile Me aliases only have the @me.com address and they show up fine. One last point. If I use the Mobile Me web mail app, I can see both the @mac.com and the @me.com choices in the From drop down list, so it's working as it should.
    Mail isn't working correctly, but since I've not updated the Mail app recently, I suspect Mobile Me isn't sending both versions of the aliases over when the list is refreshed.
    Any suggestions? Thanks!

    It started about a week ago. The "From" drop-dow is now missing in Mac Mail. It should appear beneath the subject line. I was working with MobileMe Chat support for about 3 hours. They cannot solve the problem and have now escalated it to the "Senior Advisor Team."

  • How to get Date value from database and display them in a drop down list?

    Hello.
    In my Customers table, I have a column with Date data type. I want to create a form in JSP, where visitors can filter Customers list by year and month.
    All I know is this piece of SQL that is convert the date to the dd-mm-yyyy format:
    SELECT TO_CHAR(reg_date,'dd-mm-yyyy') from CustomersAny ideas of how this filtering possible? In my effort not to sound like a newbie wanting to be spoonfed, you can provide me link to external notes and resources, I'll really appreciate it.
    Thanks,
    Rightbrainer.

    Hi
    What part is your biggest problem?? I am not experienced in getting data out of a database, but the way to get a variable amount of data to show in a drop down menu, i have just messed around with for some time and heres how i solved it... In my app, what i needed was, a initial empty drop down list, and then using input from a text-field, users could add elements to a Vector that was passed to a JComboBox. Heres how.
    package jcombobox;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Vector;
    import javax.swing.*;
    public class Main extends JApplet implements ActionListener {
        private Vector<SomeClass> list = new Vector<SomeClass>();
        private JComboBox dropDownList = new JComboBox(list);
        private JButton addButton = new JButton("add");
        private JButton remove = new JButton("remove");
        private JTextField input = new JTextField(10);
        private JPanel buttons = new JPanel();
        public Main() {
            addButton.addActionListener(this);
            remove.addActionListener(this);
            input.addActionListener(this);
            buttons.setLayout(new FlowLayout());
            buttons.add(addButton);
            buttons.add(remove);
            add(dropDownList, "North");
            add(input, "Center");
            add(buttons, "South");
        public void actionPerformed(ActionEvent e) {
            if (e.getSource() == addButton) {
                list.addElement(new SomeClass(input.getText()));
                input.setText("");
            } else if (e.getSource() == remove) {
                int selected = dropDownList.getSelectedIndex();
                dropDownList.removeItemAt(selected);
        public void init(String[] args) {
            setSize(400,300);
            getContentPane().setLayout(new BorderLayout());
            getContentPane().add(new Main());
    }And that "SomeClass" is show here
    package jcombobox;
    public class SomeClass {
        private String text;
        public SomeClass(String input) {
            text = input;
        public String toString() {
            return text;
    }One of the things i struggled a lot with was to get the dropdown menu to show some usefull result. If the list just contains class references it will show the memory code that points to that class. Thats where the toString cones in handy. But it took me some time to figure that one out, a laugh here is welcome as it should have been obvious :-)
    When the app is as simple as this one, using a <String> vector would have been easier, but this is just to demonstrate how to place classes in a vector and get some usefull info out of it, hope this answered some of your question :-)
    The layout might have been easier to write, than using the toppanel created by the JApplet and then the two additional JPanels, but it was just a small app brewed together in 15 minutes. Please comments on my faults, so that i can learn of it.
    If you need any of the code specified more, please let me know. Ill be glad to,

  • Using selected items from drop-down list in rest of page

    Hi,
    I hope I'm able to describe clearly what's the problem.
    So I'm implementing a form for the moment. It contains a drop-down list. The user has to select one item from it and as a result another drop-down list on the same page needs to be filled with a couple of options. I wanna do this without refreshing the page, cos else I have to retrieve all the values from boxes that were allready filled in. Is it possible?
    Greetings,
    Raf

    This cn be done with javascript. But you need to cache the data on first load of your jsp.
    regards

  • Email Select People From Drop Down List

    I am creating a form that sales reps fill out to go to one whole department and I have that all set with my email submit button.
    However I also need to form to go to one of 5 others based off their names in a Drop down box for who is a manager for a certain region. Since all 5 don’t need to be copied on all form submissions I want our sales reps to be able to select their manager from the drop down list to ultimately add their email address in the CC field when the forms is submitted.
    Is this possible?
    Thanks, Mike

    Ok,
    if you don't know scripting, then you can use this macro (requires Desiger ES2 or ADEP Designer).
    It will create the script for you.
    The only thing you have to do is to install the macro.
    http://thelivecycle.blogspot.com/2011/07/mailto-maker-macro.html

  • Using getElementById() to get values from drop down list

    Hi, I am using Netbeans to write this program. I have this .java page that gets the url of the HtmlPage from the .properties page. And when this page is opened in the browser, there are drop down lists that have values I want to get from the user when he/she has selected, and save it to a database. I'm actually using mozilla firefox to open this page, and using firebug to inspect the drop down list element.
    I know getElementById is a javascript code, however, my friend told me to use it in the .java page. This is how part of my code looks like. What I'm not sure is how to implement getElementById() and where.
    HtmlPage pageMain =EBPage;
    WebRequest postRequestSettings = new WebRequest(
    new URL(getProperties("trustAdmin")), HttpMethod.POST);
    *// Set the request parameters*
    postRequestSettings.setRequestParameters(new ArrayList());
    postRequestSettings.getRequestParameters().add(new NameValuePair("component", "edit"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("formids", "unixTime,instance,time,description,message"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("page", "Status"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("service", "direct"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("session", "T"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("submitmode", "submit"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("submitname", ""));
    *// Insert instance of message here*
    postRequestSettings.getRequestParameters().add(new NameValuePair("instance", instance));
    *// Insert content of message here*
    postRequestSettings.getRequestParameters().add(new NameValuePair("message", message));
    *// Insert description of message here*
    postRequestSettings.getRequestParameters().add(new NameValuePair("description", description));
    *// Insert time of message here*
    postRequestSettings.getRequestParameters().add(new NameValuePair("time", time));
    *// Convert time to unix seconds*
    postRequestSettings.getRequestParameters().add(new NameValuePair("unixTime", String.valueOf(System.currentTimeMillis() / 1000)));
    HtmlPage newPage1 = pageMain.getWebClient().getPage(postRequestSettings);
    WebRequest requestSettings = new WebRequest(
    new URL("http://www.google.com"), HttpMethod.GET);
    requestSettings.setRequestParameters(new ArrayList());
    requestSettings.getRequestParameters().add(new NameValuePair("page", "Preview"));
    requestSettings.getRequestParameters().add(new NameValuePair("service", "page"));
    newPage1 = newPage1.getWebClient().getPage(requestSettings);
    And I'm told to insert page.getElementById() in the place shown below:
    HtmlPage page = null;
    page.getElementById()_
    *try {*
    *// Login proxy*
    page = (HtmlPage) jsonBrowser.getPage(getProperties("jsonBrowser"));
    String proxyUrl = page.getForms().get(0).getAttribute("action");
    System.out.println("Proxy Url" + proxyUrl);
    WebRequest requestSettings = new WebRequest(
    new URL(proxyUrl), HttpMethod.POST);
    requestSettings.setRequestParameters(new ArrayList());
    requestSettings.getRequestParameters().add(new NameValuePair("PROXY_SG_PASSWORD", password));
    requestSettings.getRequestParameters().add(new NameValuePair("PROXY_SG_PRIVATE_CHALLENGE_STATE", ""));
    requestSettings.getRequestParameters().add(new NameValuePair("PROXY_SG_REQUEST_ID", ""));
    requestSettings.getRequestParameters().add(new NameValuePair("PROXY_SG_USERNAME", userID));
    *// Get the page*
    page = page.getWebClient().getPage(requestSettings);
    Logger.getLogger(postTrustMessage.class.getName()).log(Level.INFO, "===================================Login in Trust");
    Logger.getLogger(postTrustMessage.class.getName()).log(Level.INFO, page.getWebResponse().getContentAsString());
    *} catch (IOException ex) {*
    Logger.getLogger(postTrustMessage.class.getName()).log(Level.SEVERE, null, ex);
    *} catch (FailingHttpStatusCodeException ex) {*
    Logger.getLogger(postTrustMessage.class.getName()).log(Level.SEVERE, null, ex);
    return page;
    Any help would be greatly appreciated. Thanks.

    I want to value drop down list from seeded page of EBSString picklistvalue = pageContext.getParameter("PickListBeanID"); //PickListBeanID is the ID of the MessageChoiceBean
    Thanks
    --Anil
    http://oracleanil.blogspot.com/

Maybe you are looking for

  • Magic Trackpad won't work with Magic Mouse on brand new 2011 27" i5 iMac

    I have a brand new 2011 27" i5 iMac which I bought with Snow Leopard pre-loaded. Naturally, I included the new Magic Trackpad in my purchase, and though there were some problems with the device in SL - such as it going haywire without explanation - i

  • Wireless keyboard right shift don't work with some keys but left shift works

    So, this is really a strange behaviour under Mavericks 10.9.5 My right shift doesn't like some "keys" and some keys don't like the shifts ( either left or right ). For example: doing a " ? " or a " B " or a " % " with the right shift doesn't work. I

  • Circular 3d text path

    Hi everyone, I'm just getting started with the new Motion 3.0 and I have a few questions of how to achieve a particular effect. What I am trying to do is similar to the template called Barrel Turns, where the text curves in on a 3d path, with each ch

  • Weblogic 9.2 Node Manager Starts, Managed Servers Do Not

    Hello, We just upgraded from 8.1.6 to 9.2.3 and I got the Node Manager and the admin console to start up. However, anytime I try to start a managed server, I get a failed error. I tried to create a new server and start it, and I get the same error. W

  • Font Menu in CS5 AI

    The font menu in Illustrator has gone haywire.  Is there a fix for it?