• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

access collection data in s:if

 
asif rafique
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i m displaying a collection using a s:iterator tag which works fine



here beanList is an ArrayList containing bean objects with properties name and fname
my problem is when i did this



here i m checking if name property is null then display some message but if condition never return true i can't find what is wrong here
please help me out
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're calling getName() on beanList--the collection.
 
asif rafique
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
got your point thanks for your reply
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic