aspose file tools*
The moose likes Struts and the fly likes Struts display:column when/otherwise Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts display:column when/otherwise" Watch "Struts display:column when/otherwise" New topic
Author

Struts display:column when/otherwise

Pierre-Yves Chibon
Greenhorn

Joined: May 04, 2010
Posts: 3
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

Joined: Jan 10, 2002
Posts: 61606
    
  67

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Pierre-Yves Chibon
Greenhorn

Joined: May 04, 2010
Posts: 3
Sorry and thanks for moving it.
Pierre-Yves Chibon
Greenhorn

Joined: May 04, 2010
Posts: 3
so I finally got something working via:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts display:column when/otherwise