How are the buttons reffered in JSP scriptlet

hi all
i am currently working with enabling and disabling of buttons at run time using functions in scriptlets which is refers
document.form name.button id.disable=false;
the error raised so far document.form name.button id is null or not valid

thanks for replying
but its still not working
i'll show you the code
function alert1(sam)
          var a=sam.value.split("|");
          var code=a[0];
          alert("Fund Group Code is :- "+a[0]);
          var name=a[1];
          alert("Fund Group Name is :- "+a[1]);
          var status=a[2];
          alert("Review Status is :- "+a[2]);
          var operatorID=a[3];
          alert("Status is :- "+a[3]);
          //var isReviewer=document.myform.reviewerFlag.value;
          document.myform.addreview.disabled=true;
          document.myform.modify.disabled=false;
          if(reviewstatus == Pending)
               document.myform.sendforreview.disabled = false;
               document.myform.addreview.disabled = true;
        if(reviewstatus == Pending_Reviewed && userID!=operatorID && isReviewer == REVIEWER)
             document.myform.addreview.disabled = false;
             document.myform.sendforreview.disabled = true;
        if(reviewstatus == Reviewed)
             document.myform.addreview.disabled = true;
             document.myform.sendforreview.disabled=true;
        document.myform.FundGroupBean.op.value= code;
//          document.myform.action="viewreview.jsp";
//          document.myform.submit;
</script>
<% ResultSet rs= (ResultSet)request.getAttribute("rs");
                    while(rs.next())
                    {%>
                         <tr>
                         <td>
                         <input type="radio" id ="radio" value="<%=rs.getString(1)%>|<%=rs.getString(2)%>|<%=rs.getString(3)%>|<%=rs.getString(4)%>"
                         onclick="alert1(this)"     /></td>
                    <td><%= rs.getString(1)%></td>
                    <td><%= rs.getString(2)%></td>
                    <td><a href="viewreview.faces">
                    <%if(rs.getString(3).equals("1"))
                                        out.println("Pending");
                                   else if(rs.getString(3).equals("2"))
                                        out.println("Review Pending");     
                                   else
                                        out.println("Reviewed");%>
                              </a>     
                              </td>
                    <td><%if(rs.getString(4).equals("1"))
                                        out.println("Active");
                                   else
                                        out.println("Inactive");
                              %></td>
               </tr>
               <% } %>

