If you needed a server side solution then the object in cmsList that
contains that message also contains a boolean property of inError or
something you can check in your EL.
when test="${docError}"
If you can rely on javascript, just have it post process the table and
style the row according to the TD value of some element.
Gregg
st17901 wrote:
> I’m trying to display a table with messages based on a users input. If they
> entered a wrong input I want to change the formatting of the message. (see
> image)
> http://www.nabble.com/file/p16396513/Untitled-1.gif
>
> Here is the code that prints the columns,
>
> <ec:table title="Physical File Results"
> items="cmslist"
> var="phyFileResult"
> filterable="false"
> sortable="false"
> showPagination="true"
> showExports="true"
> autoIncludeParameters="false">
> <ec:row>
> <ec:column property="docNumber" title="Docket Number" style="width:20%;"/>
> <ec:column property="docMessage" title="Message" />
> </ec:row>
> </ec:table>
>
> I’m not sure how to write the the <c:choose> to check for the message
> “Error: Docket number is wrong”
>
> <ec:row>
> <ec:column property="docNumber" title="Docket Number"
> style="width:20%;"/>
> <c:choose>
> <c:when test='${}'>
> <ec:column property="docMessage" title="Message"
> style="font-weight:bold; color: #990000" />
> </c:when>
> <c:otherwise>
> <ec:column property="docMessage" title="Message" style="color:
> #000000"/>
> </c:otherwise>
> </c:choose>
> </ec:row>
>
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users