Results 1 to 1 of 1

Thread: Reg: Drop down disbale

  1. #1
    Join Date
    Nov 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Reg: Drop down disbale

    in my jsf project i have requirement in which i want to disable drop down menu, how's it possible.
    see exact scenario is i have 3 drop down menu according to 1st drop down menu db fetches data into 2nd drop down menu and similarly according to previous 2 last drop down menu fetches the data..
    at the time i select 1st drop down , other 2 should be disabled, and same for other case.

    Code:
    <% String basePath= request.getContextPath(); %>
    <h:panelGroup id="selectDomainsPanel">
       <f:verbatim>
          <head>	    
       		 <link rel="stylesheet" type="text/css" href="<%=basePath %>/css/nrsStyle.css">
    		 <script language="JavaScript" src="<%=basePath %>/js/DataTableSelection.js"></script>
          </head>
       </f:verbatim>    
       <f:loadBundle
    		 basename="com.nortel.ems.mgmt.nrsm.messages.SelectDomainsMessageBundle"
    		 var="msg" />
       <h:outputText value="#{msg.limit}" />		
       <f:verbatim><p></p>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; </f:verbatim>	
    
       <h:selectOneMenu 
             id="SDMenu" 
             valueChangeListener="#{DomainSelectionEventHandler.handleServiceDomainSelection}"
             >
          <f:selectItems  
                id="SDMenuVal" 
                value="#{DomainSelectionEventHandler.serviceDomains}"/>
                 
       </h:selectOneMenu >
    			
       <f:verbatim> &nbsp; &nbsp; &nbsp; </f:verbatim>
    			
       <h:selectOneMenu 
             id="L1DMenu" 
             valueChangeListener="#{DomainSelectionEventHandler.handleL1DSelection}"
              >
    	  <f:selectItems 
    	        id="L1DMenuVal" 
    	        value="#{DomainSelectionEventHandler.l1Domains}"/>
    	        
       </h:selectOneMenu >
    			
       <f:verbatim> &nbsp; &nbsp; &nbsp; </f:verbatim>
       <h:selectOneMenu  
             id="L0DMenu"  
             valueChangeListener="#{DomainSelectionEventHandler.handleL0DSelection}">
    	  <f:selectItems 
    	        id="L0DMenuVal"  
    	        value="#{DomainSelectionEventHandler.l0Domains}" />
    	        
       </h:selectOneMenu >
    Last edited by jscheuer1; 11-21-2007 at 02:34 PM. Reason: add code tags

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •