Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts display:column when/otherwise

 
Pierre-Yves Chibon
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am facing a small problem in my jsp.



It compiles fine, but does not work.
The problem comes from the test:
<c:when test="row.method == 'test'}" >
is not correct, neither is:
<c:when test="foobar.method == 'test'" > (which actually even crash when ran)

Playing with the id of the display:table does not seem to change a thing.


It is probably very simple but the last hour I spent in google did not help me...

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.
 
Pierre-Yves Chibon
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry and thanks for moving it.
 
Pierre-Yves Chibon
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so I finally got something working via:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic