wood burning stoves 2.0*
The moose likes Struts and the fly likes urgent: Please help: logic:iterate tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "urgent: Please help: logic:iterate tag" Watch "urgent: Please help: logic:iterate tag" New topic
Author

urgent: Please help: logic:iterate tag

Dolly Patel
Greenhorn

Joined: Nov 25, 2002
Posts: 4
can somebody please help me with logic:iterate tag....Here's a peice of my code....it doesnot seem to work....
<logic:iterate id="search" name="genSearchForm" property="mfrnames" >
<tr>
<td align="left">
<bean:write name="search" property="mfrname" />
</td>
</tr>
Adam Hardy
Ranch Hand

Joined: Oct 09, 2001
Posts: 566
There are many things that can go wrong with taglibs. From your tag, it seems OK.
However your beans might not be correct. What sort of error or problem do you have?
Also it is important to name your beans according to the Javabean Specification. It might not be the problem, but is the property mfrnames associated with bean getter and setters called getMfrnames() and setMfrnames()?
Normally you would use getMfrNames(), with the first letter of each real word capitalized.
HTH


I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Anitha Lingam
Ranch Hand

Joined: Apr 21, 2002
Posts: 38
Please specify what kind of problem you are getting.
Please check the following
1.Spcify your bean with the type attribute in the logic:iterate start tag
2.What is the scope of your genSearchForm.Request/Session?
Specify it with your scope attribute.
3.Have you given the closing tag </logic:iterate>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: urgent: Please help: logic:iterate tag