The drop down list values want to vary based on the contents of another drop down field

hi,
hi in search page i have two drop down list. i have two tables and one mapping tables. service line and subservice line are tables and i have one mapping table. using rapid application i create one component using mapping table. now in search page i have two drop list. one is servline and another is sub serviceline. in service line i have values like 1,2 k  for subservice 3,4.5,6 for one service line ex. for 1 i have two subservice 3,4 and for 2 i have 5,6. now my requirment in if i choose service line 1 in first drop down list, automatically in second drop down list want to contain values 3, 4. before both the drop down list have values.if i chose one value the correponding mapping value want to come in drop down list in same context node.

Hi,
This requirement involves defining p-getter for the service type, and the v-getter of you sub type.
Since this involves to populate the values of subtype attribute depending on value of service type, u need a round trip.
This is done in the p-getter of the 1st attribute(service type in your case).
In the v-getter of the 2nd attribute, 1st fetch the current value of attribute 1, then filter the value in the dropdown table according to ur logic.
Ref :Drop down values in table view
Regrads
Anish

Similar Messages

  • Problem in sending drop down list value to jsp page showing  null value

    i am trying to send a drop down list value from client side to a jsp page but getting null value
    this is first page where i have accessed data from database and putted it in a drop down list
    <select name="sub">
         <%
         while(rs2.next())
         cat=rs2.getString(1);
         %><option value="<%=cat%>"><%=cat%></option><%
         }%></select>
    <input type="submit" value="Go"></input>
    now on submit i am going to another page
    where i want the selected value from drop down list to be printed
    i have used there
    <%
    String subject= request.getParameter( "sub.value" );
    out.println(subject);
    %>
    but it is printing null here what is the problem that i m facing
    thanx & reagrds
    sweety

    how to generate dynamically names for text boxes
    i am generating text boxes in while loop when selecting data from database
    while(rs1.next())
    name=rs1.getString(1);%>
    <tr>
    <td>1</td>
    <td><%out.println(name);
    //i am printing here stud_id a unique key and want to update records from following text boxes to particular stud_id
    %></td>
    <td><input type="text" name="????"></input></td>
    <td><input type="text" name="????"></input></td>
    <td><input type="text" name="????"></input></td>
    <td><input type="text" name="????"></input></td>
    </tr><%
    the structure is like
    stud_id | attended theory | conducted theory | ateended practical | conducted practical
    where attended theory, conducted theory............. are to be inputed manually for all students and then update in database
    so i am facing problem in generating names for textboxes how to do that
    so that those can be updated in database for particular student
    Thanx & Regards
    sweety

  • Change values of drop down list when other drop-down list value is clicked

    Hi Gurus,
    I look for my requirement very much but I can't find. I think it must be very simple but I can't do it, please help :
    I have to custom added fields. Both of them is made drop-down list by picklist defined in GET_P...methods.
    When I click and select a value from the first drop-down list, I want that second drop-down values are fully changed, depend on what I select in the first list. If I select my value and press enter in the first drop down box, I can do my requirement with GET_V...method. But if I don't press enter, the values of second list doesn't change, they remain same. I want exactly that when I click and select a value from first drop-down list, second drop-down list values are automatically change, dependent on what selected. Do I have to define and event?? where and how, please help me..

    Hi,
    You must have created the field as a dropdown using the below code in the get_p method.
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter~fp_fieldtype.
            rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.
      ENDCASE.
    Here you need to add the below lines of code along with the previous code. for the first dropdown value
      IF iv_property =  if_bsp_wd_model_setter_getter=>fp_server_event.
        rv_value = 'DDLB_CLICK'.
      ENDIF.
    This would refresh the screen when the user selects any value from the dropdown.
    Regards,
    Radhika

  • How to modify drop down list values of a screen field in UDM_DISPUTE?

    Hi All,
    I have a requirement wherein i need to modify the drop down list for a screen field depending on the value of the other screen field in transaction UDM_DISPUTE. 
    Please suggest how this can be achived.
    Any BADI 's or any other approach is available?
    Thanks in advance,
    Srilakshmi.

    Hi,
    At what time do you want to modify the drop down list, while creating or after creating the dispute case. There are some BADI's where we can change the attribute drop down list values.
    Thanks,
    Sunil

  • Refreshing drop down list in a web template based on a query view

    Refreshing drop down list in a web template based on a query view  
    I have just developed my first set of portal pages displaying the results of Bex queries and query views in the SAP Netweaver portal. I developed the pages using web application designer. Each web template created with W.A.D is using a query or query view. In one template I have that is using a query view I am using a variable in my Bex query. This variable is of type customer exit, is set to variable is ready for input and calls some ABAP code which returns the current fiscal week number and year. When I run the query or query view in isolation through Bex analyzer the variables gets populated correctly. In my web template I have associated my variable from my query view to a drop down list box. However when I run the Iview created from this template the query results get refreshed but my drop down list box does not, it still shows last weeks week number. How do I get the drop down list box to refresh with the latest result from my customer exit variable?
    Regards
    Collin

    Hi  ,
    According to your description, my understanding is that you want to  filter a calendar based a look up column in SharePoint 2013.
    Calendar View not support OOTB filters connection. it is disabled for calendar view, you need to change view(not calendar view) so OOTB filters works and get connected to your view.
    You can achieve this using combination of jQuery and SharePoint OOB techniques.
    For jQuery filters refer to the  blog: enter SharePoint List Filters using jQuery
    Also you can filter Calendar View Web Part using JQuery and SPServices:
    http://blogs.visigo.com/chriscoulson/filter-a-sharepoint-calendar-list-with-a-date-picker/
    http://joshmccarty.com/2011/11/sharepoint-jquery-and-fullcalendar%E2%80%94now-with-spservices/
    http://spservices.codeplex.com/discussions/258846
    Another  way, you can have a look at the SPFilterCalendar :
    http://www.aasoftech.com/SitePages/How%20to%20Filter%20SharePoint%20Calendar%20Dynamically.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Do i have a virus? I get asked when shutting down do I want to continue or abort the installation

    Do i have a virus? I get asked when shutting down do I want to continue or abort the installation.
    I am not installing anything.

    You may have partially installed the "Genieo" or "InstallMac" ad-injection malware. Follow the instructions on this Apple Support page to remove it.
    Back up all data before proceeding.
    Malware is always changing to get around the defenses against it. In addition to the files listed in the support article, you may also have to remove the following in the same way:
    ~/Library/LaunchAgents/com.Installer.completer.download.plist
    ~/Library/LaunchAgents/com.Installer.completer.ltvbit.plist
    ~/Library/LaunchAgents/com.Installer.completer.update.plist
    ~/Library/Application Support/IM.Installer/Completer.app
    One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those.
    After removing the malware, remember to reset your home page in all the web browsers affected, if it was changed.
    If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, then you may have one of the other kinds of adware covered by the support article. Follow the rest of the instructions in the article.
    If you find Apple's instructions too hard to follow, ask for an alternative that doesn't require you to trust a black-box application without knowing what it does.
    Make sure you don't repeat the mistake that led you to install the malware. Chances are you got it from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

  • I want to implement three level Horizental navigation on the top navigation and menu items are created based on the data available in a SharePoint List.

    Hi All,
    I want to implement three level Horizental navigation on the top navigation and menu items are created based on the data available in a SharePoint List.
    Implement this requirement through customization, how can i start any help
    Thanks

    Hello,
    You can follow these links to get the result that you want. You can get the desired result either using the custom list or a site map. Please make sure when you edit the master page, dont work on the original v4.master. Always make a a copy and then work
    on it.
    This link will show you how get that navigation using a list.
    http://www.bitsofsharepoint.com/BlogPoint/Lists/Posts/Post.aspx?ID=60
    This link will show you how get that navigation using a sitemap.
    http://www.sharepointdiary.com/2012/01/custom-top-navigation-using-sitemap.html
    Please mark as "Answered" if this helped you.
    Thanks,
    norasampang

  • Populate elements in a drop based on selection made in another drop down

    i need to populate elements in a drop based on selection made in another drop down list. have created list models for populating data from R3. I am using PDK for java development.

    hi,
    to populate the second dropdown from the selection of the first u need to the submit the form on the selection of data from dropdown and based on the selection populate the second dropdown.
    If using jspDynpage u can submit the form on the  ''onChange" event of first drop down.
    If you can let us know what type of application is this i think we can help you in more better way.
    Thanks
    Ritushree Saha

  • I have an IMac.  I put a folder on the desk top and now want to delete it.  The folder seems to be locked.  I went to get info and tried to unlock it but still can't delete it.  The folder has nothing in it.  Any help would be great.  Thanks

    I have an IMac.   I put a folder on the desk top and now want to delete it.  The folder seems to be locked.  I went into Get Info and attemted to unlock the folder and delete it.  Won't go away.   There is nothing in the folder.   How do I unlock this folder and delete it?   When I try to delete it, I'm asked for my password which I put in and is accepted, but will not delete the folder.  Any help would be great.

    If you are sure there is nothing in it, download trashit, a useful free app.   That will dispose of it.
    Download Trash It! for Mac - Force-empty your trash can. MacUpdate.com

  • For some reason osx mountain lion has disappeared from my purchases and now when i want to install mountain lion on another mac with the same apple id it wants to charge me for the program even though i have already purchased it. what do i do?

    for some reason osx mountain lion has disappeared from my purchases and now when i want to install mountain lion on another mac with the same apple id it wants to charge me for the program even though i have already purchased it. what do i do?

    Open the Mac App Store on the other Mac and in the Quick Links sign into your account. See if the Mountain Lion purchase is among hidden apps in the iCloud area of your account info.

  • Adobe is giving me the runaround when all i want to do is download the programs i bought several years ago. Anyone else experience this? Contacted support, was told i would get a call back.  Account blocked so I had to create a new one to download trial v

    Adobe is giving me the runaround when all i want to do is download the programs i bought several years ago. Anyone else experience this? Contacted support, was told i would get a call back.  Account blocked so I had to create a new one to download trial versions to compete my work.  So frustrated.

    You will need to have the serial number to activate the products. Please have then handy & also check the compatibility of the operating systems.
    Regards
    Rajshree

  • Unable to get the SharePoint 2013 List names using Client object model for the input URL

    Please can you help with this issue.
    We are not able to get the SharePoint 2013 List names using Client object model for the input URL.
    What we need is to use default credentials to authenticate user to get only those list which he has access to.
    clientContext.Credentials = Net.CredentialCache.DefaultCredentials
    But in this case we are getting error saying ‘The remote server returned an error: (401) Unauthorized.’
    Instead of passing Default Credentials, if we pass the User credentials using:
    clientContext.Credentials = New Net.NetworkCredential("Administrator", "password", "contoso")
    It authenticates the user and works fine. Since we are developing a web part, it would not be possible to pass the user credentials. Also, the sample source code works perfectly fine on the SharePoint 2010 environment. We need to get the same functionality
    working for SharePoint 2013.
    We are also facing the same issue while authenticating PSI(Project Server Interface) Web services for Project Server 2013.
    Can you please let us know how we can overcome the above issue? Please let us know if you need any further information from our end on the same.
    Sample code is here: http://www.projectsolution.com/Data/Support/MS/SharePointTestApplication.zip
    Regards, PJ Mistry (Email: [email protected] | Web: http://www.projectsolution.co.uk | Blog: EPMGuy.com)

    Hi Mistry,
    I sure that CSOM will authenticate without passing the
    "clientContext.Credentials = Net.CredentialCache.DefaultCredentials" by default. It will take the current login user credentials by default. For more details about the CSOM operations refer the below link.
    http://msdn.microsoft.com/en-us/library/office/fp179912.aspx
    -- Vadivelu B Life with SharePoint

  • Setting the series color of a bi beans graph based on the data values

    How do I conditionally set the series color of a bi beans graph based on the data values?
    I am using the following code to get the data values and set the series color:
    Graph gr=(Graph)CmdrDashboardP1_pres1.getView();
    DataAccess da=gr.getGraphModel().getDataAccess();
    DataDirector dd=gr.getDataDirector();
    DataMap dm=dd.getDataMap();
    int re=dd.ROW_EDGE;
    int ce=dd.COLUMN_EDGE;
    Object val=da.getValue(re,ce,dm.DATA_TYPE);
    int seriesCount=da.getEdgeCurrentSlice(DataDirector.ROW_EDGE);
    if (val <=45.0)
    gr.getSeries().setColor(new Color(255,0,0),seriesCount);
    I get a NullPointerException from the line of code "Object val=da.getValue(re,ce,dm.DATA_TYPE)." I have tried the code with DATA_UNFORMATTED as well, but get the same exception. When I print the DataMap value of dm the results are [dataUnformatted, dataViewFormat, value, dataIsTotal, dataType].
    Also, I get the error "method <= (java.lang.Object,double) not found in class _CmdrDashboardP1" from the "if (val <=45.0)" code.
    Thanks for any assistance

    How do I conditionally set the series color of a bi beans graph based on the data values?
    I am using the following code to get the data values and set the series color:
    Graph gr=(Graph)CmdrDashboardP1_pres1.getView();
    DataAccess da=gr.getGraphModel().getDataAccess();
    DataDirector dd=gr.getDataDirector();
    DataMap dm=dd.getDataMap();
    int re=dd.ROW_EDGE;
    int ce=dd.COLUMN_EDGE;
    Object val=da.getValue(re,ce,dm.DATA_TYPE);
    int seriesCount=da.getEdgeCurrentSlice(DataDirector.ROW_EDGE);
    if (val <=45.0)
    gr.getSeries().setColor(new Color(255,0,0),seriesCount);
    I get a NullPointerException from the line of code "Object val=da.getValue(re,ce,dm.DATA_TYPE)." I have tried the code with DATA_UNFORMATTED as well, but get the same exception. When I print the DataMap value of dm the results are [dataUnformatted, dataViewFormat, value, dataIsTotal, dataType].
    Also, I get the error "method <= (java.lang.Object,double) not found in class _CmdrDashboardP1" from the "if (val <=45.0)" code.
    Thanks for any assistance

  • To copy an arrangement section - verse, chorus etc - I click the verse or chorus I want to copy/move in the arrangement line. But when I open edit the copy/cut options are gray and won't let me do it. Same w/command 'C'

    To copy an arrangement section - verse, chorus etc - I click the verse or chorus I want to copy/move in the arrangement line. But when I open the edit tab the copy/cut options are gray and won't let me do it. Same w/command 'C' and 'V'.
    Also, how do I send a song from my MacBook GB to my iPad GB so I can utilize the Smart Instruments in my song.

    Use the alt key to create a copy of an Arrange section by dragging it.

  • [svn:osmf:] 14235: PARB changes: Remove targetBufferTime from the metrics provider, this value can' t be set in the absence of an understanding of the buffering strategy which is layered on top of NetStreamBufferTrait .

    Revision: 14235
    Revision: 14235
    Author:   [email protected]
    Date:     2010-02-17 19:27:33 -0800 (Wed, 17 Feb 2010)
    Log Message:
    PARB changes: Remove targetBufferTime from the metrics provider, this value can't be set in the absence of an understanding of the buffering strategy which is layered on top of NetStreamBufferTrait.  Adjust switching rules to work from the raw buffer data instead of this target.  Remove all bufferTime modifications from the MBR code, so that they won't impact any buffering strategies (addresses FM-436).
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-436
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamMetricsBase.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamSwitchManager.as
        osmf/trunk/framework/OSMF/org/osmf/net/rtmpstreaming/InsufficientBufferRule.as
        osmf/trunk/framework/OSMF/org/osmf/net/rtmpstreaming/RTMPNetStreamMetrics.as
        osmf/trunk/framework/OSMF/org/osmf/net/rtmpstreaming/SufficientBandwidthRule.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockNetStreamMetricsBase.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockRTMPNetStreamMetrics.as

    Please do not duplicate posts. You have already started a thread on this subject.

Maybe you are looking for

  • Right Way to change MBOs Connections

    Hellow Experts, I'm really enjoying the communication here, and I got a new one. Whats the right way of change MBOs Connections to SAP for instance? I tried 2 methods. Method One Title: Its just too much Work Proceeding: I start rebinding every MBO a

  • How can I change 3D graph Axis captions programmatically?

    Hi All,           I'm using a 3D graph to display results of a particular set of tests. I wish to change the caption on an axis depending on which test I'm running, e.g. the x-axis to change its caption from Deg C to Time (nS), there doesn't seem to

  • 50,000 missing emails in Mavericks - what is going on Developers?

    I have not had a problem with lost mail since OS8.1 ('98/99) and then came Maverick 10.9... SO I import my mail folders and preferences as normal from backup.... Mail is importing 50k messages, but then nothing, zero, zilch.... I have backups and I h

  • Page for complex HTML email

    I have created this page for to email as a complex HTML email--emailing from Safari via the Apple Mail program. Francis Smith / Hampton Designer Showhouse Some folk who receive this email will NOT be using email that can handle complex HTML--and so w

  • Query not returing Exchange server name

    I am running the following command to retrieve the status of a process. I am using get-exchangeserver to list all the Exchange servers to run get-process. In addition to returning the services which are running I need to know which servers the servic