I have pasted snippet of the code below:

Code:
Code:
   <c:iterate name="list" id="payment" index="idx">
	<tr class="gRowEven"
       
	_paymentTransId="<c:write name="payment" property="claimPaymentTransId" />">

<td class="col6"> <c:exists name="payment" property="property5"></td>
now i have a ModelAndView object being returned from the controller which lists the paymentTransIds that i want to display as bold.
Now my problem is how do i iterate through this List being returned by controller and based on that decide to make the column bold or not.

I have a user defined tag lib as
Code:
Code:
<name>equal</name>
		<tag-class>com.atiam.cl.view.taglib.LogicEqualTag</tag-class>
		<body-content>JSP</body-content>
		<attribute>
			<name>name</name>
			<required>false</required>
			<rtexprvalue>true</rtexprvalue>
		</attribute>
		<attribute>
			<name>parameter</name>
			<required>false</required>
			<rtexprvalue>true</rtexprvalue>
		</attribute>
		<attribute>
			<name>property</name>
			<required>false</required>
			<rtexprvalue>false</rtexprvalue>
		</attribute>
		<attribute>
			<name>value</name>
			<required>false</required>
			<rtexprvalue>true</rtexprvalue>
		</attribute>
		<attribute>
			<name>valueName</name>
			<required>false</required>
			<rtexprvalue>true</rtexprvalue>
		</attribute>
		<attribute>
			<name>valueProperty</name>
			<required>false</required>
			<rtexprvalue>true</rtexprvalue>
		</attribute>
		<attribute>
			<name>valuesDelimiter</name>
			<required>false</required>
			<rtexprvalue>true</rtexprvalue>
		</attribute>
		<attribute>
			<name>ignore</name>
			<required>false</required>
			<rtexprvalue>false</rtexprvalue>
		</attribute>
	</tag>
I was told to use this equal tag and its attributes as
Code:
<inspro:equal name="payment" property="" value="F">
So instead of "F" I want to call my list in controller or I could make it a map and select that from the map to make it bold. But the point is how do i do it?
I am completely clueless. please help!!
Thanks

Reply With Quote