I have a web application using struts and it works fine with IE 7, however in
IE 6 I am getting null for all of the form values. Do I need to use a older
version of struts or am I doing something in my JSP that is clearing the
table? 

Here is my JSP:

<%@ page contentType="text/html; charset=iso-8859-1" language="java"
import="java.sql.*" errorPage="" %>
<%--
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library... action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
--%>
<%--
<[EMAIL PROTECTED] uri="http://java.sun.com/jsp/jstl/core"; prefix="c"%> 
--%>

<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"; prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"; prefix="html" %>
<%@ taglib uri="http://ditchnet.org/jsp-tabs-taglib"; prefix="tab" %>

<%@ page import="com.sys.harps.usermanagement.RoleUtil" %>
<%@ page import="com.sys.harps.accesscontrol.CheckAccess" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet"
href="<%=request.getContextPath()%>/stylesheets/application.css"
type="text/css">
        <title>HARPS User Management</title>
        <script language="javascript" src="roleMethods.js">                     
  
        </script>
        
        <tab:tabConfig />
    </head>
    
    <body>
        <%-- Checks that the user has Admin Privileges (incase they are
trying to access the page directly through the URL) --%>
        <%-- COMMENT OUT FOR NON-JOSSO VERSION 
        <%
if(!CheckAccess.CheckAccessControl(request.getUserPrincipal().getName(), 1))
{
            response.sendRedirect(request.getContextPath() +
"/authorizationError.jsp");
            } 
        %>
          END NON-JOSSO COMMENTING --%>

    <tab:tabContainer id="role-management">
        <tab:tabPane id="roleAssignment" tabTitle="Assign Roles"> 
            <h1> Add Users to a Role </h1>
            
            <table width="100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td align="center"><html:errors/></td>
                </tr>
            </table>  
            
            <html:form action="/LoadUsers.do" target="mainFrameportal">
                <html:hidden name="command" property="command"
value="initial"/>                
                
                <table>
                    <tr>
                        <td>Roles:</td>
                        <td>Current Users in Role:</td>
                        <td>All HARPS Users:</td>
                    </tr>
                    <tr>
                        <td>
                            <html:select property="rolesList_id"
multiple="false" size="10" onclick="submit()">
                                <html:options collection="roleList"
property="value" labelProperty="label"/>
                            </html:select>
                        </td>
                        <td>
                            <html:select property="userRoleList_id"
multiple="true" size="10">
                                <html:options collection="userRoleList"
property="value" labelProperty="label"/>
                            </html:select>
                        </td>
                        <td>             
                            <html:select property="userList_id"
multiple="true" size="10">
                                <html:options collection="userList"
property="value" labelProperty="label"/>
                            </html:select> 
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td></td>
                        <td></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><html:checkbox
property="emailOption"/><bean:message key="email.option"/></td>
                        <td></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td></td>
                        <td></td>
                    </tr>
                    <tr>
                        <td slign="center"><html:button
property="removeRole" value="Remove Role" onclick="if(confirmAction())
{command.value='removeRole';submit()}"/></td>
                        <td align="center"><html:button
property="removeUser" value="Remove User >>"
onclick="command.value='remove';submit()"/></td>
                        <td align="center"><html:button property="addUser"
value="<< Add User" onclick="command.value='addUser';submit()"/></td>
                    </tr>
                </table>
             </html:form> 
        </tab:tabPane> ...

Thank you for any suggestions!! %-|

-- Shanna --
-- 
View this message in context: 
http://www.nabble.com/Action-Form-values-are-null-on-submit-tp17328130p17328130.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to