Re: logic:iterate beans and el

2004-06-09 Thread pls
thanks for the reality check rick "Rick Reumann" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > pls wrote: > > > found out that in tomcat 4.1, el can ONLY be used inside of the jstl tags. > > downloading tomcat 5 right now.. > > Not sure w

Re: logic:iterate beans and el

2004-06-07 Thread pls
found out that in tomcat 4.1, el can ONLY be used inside of the jstl tags. downloading tomcat 5 right now.. "pls" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 'bean1' is a bean created by logic:iterate and contains 'myHashMap'. > > I

logic:iterate beans and el

2004-06-07 Thread pls
'bean1' is a bean created by logic:iterate and contains 'myHashMap'. I am trying to access the 'key' property of the bean so that i can set the property -'prop1'. setting the value of 'prop1' changes the value returned from the getter for 'prop2'. I have tried the following but it sets 'prop1' t

Re: multibox mayhem

2004-06-02 Thread pls
i had to add tags around the because there were some trailing 'null' values in the Integer[] after reading from DB. "pls" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have one multibox per page on a few pages. > Each page name is represented by

multibox mayhem

2004-06-02 Thread pls
I have one multibox per page on a few pages. Each page name is represented by the 'key' property of a HashMap. Each selected checkbox number is stored in Integer[]'s in the 'value' property of a HashMap. After selecting all of the checks, the user is forwarded to a confirmation.jsp which displays

Re: How to set an ActionForm to null

2004-05-14 Thread pls
EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > pls, > If the form exists in session scope, then you need to > remove it from session using the > request.getSession.removeAttribute() method > call. Otherwise, when the JSP page is executed, struts > will use the for

Re: How to set an ActionForm to null

2004-05-14 Thread pls
that won't change the form as it exists in session scope, only temporarily in the action.. thanks anyways "Kiran Kumar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > just a guess in ur execute method try this > > form = null; > > > > ---

Re: How to set an ActionForm to null

2004-05-13 Thread pls
.. "Amol Yadwadkar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Has your ActionMappings at Struts-config.xml contains the name of the form > which you are using ? > > > -Original Message- > From: pls [mailto:[EMAIL PROTECTED] > Sent: Frida

Re: How to set an ActionForm to null

2004-05-13 Thread pls
nForward execute(ActionMapping mapping, ActionForm form, > HttpServletRequest req, HttpServletResponse res) { > > ... > ... > mapping.setAttribute(null); > > } > > Hope this may help you!!! > --Amol > > -Original Message- > From: pls [mailto

How to set an ActionForm to null

2004-05-13 Thread pls
hi there, i am trying to set an actionform to null after inserting it's properties into a DB. then, control is forwarded to a different action and the info is read from the DB back into the actionform for display by a JSP. the only part that is giving me trouble is with explicitly setting my acti

Re: iterate through a HashMap of Integer[]'s

2004-04-21 Thread pls
thanks Bill! "Bill Siggelkow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > When you iterate through a map you are iterating through the Set of > Map.Entry values. The Map.Entry encapsulate a key-value pair. > Map.Entry has a "key" property and a "value" property. In your case, th