Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help with display tags  RSS feed

 
Sumithab Baskaran
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a search screen and I am using display tag to display the search results(columns). The searchResultsList is an ArrayList. This ArrayList consists of a column called message. If this message is set, the rest of the searchResultsList will be empty. The messsage property can have 3 values (A, B and C). Depending upon the message, I need to display 3 different error messages. That is, if it is A - i need to display X message
if it is B - i need to display Y message
if it is C - i need to display Z message

If the searchResultsList is completely empty, I use
display:setProperty name="basic.msg.empty_list" value="No items found."

How do I display the other error messages. I need to do it in the same screen.
Please help!
[ October 13, 2005: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The display tags are not part of the JSP standard set. Who/what defines them?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!