This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 60082
    
  65

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
 
Similar Threads
Display Tag horizontal scroll bar issues
Comparing values using JSTL
How to add get the checkbox selected value from the display tag
Getting Checkbox value - DisplayTag library
getLocaleResolverInstance No LocaleResolver configured. - error in display table