Best practice on dynamically changing drop down in page fragment

I have a search form, which is a page fragmant that is shared across many pages. This form allows users to selct a field from the drop down list, and search for a particular value, as seen in the screenshot here:
http://photos1.blogger.com/blogger2/1291/174258525936074/1600/expanded.5.gif
Please note that the search options are part of page fragmant embedded within a page - so that I can re-use it across many pages.
The drop down list changes,based on the page this fragment is embedded. For users page, it will be last name, first name, etc. For parts page, it will be part number, part desc., etc.
Here is my code:
          Iterator it=getTableRowGroup1().getTableColumnChildren();
        Option options[]=new Option[getTableRowGroup1().getColumnCount()];
        int i=0;
        while (it.hasNext()){
            TableColumn column=(TableColumn)it.next();
            if (column.getSort()!=null){
                options=new Option(column.getSort().toString(), column.getHeaderText());
}else{
options[i]=new Option(column.getHeaderText(), column.getHeaderText());
i++;
search search=(search)getBean("search");
search.getSearchDDFieldsDefaultOptions().setOptions(options);
This code works, but it gives me all fields of the table available in the drop down. I want to be able to pick and choose. May be have an external properties file associated with each page, where I can list the fields available for search drop down??
What is the best practice to load the list of options available for drop down on each page? (i.e last name, first name, etc.) I can have the code embedded in prerender of each page, or use sort of a resouce bundle for each page or may be use a bean?

I have to agree with Pixlor and here's why:
http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
and another:
http://apptools.com/rants/menus.php
Don't waste your time on them, you'll only end up pulling your hair out  :-)
Nadia
Adobe® Community Expert : Dreamweaver
Unique CSS Templates |Tutorials |SEO Articles
http://www.DreamweaverResources.com
Book: Ultimate CSS Reference
http://www.sitepoint.com/launch/005dfd4/3/133
http://twitter.com/nadiap

Similar Messages

  • Best practice for creating large drop down menus?

    I'm attempting to transition from using Photoshop to Fireworks cs4 for design and prototyping of websites.
    Right now I'm working on re-creating a nav bar design in FW. The design calls for large drop down menus with lots of non-standard content similar to nymag.com
    I've got each button setup as a 2 state button, however when the large drop down spans across to the right, the other buttons next to it appear to be over the first fly out. If I move that layer on top of the others, all the other buttons begin to act strangely. Any ideas?

    I have to agree with Pixlor and here's why:
    http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
    and another:
    http://apptools.com/rants/menus.php
    Don't waste your time on them, you'll only end up pulling your hair out  :-)
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    Book: Ultimate CSS Reference
    http://www.sitepoint.com/launch/005dfd4/3/133
    http://twitter.com/nadiap

  • Refresh view , change drop down values dynamically!!

    Hello SDN,
    I have a requirment in PCUI, I have two drop down fields at the view, values for which are all pre-determined as when the application view is loaded.
    My need is if i select a value in field 1( from the drop down list) the values should change accordingly in Field 2(drop down list) hinding or adding some.
    Can anyone help me how i should approach of doing this.
    Many thanks
    Pankaj
    Message was edited by:
            PANKAJ ARORA

    Hi Pankaj,
        You should mark the send request option configuration in the first dropdown and develop code in your class to filter de second dropdown with the value of the first dropdown.
    Regards.
    Manuel
    Reward with points!

  • Dynamically Populating Drop Down Lists

    Hi,
    I am trying to dynamically populate a drop down list on a form based on a selection in another drop down list. I have read the help file "To dynamically populate a second field after populating the first" which goes through an example, however I cannot get this example to work for me.
    I know that the best way to do it is to create an xml file and connect the form to this file. I am new to programming in xml but have had some experience in other forms. The code that I have (from the help page) looks like this;
    <?xml version="1.0" encoding="UTF-8"?>
    <MyData>
       <country/>
       <countries>
          <item uiname="United States" token="US"/>
          <item uiname="Vietnam" token="SRV"/>
       </countries>
       <state/>
       <US>
          <item>California</item>
          <item>New York</item>
          <item>Texas</item>
       </US>
       <SRV>
          <item>An Giang</item>
          <item>Bac Giang</item>
          <item>Bac Kan</item>
       </SRV>
    </MyData>
    I have then followed the instructions on the page, and am unable to populate either field on my form. Perhaps there is something wrong with my code? Or any other suggestions would be greatly appreciated! 
    Thanks

    Hi Paul,
    I have another question,
    I would now like to populate a third drop down menu based on the selection in the second one, however my code is going wrong somewhere as now when I put in the first 2 drop down lists, nothing appears in the second one. ie, the first drop down list I link to countries, and the second to state, as I did with the previous file, but now, when I preview it, I can choose a country, but nothing comes up in state. When I set the first drop down box to countries, I have to specify that I want it to show the uiname, but I can't do that with the second one when I select state using the XML file below, nothing is shown. Where am I going wrong?
    <MyData>
       <Country/>
       <countries>
          <item uiname="United States" token="US"/>
          <item uiname="Vietnam" token="SRV"/>
       </countries>  
       <state/>
       <US>
          <item uiname="California" token="CA"/>     
          <item uiname="New York" token="NY"/>   
          <item uiname="Texas" token="TEX"/>
       </US>
       <SRV>
          <item uiname="An Giang" token="AG"/>
          <item uiname="Ban Giang" token="BG"/>
          <item uiname="Bac Kan" token="BK"/>
       </SRV>
       <time/>
       <CA>
          <item>6</item>
          <item>7</item>
       </CA>
       <NY>
          <item>5</item>
          <item>4</item>
       </NY>
       <TEX>
          <item>3</item>
          <item>8</item>
       </TEX>
       <AG>
          <item>2</item>
       </AG>
       <BG>
          <item>1</item>
       </BG>
       <BK>
          <item>9</item>
       </BK>
    </MyData>
    Thank you for your help!

  • Dynamically create drop down box with JSP

    Hi,
    I hope this is not a repeat post, I have search the forum and a posting has not jumped out at me. I am making a jsp that dynamically constructs a custom SQL query.
    I have a number of text boxes with an id, my jsp page calls a servlet, the servlet reads the contorl id and the value to build the query - this works great. However, there's a large text input box which receives a number of extra conditions - this text box receives the input in the following format:
    searchAttributeName1,searchAttributeValue1;searchAttributeName2,searchAttributeValue2
    This is functional, however, it's a bit rubbish as the user has to know the special recognised attributeNames. What I would like to have is some sort of criteria control. This would consist of a drop down box populated from the servlet, a text input for the value and a button to add another criteria control. so the user could build up the number of query criteria. The drop down box ensures they cannot select the wrong keyword, pressing the add criteria button adds a new drop down box and text box pair to the screen.
    An example of this I recently saw was at Intel's jobs search web site https://jobs.intel.com/jobs/jobs.iccw - see that for example.
    Has anyone got any ideas on how to achieve this? I initially thought use jsp scripting (there is no restriction against this) but I need to use javascript I'm guessing as the button click triggers adding a new combo box. Another idea was to use styles and tables to hide the other drop down boxes but this seems like a real hack that I'd like to avoid. I can do with with .NET i hope java can deliver!
    Any ideas are much appreciated - I am a novice with java web development so please, any examples thoroughly explain (no need to explain populating the drop down box - there seem to be plenty of posts on this).
    Thanks for any help or ideas on this issue -

    Gina,
    Here is some sample code for using a ComboBox in a JSP from an EditCurrentRecord bean. This particular example uses a query, you can also populate combo boxes, list boxes, radio buttons and checkboxes from a static list. See the JavaDocs for the EditCurrentRecord bean.
    <jsp:useBean id="RowEditor" class="oracle.jbo.html.databeans.EditCurrentRecord" scope="request">
    <%
    RowEditor.initialize(application, session , request, response, out, "wt_bc_WT_bcModule.WalkthroughEngineSlidesView");
    RowEditor.setTargetUrl("WalkthroughEngineSlidesView_SubmitInsertForm.jsp");
    RowEditor.createNewRow();
    RowEditor.setReleaseApplicationResources(true);
    RowEditor.useComboBox("Presname","select pres_name,pres_name from wt_info","PRES_NAME","PRES_NAME");
    RowEditor.render();
    %>
    </jsp:useBean>
    null

  • Best practice for making changes to Oracle apps business views and BAs/fold

    HI
    The oracle BI solution comes with pre-defined Business Views- database views and Business Areas and folders. If we want to customize those database views or BAs and folders what will be the best practice in order to avoid losing it during any upgrades.
    For ex Oracle out-of box Order Management BA that we are using heavily needs some additional fields to be added to Order Header and Order Lines folders and we also want to add some custom folders to this BA.
    If we do the changes to the database views behind this BA would they be lost during the upgrade or do we have to copy(duplicate) those views, updated them and create a custom BA and folders against those views.
    Thanks

    Hi,
    If you are adding new folders then just add them to the Oracle Business Area. The business area is just a collection of folders. If the business area was changed in an upgrade the new folder would not be deleted.
    If you want to add fields to the existing folders/views then you have 2 options. Add the field to the defining base view (these are the views beginning OEBV and OEFV) and then regenerate the business views. This may be overwritten if the view is upgrade but this is unlikely.
    Alternatively, copy the view to create a new version and then map the old folder to the new view and refresh. You may need to re-map the folder if the folder is upgraded, but at least you have a single folder used by both Oracle and custom reports.
    Rod West

  • What is the best way to create a drop down Menu

    It is my frist time using Dreamwaever CC and i was wondering if there was a jQuery UI widget that could make, creating a drop down menu easir.

    *Best* is subjective and depends on what you require.
    For multi-level CSS drop-menus, this one is nice:
    DEMO:
    http://www.red-team-design.com/wp-content/uploads/2011/11/css3-animated-dropdown-menu-demo .html
    TUTORIAL:
    http://www.red-team-design.com/css3-animated-dropdown-menu
    RESPONSIVE:
    Project Seven Responsive Tabs (commercial DW Extension)
    http://www.projectseven.com/products/tools/tpm2/tutorials/responsive/index.htm
    Pop-Menu  Magic3 by PVII (NEW commercial DW extension)
    http://www.projectseven.com/products/menusystems/pmm3/index.htm
    MEGA MENUS:
    http://www.designchemical.com/lab/jquery-mega-drop-down-menu-plugin/examples/
    Nancy O.

  • Dynamic populating Drop down using BI Query

    Hi,
    I have a form which has four drop down lists in it.  I need to populate one drop down using a BI Query dynamically.
    How to do this ?
    Thanks in advance.
    Regards,
    Bir.

    Hi,
    Refer the following link
    /people/mario.herger/blog/2006/05/13/adventures-of-our-times-visual-composer-bi-kit
    http://help.sap.com/saphelp_nw2004s/helpdata/en/21/58feb70e884bc68a474429ac26f448/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/28/f7d2ed35a949778d34e4f27777885c/content.htm
    Regards,
    P.Manivannan

  • Changing drop down list appearance

    I was wonder how I can add additional attributes to a drop down list. I would like to add a different color to each option in the box. Something similar to the following code:
    <style type="text/css">
    .bg1{background-color:FF0000}
    .bg2{background-color:00FF00}
    .bg3{background-color:0000FF}
    </style>
    <form action="" method="post">
    <select name="foo">
         <option class="bg1">red</option>
         <option class="bg2">green</option>
         <option class="bg3">blue</option>
    </select>
    </form>
    I can't seem to find were I can add this informaiton. Thank you in advance.

    sorry about that, thomas. maybe it'd help if i read your post more closely before responding. anyhow, i had to get carl's help for this, but here are two ways to implement your request...
    javascript approach: just drop in a jscript function that checks your option values and displays them as you'd like. so if you had a select list item, P2_DEPTNO, with an lov query like...
    select dname, deptno from dept
    ...you could place this javascript...
    <script language=JavaScript type=text/javascript>
    <!--
    var pThis = document.getElementById('P2_DEPTNO');
    var pThose = pThis.getElementsByTagName('OPTION');
    for(var i=0;i < pThose.length;i++){
    /*change this logic for colors*/
    if(pThose.value == "10"){
    pThose[i].style.background = "#00FF00";
    if(pThose[i].value == "20"){
    pThose[i].style.background = "#996633";
    if(pThose[i].value == "30"){
    pThose[i].style.background = "#0000FF";
    if(pThose[i].value == "40"){
    pThose[i].style.background = "#FF0000";
    //-->
    </script>
    ...in the "Post Element Text" field of the item-level attributes page of your item.
    style approach: i'm not a css pro, but if your users use browsers that are somewhat css compliant (not IE), you can use define a style like...
    <style type="text/css">
    <!-- .myColors{}
    .myColors > option{background-color:#336699;}
    .myColors > option+option{background-color:#FF0000;}
    .myColors > option+option+option{background-color:#FFFF00;}
    .myColors > option+option+option+option{background-color:#996633;}
    .myColors > option+option+option+option+option{background-color:#669933;}
    -->
    </style>
    ...also in that "Post Element Text" field (or in your CSS, of course) and drop a...
    class="myColors"
    ...into the "HTML Form Element Attributes" field on that same page.
    hope this helps,
    raj

  • JSF & IFrames to dynamically load drop down lists

    I have a drop down list (DDL) whose content is dependant on another DDL. I have implemented this fine using JSF using the following jsp:
          <h:outputLabel for="selectRegion">
            <h:outputText value="Region"/>
          </h:outputLabel>
          <h:selectOneMenu id="selectRegion" validator="#{LocationBean.validateDDL}" value="#{LocationBean.region}" valueChangeListener="#{LocationBean.changeRegion}" onchange="submit();">
            <f:selectItems value="#{LocationBean.regions}"/>
          </h:selectOneMenu>
          <f:verbatim>
            <iframe id="regionFrame" name="regionFrame" style="width:0px;height:0px;border:0px"></iframe>
          </f:verbatim>
          <h:message for="selectRegion"/>
          <h:outputLabel for="selectDistrict">
            <h:outputText value="District"/>
          </h:outputLabel>
          <h:selectOneMenu id="selectDistrict" validator="#{LocationBean.validateDDL}" value="#{LocationBean.district}" onchange="submit();">
            <f:selectItems value="#{LocationBean.districts}"/>
          </h:selectOneMenu>
          <h:message for="selectDistrict"/>When selecting a region, the onChange="submit();" resubmits the entire page and the valueChangeListener="#{LocationBean.changeRegion}" is triggered which updates the district DDL.'s options.
    Resubmitting and retrieving the entire page contents is an expensive task, so I would like to use iframes/javascript to dynamically reload the second DDL without reloading everything else.
    Can this be done in conjunction with the JSF framework, or does JSF require a full page submit and retrieval in order to go through the JSF lifecycle?

    Any ideas?
    I've got a bad feeling the problem is that a hidden iframe being populated using a get method such as
    "directorate.jsp?directorateId=1" won't work because JSF doesn't support the html get method.
    Any other ways of reloading just a single portion of the page anyone knows about?
    Thanks

  • Best Practices for Organizational Change Management

    Hooray!  Finally an opportunity to take this forum back to its proper direction of Organizational Change Management topics as we begin to engage with some subject matter experts in OCM.
    Those interested in having OCM conversations here are also welcome to begin interaction with this <a href="https://https://www.benchmarking.sap.com/cgi-bin/qwebcorporate.dll?idx=945JDN&SHSP1Q2A=asugEMAIL061907">OCM best practices survey</a>.  It would give community a chance to engage with ASUGers around the topic of organizational change and give ASUGers a chance to broaden the Americas centric perspective.  So welcome all.
    Looks like
    <a href="/people/kerry.brown/blog/2007/07/10/organizational-change-management-best-practices-survey Brown</a> will be helping put this topic back on course.  Looking at her blog profile, I, for one, am most eager for her engagement with us here.

    Hai,
    Organizational Structure
    Use
    In order for the workflow system to establish the relationship between the requester and their superior, you must create an organizational plan in the system.
    For this tutorial, of course, this organizational plan does not have to be complete and valid across the enterprise. To keep the test as simple as possible initially, define an organizational plan that only contains one administrator and one head of department.
    Assign both items to yourself. As a result, all work items will appear in your own Business Workplace. Later you will modify the organizational plan such that you will have to work through the scenario with two users.
    Procedure
    The organizational plan required for this tutorial consists, when complete, of one organizational unit (= "department"), which contains two positions: a head of department and an administrator.
    Each position is described by one job and each position is assigned one user as holder. The head of department position is also designated as chief position of the organizational unit.
    Of course, a "real" organizational plan is created by arranging several organizational units with their positions in a hierarchy. Usually several positions are described by one job.
    For further information, refer to the documentation  Organizational Plan.
    The procedure in this unit is divided into four parts:
    1.     You create an organizational unit.
    2.     Enter necessary jobs as required.
    3.     You create a position for the head of department in the new organizational unit.
    You define a position in three steps:
    i.     You create a position that is assigned your organizational unit.
    ii.     You assign a holder to the position.
    iii.     You assign a job to the position.
    3.     You create a position for the administrator in the organizational unit.
    Creating an organizational unit
    1.     Choose Tools &#61614; SAP Business Workflow &#61614; Development &#61614;&#61472;Definition tools &#61614; Organizational Management &#61614; Organizational plan &#61614; Create.
    2.     Confirm the validity period proposed in the dialog box Creating a Root Organizational Unit.
    This takes you to the Create Organization and Staffing (Workflow) screen. This user interface is divided into four screen areas:
    3.     On the Basic Data tab in the details area, enter an abbreviation and a name in the Organizational unit input fields.
    Abbreviation: <ini_sales>
    Name: <OrgUnit: Sales (ini)>
    4.     Choose  .
    You can now create the position for a head of department and one administrator.
    Create jobs
    When enhancing an organizational unit, the necessary jobs are usually already available. For this tutorial however, you create the necessary jobs for head of department and administrator yourself.
    1.     Choose Edit &#61614; Create jobs.
    You go to the dialog box Create jobs. The lower area contains a list of existing jobs and the upper area contains an input table in which you can create new jobs by entering abbreviations and names.
    2.     In the input table, enter an abbreviation and a name for each of the new jobs.
    Job - head of department:
    Object abbreviation: < ini_dhead_C >
    Name: < job: head of department (ini) >
    Job administrator:
    Object abbreviation: < ini_admi_C >
    Name: < job: administrator (ini) >
    3.     Choose  .
    Creating Position for Head of Department
    1.     Change to the overview area in the staff assignments of the organizational unit, in order to assign positions, jobs and holders. Choose the arrow  on the right next to the  and then the staff assignments (list).
    2.     Choose  .
    A new position is then created in the staff assignments and is displayed in a new line in the table. The position is vacant and no job is assigned to it.
    3.     Open the details view for the new position in the details area by double-clicking on the entry in the table.
    4.     On the Basic Data tab, enter a code and a description in the Position input fields. Overwrite the previous contents.
    Abbreviation: < ini_dhead_S >
    Description: < position: head of department ( ini ) >
    Assigning a holder to the position
    You now assign R/3 users to the positions. The staff assignments for your organizational unit are displayed and you see the vacant position in the table.
    5.     Select User in the search area and enter the search criteria in order to find your user names.
    All of the user names that match your search criterion are listed in the selection screen.
    6.     Select your user name in the selection area and drag it to the Person/User column of the position in the overview area.
    Confirm the message that the relationship period of the validity has been changed.
    7.     Set the Head of own organizational unit indicator in the details area.
    Assigning a job to the position
    Assign the job of the head of department you created earlier to the position.
    8.     Select Job in the search area and enter the search criteria in order to find the job of the head of department.
    All jobs that match your search criterion are listed in the selection screen.
    9.     Select job: head of department ( ini) in the selection area and drag it to the Job column of the position in the overview area.
    10.     Choose  .
    The job is assigned the position. Check this by switching to the staff assignments of the organizational unit. Select the organizational unit in the overview area, choose the arrow  on the right next to the  and then the staff assignments (list). The newly created job is displayed in the job column.
    Create position for administrator and assign holder and job
    You are now in the staff assignments of the organizational unit.
    1.     Choose  .
    A new position is then created in the staff assignments and is displayed in a new line in the table. The position is vacant and no job is assigned to it.
    2.     On the Basic Data tab in the details area, enter an abbreviation and a name in the Position input fields. Overwrite the previous contents.
    ID: <ini admiS >
    Description: < position: administrator ( ini ) >
    3.     Choose  .
    4.     Select User in the search area and enter the search criteria in order to find your user names.
    5.     Select your user name in the selection area and drag it to the Person/User column of the position in the overview area.
    Confirm the message that the relationship period of the validity has been changed.
    6.     Select Job in the search area and enter the search criteria in order to find the job of the administrator.
    7.     Select job: administrator ( ini) in the selection area and drag it to the Job column of the position in the overview area.
    8.     Choose  .
    Result
    Display your entire staffing schedule again and make sure that all the information listed is correct.
    You can display a detailed view of jobs, users, and positions. Choose the relevant cell in the table by double-clicking it.
    In the details view of a position or job, all of the assigned tasks are displayed on the Tasks tab.
    You have now completed the first unit (defining the organizational plan). You can now start on the next unit. To exit processing of the organizational structure, choose Back.

  • How to change Drop-down Menus position?

    Is it possible to change the position of side Drop-down
    Menus?
    Captivate default setting is limit to Left/Middle/Right
    only....
    and It's just not fit my background design......
    it's really ridiculous....Now I force to change background
    design just to suit the Menus title...
    Do I miss something in setting a Menus??
    Thanks¬¬
    PS:
    How did the captivate overview demo do a Menus in such a
    complicated way???
    http://www.adobe.com/products/captivate/overview/

    Lulu,
    Captivate does indeed restrict where you can place the menu
    (Top Left, Top Center, or Top Right). Perhaps someone else has
    figured a way around this, but I am afraid I have no options to
    offer.
    As for the menus you are seeing on the presentation for the
    Captivate Overview, this bit of magic is done using Adobe Presenter
    and not Captivate itself. Adobe Presenter is a tool geared
    specifically for turning PowerPoint presentations into something
    much more. The info on Presenter can be found at:
    http://www.adobe.com/products/presenter/

  • Assigning values dynamically to drop down

    Hi,
    I have drop down for which i have to assign values dynamically, I am getting values as a form of Array list.

    Hi Venki,
    Say your ArrayList is al . Create a value attribute under the root node. Say test. Bind this test to the DropdownByKey UI element. You can populate test attribute like this.
    IWDAttributeInfo attributeInfo =
    wdContext.getNodeInfo().getAttribute(IPrivate<viewname>View.IContextElement.TEST);
    ISimpleTypeModifiable valuesType =
    attributeInfo.getModifiableSimpleType();
    IModifiableSimpleValueSet VS=
    valuesType.getSVServices().getModifiableSimpleValueSet();
           for (int i = 0; i < al.size(); i++) {
              VS.put(al.get(i),""+al.get(i));
    Regards
    Siva

  • [bump]How to change drop down menu size

    Hello,
    I have a drop down menu and i want to change the size= 4. Where to put it?
    Thanks for your help.
    Jen
    Edited by: Jen Hu on Apr 8, 2013 12:38 PM

    Jen Hu,
    You can get an old thread to come to the top by
    1) replying to the last response or
    2) editing one of your previous replies.
    In this case, more information was requested from you.
    If you have an "old" thread that's not getting attention, and you've supplied all the inforamtion that you can, then a typical approach I've seen is to edit your last reply with something like -
    * Bump * Looking for additional responses. Thanks.
    Howard

  • Dynamically generate drop down menu

    I am using JSTL to generate a drop down menu on the page
    <html:select size="1" property="reportYear">
    for(int i = 2000; i < 2100; i++)
    { %>
    <html:option value="<%=i%>"><%=i%></html:option>
    <% } %>
    </html:select>
    this doesnt work the problem is printing those double quotes for the value...
    I get the following error
    [ServletException in:/ucpages/contract/CapReportList.jsp] Unable to compile class for JSP Generated servlet error: [javac] C:\Sun\AppServer8\domains\domain1\generated\jsp\j2ee-modules\uc\org\apache\jsp\ucpages\contract\CapReportList_jsp.java:249: cannot resolve symbol [javac] symbol : method setValue (int) [javac] location: class org.apache.struts.taglib.html.OptionTag [javac] jspxth_html_option_12.setValue(i); [javac] ^ [javac] 1 error '
    also tried printing the double quotes using <% out.print("\""); %>
    nothing works

    Seemingly the primitive type int isn't allowed here. Something like the following is close to your code and outputs the result you want:
    <form action="index.jsp">
        <select size="1" property="reportYear">
    <%
    for(int i = 2000; i < 2100; i++)
    { %>
    <option value="<%=Integer.toString(i)%>"><%=Integer.toString(i)%></option>
    <% } %>
    </select>
    </form>Or loop using tags with c:forEach.

Maybe you are looking for

  • I canu00B4t start SAP

    Hi All, I have a problem when a try to start the SAP instance. Iu00B4m running Windows 2000 / MS-SQL Enterprise Server 2000 / SAP R/3 4.7 IDES I check R3trans -d and all fine, i can see the DB. But, in MMC, when i try to up SAP, all disp+work start,

  • Does Dreamweaver enable us to change a link's destination from throughout an ENTIRE cluster ofPages?

    I have a link to an external site located throughout an entire cluster of pages within my website.   Is there a Dreamweaver CS5 command that would enable me to modify that link as it appears throughout the entire cluster of pages, simultaneously?   

  • Media Sync doesn't offer option to sync Camera Photos.

    I was trying to setup Link to sync my camera photos back to my desktop via wifi.  When I get in range the mapped drives of my Z10 appear as Y: and Z:.  My camera photos are then accessible via Y:\camera (which is TOO COOL by the way). But, when I go

  • DHCP Console will not show IP addresses

    I am running my DHCP from my Linux OES2 SP2 server. I can login to the DHCP console and create and manage my DHCP no problem. The issue is, I want to make an ip address exclusion, but there is no option for doing that. If I click on one of my subnets

  • USB-6211 - Getting Error 50103 when attempting to use two counter method

    I am using a USB-6211 and want to measure the speed of a motor by counting pulses coming back from sensors on the motor. Speed will vary from 0 to about 5k Hz. My strategy is to use "Method 2" in the manual to measure using two counters.  To do this