You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Brown, Melonie S. - Contractor" <Me...@forscom.army.mil> on 2003/07/02 22:14:13 UTC

Re: Html-El Form and Indexed Tags Problem [solution]

Thanks Sandeep - Here's what worked:

1) I changed the preload form action and the form processing action to be
session scoped instead of request
2) Modified jsp as follows:

<html-el:form action="/setUserPerms.do">  
   <logic-el:iterate name="UserPermissions" property="userPerms"
id="userPerms">       
      <div class="formrow">
        <div class="label">
             <label><c:out value="${userPerms.description}"/></label>
         </div>
         <div class="widget">
              <html-el:text indexed="true" name="userPerms"
property="permission" />  
         </div>
     </div>
   </logic-el:iterate> 
   
   <div class="formrow">
       <div class="label">
          &nbsp;
       </div>
       <div class="widget">
          <html-el:submit property="submit" />
       </div>
   </div>
</html-el:form>

-------- Original Message --------
Subject: Re: Html-El Form and Indexed Tags Problem
Date: Wed, 2 Jul 2003 12:15:55 -0700 (PDT)
From: Sandeep Takhar <sa...@yahoo.com>
Reply-To: Struts Users Mailing List <st...@jakarta.apache.org>
Newsgroups: gmane.comp.jakarta.struts.user
References:
<8D...@FCSMTHHQL01.forscom.army.mil>

I don't think you want the [ctr] and keep
indexed="true"

The thing you are iterating on is already doing the
[ctr] for you.

sandeep

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org