Hi
Sorry for bothering u guys , I could figure out the
mistake
But now the problem is , I dont get the values vback
in the Action (when submit is hit).
I am using form oy type DynaValidatorForm
and my Form Bean has all the properties of type String

Can u pl help.

Thanks

Floowing is the JSP Page :-



<%@ page language="java" import="java.util.*"%>
<%@ page
import="org.questforum.fwork.struts.DisplayLists"%>
<%@ page import="org.questforum.fwork.WP.UserWP"%>

<%@ page
import="org.questforum.fwork.struts.StringConstants"%>
<%@ page
import="org.questforum.fwork.core.perm.UserPermission"%>
<%@ page
import="org.questforum.fwork.struts.GeneralService"%>
<%@ page
import="org.questforum.fwork.struts.WrapperClass" %>

<%@ taglib uri="http://struts.apache.org/tags-bean";
prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html";
prefix="html"%>
<%@ taglib
uri="http://jakarta.apache.org/struts/tags-logic";
        prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jstl/core";
prefix="c"%>


<%
String strContactId =
request.getParameter("contactId");
UserWP objUserWp = (UserWP)
session.getAttribute(StringConstants.strUserObject);

String []listOfAllPerms = DisplayLists.getAllUserPerms
();
WrapperClass userPerms =
DisplayLists.getPermissionForUser(Integer.parseInt
(strContactId));

pageContext.setAttribute("userPerms", userPerms);
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"
name="listOfAllPerms">
                <html:multibox name="userPerms"
property="collectionObj" >
                        <bean:write name="itrListOfAllPerms" />
                </html:multibox>
                <bean:write name="itrListOfAllPerms"/>
                <br>
        </logic:iterate>
        
        <br>
        <html:submit property="PermActions">
                <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