Similar Messages

  • TS3274 How do I re-boot my IPad?   Where are the buttons to push?

    How do I re-boot my IPad?  Where are the buttons I push?

    Pess and hold the home and sleep/power  buttons at the same until the Apple logo shows.

  • Where are the buttons gone File upload and Download in New ABAP Editor

    Where are the buttons gone of File upload and Download in New ABAP Editor in ECC 6.0.
    Or some new utility added for this feature.
    Kindly guide.
    Thanks,
    pradeep

    Go to Utilities>more Utilities>upload/download is there.
    Amresh.

  • How are the pWWN list populated in DCNM even before they are logged-in to the switch?

    Hello All
    DCNM v6.2.3
    I see that the hosts are not logged-in to the switch, however via DCNM when I try to create device alias I find the pWWNs populated which are not logged-in. How are the pWWN list populated in DCNM even before they are logged-in to the switch?
    Thanks
    Chetan

    This is definitely not happening automatically ? would be magic ! you can do it of course manually.

  • How are the org units created

    How are the org units created,say if i have 1000 org units which has to be created,in the PRH, what is the best solution, is it by transport or data upload?

    Hi Tom,
    I think your problem is solved . If not plz do let us know. And let us know which method you have obtained (LSMW or BDC) to upload the ORG UNIT Data??
    Have a great day..
    Regards,
    Sri..

  • How are the IC's calculated in the IIR Cascade Filter with I.C. vi

    How are the IC's calculated in the IIR Cascade Filter with I.C. vi

    Solved this myself.
    Attached llb has subVI that computes the IC's needed to remove transient given a constant value step input to the IIR Filter.
    Computes filter state (see app note 39) for cascade filter using z-transform final value theorem.
    This version works for all filter types, ie lowpass, highpass, bandstop and bandpass.
    Attachments:
    IIR_Filter_with_I.C._set_to_Final_State.llb ‏94 KB

  • How are the summary tables refreshed

    hi all,
    Can you please tell me how are the summary tables refreshed. Does the Oracle databse do it or the discoverer server performs the tasks

    Hi,
    Discoverer summary tables are stored as materialized views in the database. The database refreshes the MV depending on how the MV refresh has been set up.
    Rod West

  • ACI-How are the new advancements in ACI helping the drawbacks in nexus switching?

    ACI-How are the new advancements in ACI helping the drawbacks in nexus switching?

    ACI is a paradigm shift in data centre designs.
    According to this solution overview ACI is the next generation of Software Defined Networking:
    http://www.cisco.com/c/en/us/products/collateral/switches/nexus-9000-series-switches/guide-c07-731461.html
    Having worked with Nexus switches for a couple of years now I haven't encountered any serious drawbacks with these devices.

  • How are the .7z files used and installed for photoshop elements and premier elements?

    How are the .7z files used and installed for photoshop elements and premier elements?

    Hi,
    You can try to extract them to a folder and then try to install using the setup file.
    Or you can try to download the .exe file ( Small File ) for the software you have and then run the .exe file and it will start the installation. Both .exe and .7z file for the application should be in same location.
    Download Photoshop Elements products | 9, 8, 7
    Download Photoshop Elements products | 11, 10
    Download Premiere Elements products | 11, 10
    Download Premiere Elements products | 9
    *** You can either download the .exe file from the above download links or you can also download both .exe (File 2 of 2) and .7z (File 1 of 2) from the above links.

  • I have an HP I7 QuadCore laptop that generates a lot of heat. How are the I7 PowerBooks at generating/dissipating heat?

    Helping my niece get a laptop for college.... I have an HP I7 QuadCore laptop that generates a scary lot of heat. How are the I7 PowerBooks at generating/dissipating heat? Have people been having problems?

    As John indicates, the last PowerBook was discontinued in April 2006 and even that model could do very little in today's web-based computing environment.
    You can ask in the MacBook Pro forums here:
    MacBook Pro
    However, no matter where you ask there are two common factors in heating:
    --The programs/tasks you are doing
    --The fact that no laptop has room for big fans means it will always run hotter doing the same tasks than will a desktop computer with big fans. Few laptops are good gaming platforms as a result.

  • The Apple TV voice tells me to press some numbered buttons. Where are the buttons?

    The Apple TV voice tells me to press numbered buttons when I select an app. Where are the buttons?

    Could be referring to airplay passcode, you enter on your device. Otherwise need more info

  • New ZEN 4Gb - Are the buttons supposed to light up?

    Just bought a 4 gig for my better half, are the buttons supposed to light up blue like on my Vision M? They look like they are?cheers? Paul

    The on/off light does shine blue. But the actual function buttons themselves have?NO light at all is that correct or does it need to go straight back to Amamzon?!

  • How are the gestures used on the iPad2?

    Can someone help me understand how the gestures on the iPad2 are used? I'm having trouble figuring it out myself. Also how are the favorites used?

    Here is a link that may help you better understand gestures:  http://www.macworld.com/article/1163019/ios_5_new_gestures.html

  • How are the asynchronous messages persisted

    How are the asynchronous messages persisted ??
    thanks
    kumar

    HI Kumar
    1. Asynchronous Messages in XI are stored in database permanently
    2. After processing the message, Integration Engine makes a datbase commit explicitly and the processed message is stored in the database.\
    3. Async Messages can be restarted when they go into error
    4. Asynchrous messages while being sent if there is some problem in connectivity or something the message persists and when the connection is up,it tries to send it again
    Cheers..
    Vasu
    <i>** Reward Points if found useful **</i>

  • How are the facetime graphics?

    How are the "FaceTime" graphics? Are the video calls clear quality? and is it free?

    The FaceTime graphics are good depending on your wifi strength. Especially in iOS 7, the graphics are much better. However, if you have bad wifi or signal strength, then it will lag and be a bit blurry.

Maybe you are looking for

  • Iphone 4 not charging and not being recognized by the computer

    I've had my iphone 4 for a little more than a year now and it wont charge or get recognized by the computer. I've seen things about battery and I wanted to see if there was anything else I could try before taking it to an Apple store

  • Keyboard-created emoticons not showing in Facebook since upgrading Firefox 9/12/2014. Will this be fixed? They show in other browsers.

    I just upgraded to Firefox v32.0.1 yesterday, and I see that keyboard-created emoticons like smileys (colon +right parenthesis), winks, hearts, etc. are not displaying in Facebook on status messages or comments. This isn't just for new posts, but for

  • Exporting my movie

    I am using Final Cut Express 4. One of my files is in .wmv and I have downloaded Flip4mac. I have followed the User Manual's steps for exporting a movie. I have clicked on Clear In and Out to export my whole sequence. But whenever the movie is being

  • Open OBIEE report from web application

    Experts, I want to open OBIEE report from a web application. I have a question regarding the security here. Say I login as 'USER1' in web application, I would have to pass 'USER1' in nquser parameter. Correct? Also, this report has access to 'Sales G

  • F4 help on ALV with FM REUSE_ALV_GRID_DISPLAY

    Hi all; A little question, I am implementing a editable ALV grid in R/3, for some fields the is an F4 input help available, for others not. (In the data dictionary is an F4 input help available for all fields from the Z-table). What can be wrong, or