This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

urgent: Please help: logic:iterate tag

 
Dolly Patel
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 567
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Anitha Lingam
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic