Ok I looked over everything in the archives i could find and I am still
confused.  I built my setup according to this article:
http://www.developer.com/java/other/article.php/2233591

I have a class
public class PermissionLine {

private String name;

private String description;

private String available;

with appropriate getters and setters



my struts config looks like so

<form-bean name="edituserForm"
type="org.apache.struts.action.DynaActionForm">

<form-property name="permissions" type="salesweb.PermissionLine[]"/>

</form-bean>

I have an action I'd like to preopulate this form with values then forward
to a jsp for displaying.. here's the action config

<action path="/edituser" type="salesweb.EditUserAction"

attribute="edituserForm"

scope="request">

<set-property property="secure" value="false"/>

<forward name="success" path=".Admin.EditUser"/>

</action>



What I am confused on is how do I get an instance of the form class and then
populate it and have the array of my beans grow correctly?  And also how I
store that back into the request or wherever it needs to go so that my jsp
can display the values then post eventually to another action.  I also read
there is some kind of bug with using this in request scope and using
checkboxes (which is what I want to use).. any info on how to work around
that would be appreciated.

Help appreciated thanks!


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

Reply via email to