I would like to create a page which gives shows User
Permissions for some website in form of Checkboxes

String Array listOfPerms => Permissions which are to
be checked 
String Array listOfAllPerms => All the Permissions

I get a null pointer Exception : null Attribute name
I m not able to figure out wht is wrong

Pl lemme knw , what is wrong


Thanks



Fllowing is the jsp page


<%
String strContactId =
request.getParameter("contactId");
UserWP objUserWp = (UserWP)
session.getAttribute(StringConstants.strUserObject);
String [] listOfPerms =
DisplayLists.getPermissionForUser(Integer.parseInt
(strContactId));
String []listOfAllPerms = DisplayLists.getAllUserPerms
();

pageContext.setAttribute("listOfPerms", listOfPerms);
pageContext.setAttribute("listOfAllPerms",
listOfAllPerms);


%>
<html>
<head>
<title><bean:message key="editUserPerm.page.title"
/></title>
</head>

<body>
<bean:message key="editUserPerm.page.title" />
<br>
<html:form action="editUserPermAction">
        <logic:iterate id = "itrListOfAllPerms"
property="listOfAllPerms">
                <html:multibox property="listOfPerms">
                        <bean:write name="itrListOfAllPerms"/>
                </html:multibox>
                <bean:write name="itrListOfAllPerms"/>
                <br>
        </logic:iterate>
        
        <br>
        <html:submit>
                <bean:message key="editUserPerm.back" />
        </html:submit>
</html:form>
<html:errors />


</body>
</html>



                
__________________________________________________________
How much free photo storage do you get? Store your friends 'n family snaps for 
FREE with Yahoo! Photos http://in.photos.yahoo.com

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

Reply via email to