Correction after posting this. I didnt found the code. Kindly accept this correction. I am replying with a modified thread
rameshraod wrote: > > In the following code. I am collecting the data from DB n i am displaying. > All this stuff in JSP. That JSP page is refreshed for every 5 seconds. > Here my intention is, i want to show the value 'Available' when > breakstatus=1. If the breakstatus = 2 it show the time(difference between > current time and the time when he started to take break, that means spend > time). If that time exceeded to more than 15 mins. The background color > will be changed to red for the property 'status'. > Kindly find the solution for this one. Pls suggest me. > <sql:query var="user"> > select * from breakdetails where loginstatus=1 and breakstatus !=0 and > TL!= 'Default' and TL!='B. SHASHANK' order by tl > </sql:query> > <c:set var="i" value="0" /> > <display:table name="${user.rows}" export="true" id="row" > class="dataTable" pagesize="10" cellspacing="2"> > <display:column property="empid" title="EmpId" class="empid" > headerClass="empid" /> > <display:column property="empname" title="EmpName" sortable="true" > class="empname" headerClass="empname" /> > <display:column property="tl" title="TL" sortable="true" class="tl" > headerClass="tl" /> > <display:column property="breaktype" title="Break Type" sortable="true" > class="breaktype" headerClass="breaktype" /> > <display:column property="status" title="Status" sortable="true" > style="background-color:'${Color}'" class="status" headerClass="status" /> > </display:table> > > -- View this message in context: http://old.nabble.com/Kindly-provide-the-solution-for-my-project.-I-am-not-able-to-solve-since-one-month.-tp26679829p26686807.html Sent from the DisplayTag - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user