Re: problem in Struts

2009-03-27 Thread benjamin haimerl
hi, the index.jsp you post in here, does not have a link to search.jsp just 2 lines of text. So i cant reproduce the error you described. For example this index.jsp presents a link to search.jsp and it works: (of course html:link will work too) <%@ taglib uri="http://struts.apache.org/tags-html

RE: Problem in Struts Tags

2005-07-19 Thread raghavendra
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 6:06 PM To: Struts Users Mailing List Subject: re: Problem in Struts Tags the problem is that row is a generic object until you cast it i think. I have used this in then past by using syntax

RE: Problem in Struts Tags

2005-07-19 Thread raghavendra
Hi BHansard U r wrong the following not works, jsp page d't compile " /> -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 6:06 PM To: Struts Users Mailing List Subject: re: Problem in Struts Tags the problem is that row

re: Problem in Struts Tags

2005-07-19 Thread BHansard
ou would have to cast the get to a string as it will return a generic object as well. Paul Moody <[EMAIL PROTECTED]> Paul Moody <[EMAIL PROTECTED]> 07/19/2005 07:53 AM Please respond to "Struts Users Mailing List" To 'Struts Users Mailing List'

re: Problem in Struts Tags

2005-07-19 Thread Paul Moody
n JSP > page why? > type="java.util.HashMap"> >value="<%=row.get("VALUE")%>"/> > > -Original Message----- > From: Paul Moody [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 19, 2005 3:38 PM > To: Struts Users Mailing

re: Problem in Struts Tags

2005-07-19 Thread raghavendra
D] Sent: Tuesday, July 19, 2005 3:38 PM To: Struts Users Mailing List Subject: RE: Problem in Struts Tags I would expect you to have a problem with the jsp. You have an ArrayList with each element being a Map. When you iterate over the ArrayList with the logic:iterate tag each element, identified b

RE: Problem in Struts Tags

2005-07-19 Thread Paul Moody
property="VALUE"/>"/> > > > > > -----Original Message- > From: Marsh-Bourdon, Christopher > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 19, 2005 3:21 PM > To: 'Struts Users Mailing List'; > [EMAIL PROTECTED] > Cc: [EMA

RE: Problem in Struts Tags

2005-07-19 Thread raghavendra
m: Marsh-Bourdon, Christopher [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 3:21 PM To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Problem in Struts Tags You are adding the HashMap as an item to the ArrayList, not replacing the contents of

RE: Problem in Struts Tags

2005-07-19 Thread Marsh-Bourdon, Christopher
You are adding the HashMap as an item to the ArrayList, not replacing the contents of the ArrayList with the contents of the HashMap. Try this: List shippers = new ArrayList(map); Instead of: shippers.add(map); And get rid of: ArrayList shippers = new ArrayList(); Cheers Christopher Marsh