Hello guys,
I'm working for the first time on Struts.
I need your help for a easy (I think) question.
In my Jsp I've a table in which I populate rows from a list in a bean, in
this way.
<table class="borderAll">
<c:forEach var="film" items="${films}" varStatus="status">
        <tr class="${status.index%2==0?'even':'odd'}">
            <td class="nowrap"><c:out value="${film.text1}"/></td>            
            <td class="nowrap"><c:out value="${film.text2}"/></td>
...

This table must be only in reading way and it works correctly.
The problem is that in this case each column of grid has a dynamic lenght
(basing on value with max size). I need to set a max size for c:out value,
that is only 'x' char must be shown and rest of chars could be expanded
clicking in correct item.
It's easy to do it adding a inputtext and setting max size, clicking in text
box is possible to see rest of chars.
Which is correct solution?
I've to add a inputtext tag or is there another solution?

Thanks,
Regards
-- 
View this message in context: 
http://www.nabble.com/set-max-size-of-c%3Aout-value-tp20993025p20993025.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to