ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hans...@apache.org
Subject svn commit: r917405 [3/4] - in /ofbiz/trunk/specialpurpose/ebaystore: ./ config/ data/ data/helpdata/ documents/ entitydef/ script/org/ofbiz/ebaystore/ servicedef/ webapp/ebaystore/WEB-INF/ webapp/ebaystore/WEB-INF/actions/automationPreferences/ webapp...
Date Mon, 01 Mar 2010 07:20:31 GMT
Modified: ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/feedback/LeaveFeedback.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/feedback/LeaveFeedback.ftl?rev=917405&r1=917404&r2=917405&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/feedback/LeaveFeedback.ftl (original)
+++ ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/feedback/LeaveFeedback.ftl Mon Mar  1 07:20:30 2010
@@ -18,516 +18,516 @@
 -->
 <#if results.itemsAwaitingFeedback?has_content>
 <script>
-	var active = "";
-	function overStar(obj){
-		if(obj.src.match("starActive")){
-			active = obj.src;
-		}else{
-			active = "";
-		}
-		obj.src = "/images/rate/starHover.gif";
-	}
-	function outStar(obj){
-		if(active != "" || obj.src == "/images/rate/starActive.gif"){
-			obj.src = "/images/rate/starActive.gif";
-		}else{
-			obj.src = "/images/rate/starDefault.gif";
-		}
-	}
-	function setRate(name,numstar,obj,feedbackCounter){
-		for(i=1; i<=5; i++){
-			id = "star"+name+feedbackCounter+"_"+i;
-			if(numstar>=i){
-				document.getElementById(id).src = "/images/rate/starActive.gif";
-			}else{
-				document.getElementById(id).src = "/images/rate/starDefault.gif";
-			}
-		}
-		
-		active = "/images/rate/starActive.gif";
-		setTo = name+feedbackCounter;
-		document.getElementById(setTo).value = numstar;
-	}
+    var active = "";
+    function overStar(obj){
+        if(obj.src.match("starActive")){
+            active = obj.src;
+        }else{
+            active = "";
+        }
+        obj.src = "/images/rate/starHover.gif";
+    }
+    function outStar(obj){
+        if(active != "" || obj.src == "/images/rate/starActive.gif"){
+            obj.src = "/images/rate/starActive.gif";
+        }else{
+            obj.src = "/images/rate/starDefault.gif";
+        }
+    }
+    function setRate(name,numstar,obj,feedbackCounter){
+        for(i=1; i<=5; i++){
+            id = "star"+name+feedbackCounter+"_"+i;
+            if(numstar>=i){
+                document.getElementById(id).src = "/images/rate/starActive.gif";
+            }else{
+                document.getElementById(id).src = "/images/rate/starDefault.gif";
+            }
+        }
+        
+        active = "/images/rate/starActive.gif";
+        setTo = name+feedbackCounter;
+        document.getElementById(setTo).value = numstar;
+    }
 </script>
 <form name="leaveFeedback" action="<@ofbizUrl>sendLeaveFeedback</@ofbizUrl>" method="post">
-	<input type="hidden" value="${parameters.productStoreId}" name="productStoreId"/>
+    <input type="hidden" value="${parameters.productStoreId}" name="productStoreId"/>
 <table cellspacing="0" class="basic-table">
-	<tbody>
-		<tr class="header-row">
-			<td>Item</td>
-			<td width="600">Rate this transaction</td>
-			<td>Role</td>
-		</tr>
-		<#assign row = "alternate-row">
-		<#assign FeedbackSize = 0>
-		<#assign feedbackCounter = 0>
-		<#assign role = "">
-		<#if parameters.role?has_content>
-			<#assign role = parameters.role>
-		</#if>
-		<#list results.itemsAwaitingFeedback as leaveFeedback>
-		<#if !leaveFeedback.commentType?has_content>
-		<#if parameters.role?has_content && parameters.transactionId?has_content && parameters.targetUser?has_content && parameters.commentingUser?has_content>
-			<#if parameters.transactionId == leaveFeedback.transactionID && parameters.itemId == leaveFeedback.itemID>
-				<#if role == "buyer">
-					<#assign feedbackCounter = feedbackCounter + 1>
-					<#if row == "">
-						<#assign row = "alternate-row">
-					<#else>
-						<#assign row = "">
-					</#if>
-					<input type="hidden" value="${leaveFeedback.itemID}" name="itemId${feedbackCounter}"/>
-					<input type="hidden" value="${leaveFeedback.transactionID}" name="transactionId${feedbackCounter}"/>
-					<input type="hidden" value="${leaveFeedback.userID}" name="targetUser${feedbackCounter}"/>
-					<input type="hidden" value="${leaveFeedback.commentingUser}" name="commentingUser${feedbackCounter}"/>
-					<input type="hidden" value="${leaveFeedback.role}" name="role${feedbackCounter}"/>
-					<tr class="${row}" style="border:#eeeeee solid thin">
-						<td valign="top">
-						${leaveFeedback.itemID} - ${leaveFeedback.title}
-						<a target="_blank" href="http://payments.sandbox.ebay.com/ws/eBayISAPI.dll?ViewPaymentStatus&transId=${leaveFeedback.transactionID}&ssPageName=STRK:MESOX:VPS&itemid=${leaveFeedback.itemID}">order details</a>
-						</td>
-						<td>
-							<input type="radio" name="commentType${feedbackCounter}" value="positive" 
-								onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Positive</span>
-							<input type="radio" name="commentType${feedbackCounter}" checked="checked" value="none" 
-								onclick="document.getElementById('rate${feedbackCounter}').style.display='none';"/><span>I'll leave Feedback later</span>
-							<div id="rate${feedbackCounter}" style="display:none">
-								<input type="text" value="" maxlength="80" size="80" name="commentText${feedbackCounter}" label="Tell us more"/>
-								<br/>80 characters left<br/><br/>
-							</div>
-						</td>
-						<td>
-							Buyer:<a target="_blank" href="http://myworld.sandbox.ebay.com/${leaveFeedback.userID}">${leaveFeedback.userID}</a>
-						</td>
-					</tr>
-				<#else>
-					<#assign feedbackCounter = feedbackCounter + 1>
-					<#if row == "">
-						<#assign row = "alternate-row">
-					<#else>
-						<#assign row = "">
-					</#if>
-					<input type="hidden" value="${leaveFeedback.itemID}" name="itemId${feedbackCounter}"/>
-					<input type="hidden" value="${leaveFeedback.transactionID}" name="transactionId${feedbackCounter}"/>
-					<input type="hidden" value="${leaveFeedback.userID}" name="targetUser${feedbackCounter}"/>
-					<input type="hidden" value="${leaveFeedback.commentingUser}" name="commentingUser${feedbackCounter}"/>
-					<input type="hidden" value="${leaveFeedback.role}" name="role${feedbackCounter}"/>
-					<tr class="${row}"  style="border:#eeeeee solid thin">
-						<td valign="top">
-						${leaveFeedback.itemID} - ${leaveFeedback.title}
-						<a target="_blank" href="http://payments.sandbox.ebay.com/ws/eBayISAPI.dll?ViewPaymentStatus&transId=${leaveFeedback.transactionID}&ssPageName=STRK:MESOX:VPS&itemid=${leaveFeedback.itemID}">order details</a>
-						</td>
-						<td>
-						<input type="radio" name="commentType${feedbackCounter}" value="positive" 
-							onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Positive</span>
-						<input type="radio" name="commentType${feedbackCounter}" value="neutral" 
-							onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Neutral</span>
-						<input type="radio" name="commentType${feedbackCounter}" value="negative" 
-							onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Negative</span>
-						<input type="radio" name="commentType${feedbackCounter}" checked="checked" value="none" 
-							onclick="document.getElementById('rate${feedbackCounter}').style.display='none';"/><span>I'll leave Feedback later</span>
-						<div id="rate${feedbackCounter}" style="display:none">
-							<input type="text" value="" maxlength="80" size="80" name="commentText${feedbackCounter}" label="Tell us more"/>
-							<br/>80 characters left<br/><br/>
-							<b>Rate details about this purchase</b>
-							<table>
-								<tr>
-									<td>
-										How accurate was the item description?
-									</td>
-									<td>
-										<input id="ItemAsDescribedId${feedbackCounter}" type="hidden" value="0" name="ratingItem${feedbackCounter}"/>
-										<img id="starItemAsDescribedId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',1,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='block'"/>
-										<img id="starItemAsDescribedId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',2,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='block'"/>
-										<img id="starItemAsDescribedId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',3,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
-										<img id="starItemAsDescribedId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',4,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
-										<img id="starItemAsDescribedId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',5,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
-									</td>
-								</tr>
-								<tr id="itemOption${feedbackCounter}" style="display:none;border:#eeeeee solid thin;text-indent:10px">
-									<td colspan="2">
-										Why weren't you satisfied with the item description?
-										<table class="answers" width="100%" border="0" cellpadding="0" cellspacing="0">
-											<tbody>
-												<tr>
-													<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="5" type="radio">
-													</td><td>Item was not received</td>
-												</tr>
-												<tr>
-													<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="6" type="radio"></td>
-													<td>Quality did not match item description</td>
-												</tr>
-												<tr>
-													<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="2" type="radio"></td>
-													<td>Item was damaged</td>
-												</tr>
-												<tr>
-													<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="1" type="radio"></td>
-													<td>Item was a counterfeit, replica, or an unauthorized copy</td>
-												</tr>
-												<tr>
-													<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="3" type="radio"></td>
-													<td>Wrong item</td>
-												</tr>
-												<tr>
-													<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="4" type="radio" checked="checked"></td>
-													<td>Other</td>
-												</tr>
-											</tbody>
-										</table>
-									</td>
-								</tr>
-								<tr>
-									<td>
-										How satisfied were you with the seller's communication?
-									</td>
-									<td>
-										<input id="CommResponsivenessId${feedbackCounter}" type="hidden" value="0" name="ratingComm${feedbackCounter}"/>
-										<img id="starCommResponsivenessId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',1,this,${feedbackCounter})"/>
-										<img id="starCommResponsivenessId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',2,this,${feedbackCounter})"/>
-										<img id="starCommResponsivenessId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',3,this,${feedbackCounter})"/>
-										<img id="starCommResponsivenessId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',4,this,${feedbackCounter})"/>
-										<img id="starCommResponsivenessId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',5,this,${feedbackCounter})"/>
-									</td>
-								</tr>
-								<tr>
-									<td>
-										How quickly did the seller ship the item?
-									</td>
-									<td>
-										<input id="ShippingTimeId${feedbackCounter}" type="hidden" value="0" name="ratingShip${feedbackCounter}"/>
-										<img id="starShippingTimeId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',1,this,${feedbackCounter})"/>
-										<img id="starShippingTimeId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',2,this,${feedbackCounter})"/>
-										<img id="starShippingTimeId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',3,this,${feedbackCounter})"/>
-										<img id="starShippingTimeId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',4,this,${feedbackCounter})"/>
-										<img id="starShippingTimeId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',5,this,${feedbackCounter})"/>
-									</td>
-								</tr>
-								<tr>
-									<td>
-										How reasonable were the shipping and handling charges?
-									</td>
-									<td>
-										<input id="ShippingHandlingChargesId${feedbackCounter}" type="hidden" value="0" name="ratingShipHand${feedbackCounter}"/>
-										<img id="starShippingHandlingChargesId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',1,this,${feedbackCounter})"/>
-										<img id="starShippingHandlingChargesId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',2,this,${feedbackCounter})"/>
-										<img id="starShippingHandlingChargesId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',3,this,${feedbackCounter})"/>
-										<img id="starShippingHandlingChargesId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',4,this,${feedbackCounter})"/>
-										<img id="starShippingHandlingChargesId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',5,this,${feedbackCounter})"/>
-									</td>
-								</tr>
-							</table>
-						</div>
-						</td>
-						<td>
-							Seller:<a target="_blank" href="http://myworld.sandbox.ebay.com/${leaveFeedback.userID}">${leaveFeedback.userID}</a>
-						</td>
-					</tr>
-				</#if>
-			</#if>
-		<#elseif role=="buyer">
-			<#if leaveFeedback.role == "buyer">
-				<#assign feedbackCounter = feedbackCounter + 1>
-				<#if row == "">
-					<#assign row = "alternate-row">
-				<#else>
-					<#assign row = "">
-				</#if>
-				<input type="hidden" value="${leaveFeedback.itemID}" name="itemId${feedbackCounter}"/>
-				<input type="hidden" value="${leaveFeedback.transactionID}" name="transactionId${feedbackCounter}"/>
-				<input type="hidden" value="${leaveFeedback.userID}" name="targetUser${feedbackCounter}"/>
-				<input type="hidden" value="${leaveFeedback.commentingUser}" name="commentingUser${feedbackCounter}"/>
-				<input type="hidden" value="${leaveFeedback.role}" name="role${feedbackCounter}"/>
-				<tr class="${row}" style="border:#eeeeee solid thin">
-					<td valign="top">
-					${leaveFeedback.itemID}]${leaveFeedback.title}
-					<a target="_blank" href="http://payments.sandbox.ebay.com/ws/eBayISAPI.dll?ViewPaymentStatus&transId=${leaveFeedback.transactionID}&ssPageName=STRK:MESOX:VPS&itemid=${leaveFeedback.itemID}">order details</a>
-					</td>
-					<td>
-						<input type="radio" name="commentType${feedbackCounter}" value="positive" 
-							onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Positive</span>
-						<input type="radio" name="commentType${feedbackCounter}" checked="checked" value="none" 
-							onclick="document.getElementById('rate${feedbackCounter}').style.display='none';"/><span>I'll leave Feedback later</span>
-						<div id="rate${feedbackCounter}" style="display:none">
-							<input type="text" value="" maxlength="80" size="80" name="commentText${feedbackCounter}" label="Tell us more"/>
-							<br/>80 characters left<br/><br/>
-						</div>
-					</td>
-					<td>
-						Buyer:<a target="_blank" href="http://myworld.sandbox.ebay.com/${leaveFeedback.userID}">${leaveFeedback.userID}</a>
-					</td>
-				</tr>
-			</#if>
-		<#elseif role == "seller">
-			<#if leaveFeedback.role == "seller">
-				<#assign feedbackCounter = feedbackCounter + 1>
-				<#if row == "">
-					<#assign row = "alternate-row">
-				<#else>
-					<#assign row = "">
-				</#if>
-				<input type="hidden" value="${leaveFeedback.itemID}" name="itemId${feedbackCounter}"/>
-				<input type="hidden" value="${leaveFeedback.transactionID}" name="transactionId${feedbackCounter}"/>
-				<input type="hidden" value="${leaveFeedback.userID}" name="targetUser${feedbackCounter}"/>
-				<input type="hidden" value="${leaveFeedback.commentingUser}" name="commentingUser${feedbackCounter}"/>
-				<input type="hidden" value="${leaveFeedback.role}" name="role${feedbackCounter}"/>
-				<tr class="${row}"  style="border:#eeeeee solid thin">
-					<td valign="top">
-					${leaveFeedback.itemID} - ${leaveFeedback.title}
-					<a target="_blank" href="http://payments.sandbox.ebay.com/ws/eBayISAPI.dll?ViewPaymentStatus&transId=${leaveFeedback.transactionID}&ssPageName=STRK:MESOX:VPS&itemid=${leaveFeedback.itemID}">order details</a>
-					</td>
-					<td>
-					<input type="radio" name="commentType${feedbackCounter}" value="positive" 
-						onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Positive</span>
-					<input type="radio" name="commentType${feedbackCounter}" value="neutral" 
-						onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Neutral</span>
-					<input type="radio" name="commentType${feedbackCounter}" value="negative" 
-						onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Negative</span>
-					<input type="radio" name="commentType${feedbackCounter}" checked="checked" value="none" 
-						onclick="document.getElementById('rate${feedbackCounter}').style.display='none';"/><span>I'll leave Feedback later</span>
-					<div id="rate${feedbackCounter}" style="display:none">
-						<input type="text" value="" maxlength="80" size="80" name="commentText${feedbackCounter}" label="Tell us more"/>
-						<br/>80 characters left<br/><br/>
-						<b>Rate details about this purchase</b>
-						<table>
-							<tr>
-								<td>
-									How accurate was the item description?
-								</td>
-								<td>
-									<input id="ItemAsDescribedId${feedbackCounter}" type="hidden" value="0" name="ratingItem${feedbackCounter}"/>
-									<img id="starItemAsDescribedId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',1,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='block'"/>
-									<img id="starItemAsDescribedId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',2,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='block'"/>
-									<img id="starItemAsDescribedId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',3,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
-									<img id="starItemAsDescribedId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',4,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
-									<img id="starItemAsDescribedId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',5,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
-								</td>
-							</tr>
-							<tr id="itemOption${feedbackCounter}" style="display:none;border:#eeeeee solid thin;text-indent:10px">
-								<td colspan="2">
-									Why weren't you satisfied with the item description?
-									<table class="answers" width="100%" border="0" cellpadding="0" cellspacing="0">
-										<tbody>
-											<tr>
-												<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="5" type="radio">
-												</td><td>Item was not received</td>
-											</tr>
-											<tr>
-												<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="6" type="radio"></td>
-												<td>Quality did not match item description</td>
-											</tr>
-											<tr>
-												<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="2" type="radio"></td>
-												<td>Item was damaged</td>
-											</tr>
-											<tr>
-												<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="1" type="radio"></td>
-												<td>Item was a counterfeit, replica, or an unauthorized copy</td>
-											</tr>
-											<tr>
-												<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="3" type="radio"></td>
-												<td>Wrong item</td>
-											</tr>
-											<tr>
-												<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="4" type="radio" checked="checked"></td>
-												<td>Other</td>
-											</tr>
-										</tbody>
-									</table>
-								</td>
-							</tr>
-							<tr>
-								<td>
-									How satisfied were you with the seller's communication?
-								</td>
-								<td>
-									<input id="CommResponsivenessId${feedbackCounter}" type="hidden" value="0" name="ratingComm${feedbackCounter}"/>
-									<img id="starCommResponsivenessId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',1,this,${feedbackCounter})"/>
-									<img id="starCommResponsivenessId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',2,this,${feedbackCounter})"/>
-									<img id="starCommResponsivenessId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',3,this,${feedbackCounter})"/>
-									<img id="starCommResponsivenessId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',4,this,${feedbackCounter})"/>
-									<img id="starCommResponsivenessId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',5,this,${feedbackCounter})"/>
-								</td>
-							</tr>
-							<tr>
-								<td>
-									How quickly did the seller ship the item?
-								</td>
-								<td>
-									<input id="ShippingTimeId${feedbackCounter}" type="hidden" value="0" name="ratingShip${feedbackCounter}"/>
-									<img id="starShippingTimeId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',1,this,${feedbackCounter})"/>
-									<img id="starShippingTimeId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',2,this,${feedbackCounter})"/>
-									<img id="starShippingTimeId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',3,this,${feedbackCounter})"/>
-									<img id="starShippingTimeId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',4,this,${feedbackCounter})"/>
-									<img id="starShippingTimeId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',5,this,${feedbackCounter})"/>
-								</td>
-							</tr>
-							<tr>
-								<td>
-									How reasonable were the shipping and handling charges?
-								</td>
-								<td>
-									<input id="ShippingHandlingChargesId${feedbackCounter}" type="hidden" value="0" name="ratingShipHand${feedbackCounter}"/>
-									<img id="starShippingHandlingChargesId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',1,this,${feedbackCounter})"/>
-									<img id="starShippingHandlingChargesId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',2,this,${feedbackCounter})"/>
-									<img id="starShippingHandlingChargesId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',3,this,${feedbackCounter})"/>
-									<img id="starShippingHandlingChargesId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',4,this,${feedbackCounter})"/>
-									<img id="starShippingHandlingChargesId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',5,this,${feedbackCounter})"/>
-								</td>
-							</tr>
-						</table>
-					</div>
-					</td>
-					<td>
-						Seller:<a target="_blank" href="http://myworld.sandbox.ebay.com/${leaveFeedback.userID}">${leaveFeedback.userID}</a>
-					</td>
-				</tr>
-			</#if>
-		<#else>
-			<#assign feedbackCounter = feedbackCounter + 1>
-			<#if row == "">
-				<#assign row = "alternate-row">
-			<#else>
-				<#assign row = "">
-			</#if>
-			<input type="hidden" value="${leaveFeedback.itemID}" name="itemId${feedbackCounter}"/>
-			<input type="hidden" value="${leaveFeedback.transactionID}" name="transactionId${feedbackCounter}"/>
-			<input type="hidden" value="${leaveFeedback.userID}" name="targetUser${feedbackCounter}"/>
-			<input type="hidden" value="${leaveFeedback.commentingUser}" name="commentingUser${feedbackCounter}"/>
-			<input type="hidden" value="${leaveFeedback.role}" name="role${feedbackCounter}"/>
-			<tr class="${row}">
-				<td>
-				${leaveFeedback.itemID} - ${leaveFeedback.title}
-				<a target="_blank" href="http://payments.sandbox.ebay.com/ws/eBayISAPI.dll?ViewPaymentStatus&transId=${leaveFeedback.transactionID}&ssPageName=STRK:MESOX:VPS&itemid=${leaveFeedback.itemID}">order details</a>
-				</td>
-				<td>
-				<#if leaveFeedback.role == "seller">
-					<input type="radio" name="commentType${feedbackCounter}" value="positive" 
-						onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Positive</span>
-					<input type="radio" name="commentType${feedbackCounter}" value="neutral" 
-						onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Neutral</span>
-					<input type="radio" name="commentType${feedbackCounter}" value="negative" 
-						onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Negative</span>
-					<input type="radio" name="commentType${feedbackCounter}" checked="checked" value="none" 
-						onclick="document.getElementById('rate${feedbackCounter}').style.display='none';"/><span>I'll leave Feedback later</span>
-				<#else>
-					<input type="radio" name="commentType${feedbackCounter}" value="positive" 
-						onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Positive</span>
-					<input type="radio" name="commentType${feedbackCounter}" checked="checked" value="none" 
-						onclick="document.getElementById('rate${feedbackCounter}').style.display='none';"/><span>I'll leave Feedback later</span>
-				</#if>
-				<#if leaveFeedback.role == "seller">
-					<div id="rate${feedbackCounter}" style="display:none">
-						<input type="text" value="" maxlength="80" size="80" name="commentText${feedbackCounter}" label="Tell us more"/>
-						<br/>80 characters left<br/><br/>
-						<b>Rate details about this purchase</b>
-						<table>
-							<tr>
-								<td>
-									How accurate was the item description?
-								</td>
-								<td>
-									<input id="ItemAsDescribedId${feedbackCounter}" type="hidden" value="0" name="ratingItem${feedbackCounter}"/>
-									<img id="starItemAsDescribedId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',1,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='block'"/>
-									<img id="starItemAsDescribedId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',2,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='block'"/>
-									<img id="starItemAsDescribedId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',3,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
-									<img id="starItemAsDescribedId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',4,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
-									<img id="starItemAsDescribedId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',5,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
-								</td>
-							</tr>
-							<tr id="itemOption${feedbackCounter}" style="display:none;border:#eeeeee solid thin;text-indent:10px">
-								<td colspan="2">
-									Why weren't you satisfied with the item description?
-									<table class="answers" width="100%" border="0" cellpadding="0" cellspacing="0">
-										<tbody>
-											<tr>
-												<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="5" type="radio">
-												</td><td>Item was not received</td>
-											</tr>
-											<tr>
-												<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="6" type="radio"></td>
-												<td>Quality did not match item description</td>
-											</tr>
-											<tr>
-												<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="2" type="radio"></td>
-												<td>Item was damaged</td>
-											</tr>
-											<tr>
-												<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="1" type="radio"></td>
-												<td>Item was a counterfeit, replica, or an unauthorized copy</td>
-											</tr>
-											<tr>
-												<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="3" type="radio"/></td>
-												<td>Wrong item</td>
-											</tr>
-											<tr>
-												<td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="4" type="radio"  checked="checked"></td>
-												<td>Other</td>
-											</tr>
-										</tbody>
-									</table>
-								</td>
-							</tr>
-							<tr>
-								<td>
-									How satisfied were you with the seller's communication?
-								</td>
-								<td>
-									<input id="CommResponsivenessId${feedbackCounter}" type="hidden" value="0" name="ratingComm${feedbackCounter}"/>
-									<img id="starCommResponsivenessId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',1,this,${feedbackCounter})"/>
-									<img id="starCommResponsivenessId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',2,this,${feedbackCounter})"/>
-									<img id="starCommResponsivenessId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',3,this,${feedbackCounter})"/>
-									<img id="starCommResponsivenessId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',4,this,${feedbackCounter})"/>
-									<img id="starCommResponsivenessId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',5,this,${feedbackCounter})"/>
-								</td>
-							</tr>
-							<tr>
-								<td>
-									How quickly did the seller ship the item?
-								</td>
-								<td>
-									<input id="ShippingTimeId${feedbackCounter}" type="hidden" value="0" name="ratingShip${feedbackCounter}"/>
-									<img id="starShippingTimeId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',1,this,${feedbackCounter})"/>
-									<img id="starShippingTimeId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',2,this,${feedbackCounter})"/>
-									<img id="starShippingTimeId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',3,this,${feedbackCounter})"/>
-									<img id="starShippingTimeId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',4,this,${feedbackCounter})"/>
-									<img id="starShippingTimeId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',5,this,${feedbackCounter})"/>
-								</td>
-							</tr>
-							<tr>
-								<td>
-									How reasonable were the shipping and handling charges?
-								</td>
-								<td>
-									<input id="ShippingHandlingChargesId${feedbackCounter}" type="hidden" value="0" name="ratingShipHand${feedbackCounter}"/>
-									<img id="starShippingHandlingChargesId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',1,this,${feedbackCounter})"/>
-									<img id="starShippingHandlingChargesId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',2,this,${feedbackCounter})"/>
-									<img id="starShippingHandlingChargesId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',3,this,${feedbackCounter})"/>
-									<img id="starShippingHandlingChargesId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',4,this,${feedbackCounter})"/>
-									<img id="starShippingHandlingChargesId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',5,this,${feedbackCounter})"/>
-								</td>
-							</tr>
-						</table>
-					</div>
-				<#else>
-					<div id="rate${feedbackCounter}" style="display:none">
-						<input type="text" value="" maxlength="80" size="80" name="commentText${feedbackCounter}" label="Tell us more"/>
-						<br/>80 characters left<br/><br/>
-					</div>
-				</#if>
-				</td>
-				<td>
-				<#if leaveFeedback.role == "buyer">
-					Buyer:<a target="_blank" href="http://myworld.sandbox.ebay.com/${leaveFeedback.userID}">${leaveFeedback.userID}</a>
-				<#else>
-					Seller:<a target="_blank" href="http://myworld.sandbox.ebay.com/${leaveFeedback.userID}">${leaveFeedback.userID}</a>
-				</#if>
-				</td>
-			</tr>
-		</#if>
-		</#if>	
-		</#list>
-	</tbody>
+    <tbody>
+        <tr class="header-row">
+            <td>Item</td>
+            <td width="600">Rate this transaction</td>
+            <td>Role</td>
+        </tr>
+        <#assign row = "alternate-row">
+        <#assign FeedbackSize = 0>
+        <#assign feedbackCounter = 0>
+        <#assign role = "">
+        <#if parameters.role?has_content>
+            <#assign role = parameters.role>
+        </#if>
+        <#list results.itemsAwaitingFeedback as leaveFeedback>
+        <#if !leaveFeedback.commentType?has_content>
+        <#if parameters.role?has_content && parameters.transactionId?has_content && parameters.targetUser?has_content && parameters.commentingUser?has_content>
+            <#if parameters.transactionId == leaveFeedback.transactionID && parameters.itemId == leaveFeedback.itemID>
+                <#if role == "buyer">
+                    <#assign feedbackCounter = feedbackCounter + 1>
+                    <#if row == "">
+                        <#assign row = "alternate-row">
+                    <#else>
+                        <#assign row = "">
+                    </#if>
+                    <input type="hidden" value="${leaveFeedback.itemID}" name="itemId${feedbackCounter}"/>
+                    <input type="hidden" value="${leaveFeedback.transactionID}" name="transactionId${feedbackCounter}"/>
+                    <input type="hidden" value="${leaveFeedback.userID}" name="targetUser${feedbackCounter}"/>
+                    <input type="hidden" value="${leaveFeedback.commentingUser}" name="commentingUser${feedbackCounter}"/>
+                    <input type="hidden" value="${leaveFeedback.role}" name="role${feedbackCounter}"/>
+                    <tr class="${row}" style="border:#eeeeee solid thin">
+                        <td valign="top">
+                        ${leaveFeedback.itemID} - ${leaveFeedback.title}
+                        <a target="_blank" href="http://payments.sandbox.ebay.com/ws/eBayISAPI.dll?ViewPaymentStatus&transId=${leaveFeedback.transactionID}&ssPageName=STRK:MESOX:VPS&itemid=${leaveFeedback.itemID}">order details</a>
+                        </td>
+                        <td>
+                            <input type="radio" name="commentType${feedbackCounter}" value="positive" 
+                                onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Positive</span>
+                            <input type="radio" name="commentType${feedbackCounter}" checked="checked" value="none" 
+                                onclick="document.getElementById('rate${feedbackCounter}').style.display='none';"/><span>I'll leave Feedback later</span>
+                            <div id="rate${feedbackCounter}" style="display:none">
+                                <input type="text" value="" maxlength="80" size="80" name="commentText${feedbackCounter}" label="Tell us more"/>
+                                <br/>80 characters left<br/><br/>
+                            </div>
+                        </td>
+                        <td>
+                            Buyer:<a target="_blank" href="http://myworld.sandbox.ebay.com/${leaveFeedback.userID}">${leaveFeedback.userID}</a>
+                        </td>
+                    </tr>
+                <#else>
+                    <#assign feedbackCounter = feedbackCounter + 1>
+                    <#if row == "">
+                        <#assign row = "alternate-row">
+                    <#else>
+                        <#assign row = "">
+                    </#if>
+                    <input type="hidden" value="${leaveFeedback.itemID}" name="itemId${feedbackCounter}"/>
+                    <input type="hidden" value="${leaveFeedback.transactionID}" name="transactionId${feedbackCounter}"/>
+                    <input type="hidden" value="${leaveFeedback.userID}" name="targetUser${feedbackCounter}"/>
+                    <input type="hidden" value="${leaveFeedback.commentingUser}" name="commentingUser${feedbackCounter}"/>
+                    <input type="hidden" value="${leaveFeedback.role}" name="role${feedbackCounter}"/>
+                    <tr class="${row}"  style="border:#eeeeee solid thin">
+                        <td valign="top">
+                        ${leaveFeedback.itemID} - ${leaveFeedback.title}
+                        <a target="_blank" href="http://payments.sandbox.ebay.com/ws/eBayISAPI.dll?ViewPaymentStatus&transId=${leaveFeedback.transactionID}&ssPageName=STRK:MESOX:VPS&itemid=${leaveFeedback.itemID}">order details</a>
+                        </td>
+                        <td>
+                        <input type="radio" name="commentType${feedbackCounter}" value="positive" 
+                            onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Positive</span>
+                        <input type="radio" name="commentType${feedbackCounter}" value="neutral" 
+                            onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Neutral</span>
+                        <input type="radio" name="commentType${feedbackCounter}" value="negative" 
+                            onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Negative</span>
+                        <input type="radio" name="commentType${feedbackCounter}" checked="checked" value="none" 
+                            onclick="document.getElementById('rate${feedbackCounter}').style.display='none';"/><span>I'll leave Feedback later</span>
+                        <div id="rate${feedbackCounter}" style="display:none">
+                            <input type="text" value="" maxlength="80" size="80" name="commentText${feedbackCounter}" label="Tell us more"/>
+                            <br/>80 characters left<br/><br/>
+                            <b>Rate details about this purchase</b>
+                            <table>
+                                <tr>
+                                    <td>
+                                        How accurate was the item description?
+                                    </td>
+                                    <td>
+                                        <input id="ItemAsDescribedId${feedbackCounter}" type="hidden" value="0" name="ratingItem${feedbackCounter}"/>
+                                        <img id="starItemAsDescribedId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',1,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='block'"/>
+                                        <img id="starItemAsDescribedId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',2,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='block'"/>
+                                        <img id="starItemAsDescribedId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',3,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
+                                        <img id="starItemAsDescribedId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',4,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
+                                        <img id="starItemAsDescribedId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',5,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
+                                    </td>
+                                </tr>
+                                <tr id="itemOption${feedbackCounter}" style="display:none;border:#eeeeee solid thin;text-indent:10px">
+                                    <td colspan="2">
+                                        Why weren't you satisfied with the item description?
+                                        <table class="answers" width="100%" border="0" cellpadding="0" cellspacing="0">
+                                            <tbody>
+                                                <tr>
+                                                    <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="5" type="radio">
+                                                    </td><td>Item was not received</td>
+                                                </tr>
+                                                <tr>
+                                                    <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="6" type="radio"></td>
+                                                    <td>Quality did not match item description</td>
+                                                </tr>
+                                                <tr>
+                                                    <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="2" type="radio"></td>
+                                                    <td>Item was damaged</td>
+                                                </tr>
+                                                <tr>
+                                                    <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="1" type="radio"></td>
+                                                    <td>Item was a counterfeit, replica, or an unauthorized copy</td>
+                                                </tr>
+                                                <tr>
+                                                    <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="3" type="radio"></td>
+                                                    <td>Wrong item</td>
+                                                </tr>
+                                                <tr>
+                                                    <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="4" type="radio" checked="checked"></td>
+                                                    <td>Other</td>
+                                                </tr>
+                                            </tbody>
+                                        </table>
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td>
+                                        How satisfied were you with the seller's communication?
+                                    </td>
+                                    <td>
+                                        <input id="CommResponsivenessId${feedbackCounter}" type="hidden" value="0" name="ratingComm${feedbackCounter}"/>
+                                        <img id="starCommResponsivenessId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',1,this,${feedbackCounter})"/>
+                                        <img id="starCommResponsivenessId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',2,this,${feedbackCounter})"/>
+                                        <img id="starCommResponsivenessId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',3,this,${feedbackCounter})"/>
+                                        <img id="starCommResponsivenessId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',4,this,${feedbackCounter})"/>
+                                        <img id="starCommResponsivenessId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',5,this,${feedbackCounter})"/>
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td>
+                                        How quickly did the seller ship the item?
+                                    </td>
+                                    <td>
+                                        <input id="ShippingTimeId${feedbackCounter}" type="hidden" value="0" name="ratingShip${feedbackCounter}"/>
+                                        <img id="starShippingTimeId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',1,this,${feedbackCounter})"/>
+                                        <img id="starShippingTimeId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',2,this,${feedbackCounter})"/>
+                                        <img id="starShippingTimeId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',3,this,${feedbackCounter})"/>
+                                        <img id="starShippingTimeId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',4,this,${feedbackCounter})"/>
+                                        <img id="starShippingTimeId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',5,this,${feedbackCounter})"/>
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td>
+                                        How reasonable were the shipping and handling charges?
+                                    </td>
+                                    <td>
+                                        <input id="ShippingHandlingChargesId${feedbackCounter}" type="hidden" value="0" name="ratingShipHand${feedbackCounter}"/>
+                                        <img id="starShippingHandlingChargesId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',1,this,${feedbackCounter})"/>
+                                        <img id="starShippingHandlingChargesId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',2,this,${feedbackCounter})"/>
+                                        <img id="starShippingHandlingChargesId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',3,this,${feedbackCounter})"/>
+                                        <img id="starShippingHandlingChargesId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',4,this,${feedbackCounter})"/>
+                                        <img id="starShippingHandlingChargesId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',5,this,${feedbackCounter})"/>
+                                    </td>
+                                </tr>
+                            </table>
+                        </div>
+                        </td>
+                        <td>
+                            Seller:<a target="_blank" href="http://myworld.sandbox.ebay.com/${leaveFeedback.userID}">${leaveFeedback.userID}</a>
+                        </td>
+                    </tr>
+                </#if>
+            </#if>
+        <#elseif role=="buyer">
+            <#if leaveFeedback.role == "buyer">
+                <#assign feedbackCounter = feedbackCounter + 1>
+                <#if row == "">
+                    <#assign row = "alternate-row">
+                <#else>
+                    <#assign row = "">
+                </#if>
+                <input type="hidden" value="${leaveFeedback.itemID}" name="itemId${feedbackCounter}"/>
+                <input type="hidden" value="${leaveFeedback.transactionID}" name="transactionId${feedbackCounter}"/>
+                <input type="hidden" value="${leaveFeedback.userID}" name="targetUser${feedbackCounter}"/>
+                <input type="hidden" value="${leaveFeedback.commentingUser}" name="commentingUser${feedbackCounter}"/>
+                <input type="hidden" value="${leaveFeedback.role}" name="role${feedbackCounter}"/>
+                <tr class="${row}" style="border:#eeeeee solid thin">
+                    <td valign="top">
+                    ${leaveFeedback.itemID}]${leaveFeedback.title}
+                    <a target="_blank" href="http://payments.sandbox.ebay.com/ws/eBayISAPI.dll?ViewPaymentStatus&transId=${leaveFeedback.transactionID}&ssPageName=STRK:MESOX:VPS&itemid=${leaveFeedback.itemID}">order details</a>
+                    </td>
+                    <td>
+                        <input type="radio" name="commentType${feedbackCounter}" value="positive" 
+                            onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Positive</span>
+                        <input type="radio" name="commentType${feedbackCounter}" checked="checked" value="none" 
+                            onclick="document.getElementById('rate${feedbackCounter}').style.display='none';"/><span>I'll leave Feedback later</span>
+                        <div id="rate${feedbackCounter}" style="display:none">
+                            <input type="text" value="" maxlength="80" size="80" name="commentText${feedbackCounter}" label="Tell us more"/>
+                            <br/>80 characters left<br/><br/>
+                        </div>
+                    </td>
+                    <td>
+                        Buyer:<a target="_blank" href="http://myworld.sandbox.ebay.com/${leaveFeedback.userID}">${leaveFeedback.userID}</a>
+                    </td>
+                </tr>
+            </#if>
+        <#elseif role == "seller">
+            <#if leaveFeedback.role == "seller">
+                <#assign feedbackCounter = feedbackCounter + 1>
+                <#if row == "">
+                    <#assign row = "alternate-row">
+                <#else>
+                    <#assign row = "">
+                </#if>
+                <input type="hidden" value="${leaveFeedback.itemID}" name="itemId${feedbackCounter}"/>
+                <input type="hidden" value="${leaveFeedback.transactionID}" name="transactionId${feedbackCounter}"/>
+                <input type="hidden" value="${leaveFeedback.userID}" name="targetUser${feedbackCounter}"/>
+                <input type="hidden" value="${leaveFeedback.commentingUser}" name="commentingUser${feedbackCounter}"/>
+                <input type="hidden" value="${leaveFeedback.role}" name="role${feedbackCounter}"/>
+                <tr class="${row}"  style="border:#eeeeee solid thin">
+                    <td valign="top">
+                    ${leaveFeedback.itemID} - ${leaveFeedback.title}
+                    <a target="_blank" href="http://payments.sandbox.ebay.com/ws/eBayISAPI.dll?ViewPaymentStatus&transId=${leaveFeedback.transactionID}&ssPageName=STRK:MESOX:VPS&itemid=${leaveFeedback.itemID}">order details</a>
+                    </td>
+                    <td>
+                    <input type="radio" name="commentType${feedbackCounter}" value="positive" 
+                        onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Positive</span>
+                    <input type="radio" name="commentType${feedbackCounter}" value="neutral" 
+                        onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Neutral</span>
+                    <input type="radio" name="commentType${feedbackCounter}" value="negative" 
+                        onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Negative</span>
+                    <input type="radio" name="commentType${feedbackCounter}" checked="checked" value="none" 
+                        onclick="document.getElementById('rate${feedbackCounter}').style.display='none';"/><span>I'll leave Feedback later</span>
+                    <div id="rate${feedbackCounter}" style="display:none">
+                        <input type="text" value="" maxlength="80" size="80" name="commentText${feedbackCounter}" label="Tell us more"/>
+                        <br/>80 characters left<br/><br/>
+                        <b>Rate details about this purchase</b>
+                        <table>
+                            <tr>
+                                <td>
+                                    How accurate was the item description?
+                                </td>
+                                <td>
+                                    <input id="ItemAsDescribedId${feedbackCounter}" type="hidden" value="0" name="ratingItem${feedbackCounter}"/>
+                                    <img id="starItemAsDescribedId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',1,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='block'"/>
+                                    <img id="starItemAsDescribedId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',2,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='block'"/>
+                                    <img id="starItemAsDescribedId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',3,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
+                                    <img id="starItemAsDescribedId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',4,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
+                                    <img id="starItemAsDescribedId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',5,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
+                                </td>
+                            </tr>
+                            <tr id="itemOption${feedbackCounter}" style="display:none;border:#eeeeee solid thin;text-indent:10px">
+                                <td colspan="2">
+                                    Why weren't you satisfied with the item description?
+                                    <table class="answers" width="100%" border="0" cellpadding="0" cellspacing="0">
+                                        <tbody>
+                                            <tr>
+                                                <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="5" type="radio">
+                                                </td><td>Item was not received</td>
+                                            </tr>
+                                            <tr>
+                                                <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="6" type="radio"></td>
+                                                <td>Quality did not match item description</td>
+                                            </tr>
+                                            <tr>
+                                                <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="2" type="radio"></td>
+                                                <td>Item was damaged</td>
+                                            </tr>
+                                            <tr>
+                                                <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="1" type="radio"></td>
+                                                <td>Item was a counterfeit, replica, or an unauthorized copy</td>
+                                            </tr>
+                                            <tr>
+                                                <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="3" type="radio"></td>
+                                                <td>Wrong item</td>
+                                            </tr>
+                                            <tr>
+                                                <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="4" type="radio" checked="checked"></td>
+                                                <td>Other</td>
+                                            </tr>
+                                        </tbody>
+                                    </table>
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>
+                                    How satisfied were you with the seller's communication?
+                                </td>
+                                <td>
+                                    <input id="CommResponsivenessId${feedbackCounter}" type="hidden" value="0" name="ratingComm${feedbackCounter}"/>
+                                    <img id="starCommResponsivenessId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',1,this,${feedbackCounter})"/>
+                                    <img id="starCommResponsivenessId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',2,this,${feedbackCounter})"/>
+                                    <img id="starCommResponsivenessId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',3,this,${feedbackCounter})"/>
+                                    <img id="starCommResponsivenessId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',4,this,${feedbackCounter})"/>
+                                    <img id="starCommResponsivenessId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',5,this,${feedbackCounter})"/>
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>
+                                    How quickly did the seller ship the item?
+                                </td>
+                                <td>
+                                    <input id="ShippingTimeId${feedbackCounter}" type="hidden" value="0" name="ratingShip${feedbackCounter}"/>
+                                    <img id="starShippingTimeId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',1,this,${feedbackCounter})"/>
+                                    <img id="starShippingTimeId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',2,this,${feedbackCounter})"/>
+                                    <img id="starShippingTimeId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',3,this,${feedbackCounter})"/>
+                                    <img id="starShippingTimeId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',4,this,${feedbackCounter})"/>
+                                    <img id="starShippingTimeId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',5,this,${feedbackCounter})"/>
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>
+                                    How reasonable were the shipping and handling charges?
+                                </td>
+                                <td>
+                                    <input id="ShippingHandlingChargesId${feedbackCounter}" type="hidden" value="0" name="ratingShipHand${feedbackCounter}"/>
+                                    <img id="starShippingHandlingChargesId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',1,this,${feedbackCounter})"/>
+                                    <img id="starShippingHandlingChargesId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',2,this,${feedbackCounter})"/>
+                                    <img id="starShippingHandlingChargesId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',3,this,${feedbackCounter})"/>
+                                    <img id="starShippingHandlingChargesId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',4,this,${feedbackCounter})"/>
+                                    <img id="starShippingHandlingChargesId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',5,this,${feedbackCounter})"/>
+                                </td>
+                            </tr>
+                        </table>
+                    </div>
+                    </td>
+                    <td>
+                        Seller:<a target="_blank" href="http://myworld.sandbox.ebay.com/${leaveFeedback.userID}">${leaveFeedback.userID}</a>
+                    </td>
+                </tr>
+            </#if>
+        <#else>
+            <#assign feedbackCounter = feedbackCounter + 1>
+            <#if row == "">
+                <#assign row = "alternate-row">
+            <#else>
+                <#assign row = "">
+            </#if>
+            <input type="hidden" value="${leaveFeedback.itemID}" name="itemId${feedbackCounter}"/>
+            <input type="hidden" value="${leaveFeedback.transactionID}" name="transactionId${feedbackCounter}"/>
+            <input type="hidden" value="${leaveFeedback.userID}" name="targetUser${feedbackCounter}"/>
+            <input type="hidden" value="${leaveFeedback.commentingUser}" name="commentingUser${feedbackCounter}"/>
+            <input type="hidden" value="${leaveFeedback.role}" name="role${feedbackCounter}"/>
+            <tr class="${row}">
+                <td>
+                ${leaveFeedback.itemID} - ${leaveFeedback.title}
+                <a target="_blank" href="http://payments.sandbox.ebay.com/ws/eBayISAPI.dll?ViewPaymentStatus&transId=${leaveFeedback.transactionID}&ssPageName=STRK:MESOX:VPS&itemid=${leaveFeedback.itemID}">order details</a>
+                </td>
+                <td>
+                <#if leaveFeedback.role == "seller">
+                    <input type="radio" name="commentType${feedbackCounter}" value="positive" 
+                        onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Positive</span>
+                    <input type="radio" name="commentType${feedbackCounter}" value="neutral" 
+                        onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Neutral</span>
+                    <input type="radio" name="commentType${feedbackCounter}" value="negative" 
+                        onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Negative</span>
+                    <input type="radio" name="commentType${feedbackCounter}" checked="checked" value="none" 
+                        onclick="document.getElementById('rate${feedbackCounter}').style.display='none';"/><span>I'll leave Feedback later</span>
+                <#else>
+                    <input type="radio" name="commentType${feedbackCounter}" value="positive" 
+                        onclick="document.getElementById('rate${feedbackCounter}').style.display='block';"/><span>Positive</span>
+                    <input type="radio" name="commentType${feedbackCounter}" checked="checked" value="none" 
+                        onclick="document.getElementById('rate${feedbackCounter}').style.display='none';"/><span>I'll leave Feedback later</span>
+                </#if>
+                <#if leaveFeedback.role == "seller">
+                    <div id="rate${feedbackCounter}" style="display:none">
+                        <input type="text" value="" maxlength="80" size="80" name="commentText${feedbackCounter}" label="Tell us more"/>
+                        <br/>80 characters left<br/><br/>
+                        <b>Rate details about this purchase</b>
+                        <table>
+                            <tr>
+                                <td>
+                                    How accurate was the item description?
+                                </td>
+                                <td>
+                                    <input id="ItemAsDescribedId${feedbackCounter}" type="hidden" value="0" name="ratingItem${feedbackCounter}"/>
+                                    <img id="starItemAsDescribedId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',1,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='block'"/>
+                                    <img id="starItemAsDescribedId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',2,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='block'"/>
+                                    <img id="starItemAsDescribedId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',3,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
+                                    <img id="starItemAsDescribedId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',4,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
+                                    <img id="starItemAsDescribedId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ItemAsDescribedId',5,this,${feedbackCounter});document.getElementById('itemOption${feedbackCounter}').style.display='none'"/>
+                                </td>
+                            </tr>
+                            <tr id="itemOption${feedbackCounter}" style="display:none;border:#eeeeee solid thin;text-indent:10px">
+                                <td colspan="2">
+                                    Why weren't you satisfied with the item description?
+                                    <table class="answers" width="100%" border="0" cellpadding="0" cellspacing="0">
+                                        <tbody>
+                                            <tr>
+                                                <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="5" type="radio">
+                                                </td><td>Item was not received</td>
+                                            </tr>
+                                            <tr>
+                                                <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="6" type="radio"></td>
+                                                <td>Quality did not match item description</td>
+                                            </tr>
+                                            <tr>
+                                                <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="2" type="radio"></td>
+                                                <td>Item was damaged</td>
+                                            </tr>
+                                            <tr>
+                                                <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="1" type="radio"></td>
+                                                <td>Item was a counterfeit, replica, or an unauthorized copy</td>
+                                            </tr>
+                                            <tr>
+                                                <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="3" type="radio"/></td>
+                                                <td>Wrong item</td>
+                                            </tr>
+                                            <tr>
+                                                <td width="25"><input name="AqItemAsDescribedId${feedbackCounter}" value="4" type="radio"  checked="checked"></td>
+                                                <td>Other</td>
+                                            </tr>
+                                        </tbody>
+                                    </table>
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>
+                                    How satisfied were you with the seller's communication?
+                                </td>
+                                <td>
+                                    <input id="CommResponsivenessId${feedbackCounter}" type="hidden" value="0" name="ratingComm${feedbackCounter}"/>
+                                    <img id="starCommResponsivenessId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',1,this,${feedbackCounter})"/>
+                                    <img id="starCommResponsivenessId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',2,this,${feedbackCounter})"/>
+                                    <img id="starCommResponsivenessId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',3,this,${feedbackCounter})"/>
+                                    <img id="starCommResponsivenessId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',4,this,${feedbackCounter})"/>
+                                    <img id="starCommResponsivenessId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('CommResponsivenessId',5,this,${feedbackCounter})"/>
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>
+                                    How quickly did the seller ship the item?
+                                </td>
+                                <td>
+                                    <input id="ShippingTimeId${feedbackCounter}" type="hidden" value="0" name="ratingShip${feedbackCounter}"/>
+                                    <img id="starShippingTimeId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',1,this,${feedbackCounter})"/>
+                                    <img id="starShippingTimeId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',2,this,${feedbackCounter})"/>
+                                    <img id="starShippingTimeId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',3,this,${feedbackCounter})"/>
+                                    <img id="starShippingTimeId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',4,this,${feedbackCounter})"/>
+                                    <img id="starShippingTimeId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingTimeId',5,this,${feedbackCounter})"/>
+                                </td>
+                            </tr>
+                            <tr>
+                                <td>
+                                    How reasonable were the shipping and handling charges?
+                                </td>
+                                <td>
+                                    <input id="ShippingHandlingChargesId${feedbackCounter}" type="hidden" value="0" name="ratingShipHand${feedbackCounter}"/>
+                                    <img id="starShippingHandlingChargesId${feedbackCounter}_1" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',1,this,${feedbackCounter})"/>
+                                    <img id="starShippingHandlingChargesId${feedbackCounter}_2" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',2,this,${feedbackCounter})"/>
+                                    <img id="starShippingHandlingChargesId${feedbackCounter}_3" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',3,this,${feedbackCounter})"/>
+                                    <img id="starShippingHandlingChargesId${feedbackCounter}_4" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',4,this,${feedbackCounter})"/>
+                                    <img id="starShippingHandlingChargesId${feedbackCounter}_5" src="/images/rate/starDefault.gif" onmouseover="overStar(this)" onmouseout="outStar(this)" onclick="setRate('ShippingHandlingChargesId',5,this,${feedbackCounter})"/>
+                                </td>
+                            </tr>
+                        </table>
+                    </div>
+                <#else>
+                    <div id="rate${feedbackCounter}" style="display:none">
+                        <input type="text" value="" maxlength="80" size="80" name="commentText${feedbackCounter}" label="Tell us more"/>
+                        <br/>80 characters left<br/><br/>
+                    </div>
+                </#if>
+                </td>
+                <td>
+                <#if leaveFeedback.role == "buyer">
+                    Buyer:<a target="_blank" href="http://myworld.sandbox.ebay.com/${leaveFeedback.userID}">${leaveFeedback.userID}</a>
+                <#else>
+                    Seller:<a target="_blank" href="http://myworld.sandbox.ebay.com/${leaveFeedback.userID}">${leaveFeedback.userID}</a>
+                </#if>
+                </td>
+            </tr>
+        </#if>
+        </#if>    
+        </#list>
+    </tbody>
 </table>
 <br/>
 <input type="hidden" name="feedbackSize" value="${feedbackCounter}"/>

Modified: ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/StoreSetting.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/StoreSetting.ftl?rev=917405&r1=917404&r2=917405&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/StoreSetting.ftl (original)
+++ ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/StoreSetting.ftl Mon Mar  1 07:20:30 2010
@@ -149,7 +149,6 @@
                     <div id="charsleft2"></div>
               </td>
             </tr>
-            
             <tr>
               <td class="label" align="right" valign="middle">${uiLabelMap.EbayStoreStoreURL} :</td>
               <td valign="middle">
@@ -171,7 +170,6 @@
                    </div>
               </td>
             </tr>
-            
             <#-- advance Theme -->
              <tr>
               <td class="label" align="right" valign="middle">${uiLabelMap.EbayStoreStoreAdvancedTheme} :</td>
@@ -201,7 +199,6 @@
               </td>
             </tr>
             </#if>
-            
             <#-- Basic Theme -->
             <tr>
               <td class="label" align="right" valign="middle">${uiLabelMap.EbayStoreStoreBasicTheme} :</td>
@@ -221,7 +218,6 @@
                 <div id="loading"></div>
               </td>
             </tr>
-           
             <tr>
               <td  align="right" valign="middle"></td>
               <td valign="middle"><b>${uiLabelMap.EbayStoreStoreColorTheme}</b>
@@ -361,8 +357,6 @@
                     </#if>
               </td>
             </tr>
-            
-            
             <tr>
               <td class="label" align="right" valign="middle">${uiLabelMap.EbayStoreStoreHeaderDisplay} :</td>
               <td valign="middle">
@@ -396,7 +390,6 @@
                     <input type="text" id="homePage" name="homePage" value="${ebayStore.storeHomePage?if_exists}"/>
               </td>
             </tr-->
-           
             <tr>
               <td class="label" align="right" valign="middle">${uiLabelMap.EbayStoreStoreItemListDesplay} :</td>
               <td valign="middle">
@@ -417,7 +410,6 @@
                     </select>
               </td>
             </tr>
-            
             <#--tr>
               <td class="label" align="right" valign="middle">Custom Listing Header Display :</td>
               <td valign="middle">
@@ -462,10 +454,7 @@
      </fieldset>
    </form>
   </#if>
-  
-
  <script language="Javascript" type="text/javascript">
-    
     <#if themeType?if_exists == "Basic">
         document.StoreSettingForm.storeAdvancedTheme.disabled = true;
         document.StoreSettingForm.storeAdvancedThemeColor.disabled = true;
@@ -487,4 +476,4 @@
         document.StoreSettingForm.storeDescFontSize.disabled = true;
         document.StoreSettingForm.storeDescFontColor.disabled = true;
     </#if>
-</script>
+</script>
\ No newline at end of file

Modified: ofbiz/trunk/specialpurpose/ebaystore/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/widget/CommonScreens.xml?rev=917405&r1=917404&r2=917405&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebaystore/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/ebaystore/widget/CommonScreens.xml Mon Mar  1 07:20:30 2010
@@ -20,7 +20,6 @@
 
 <screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
-    
     <screen name="main-decorator">
         <section>
             <actions>
@@ -40,7 +39,6 @@
             </widgets>
         </section>
     </screen>
-    
     <screen name="permission-decorator">
         <section>
             <actions>
@@ -85,7 +83,6 @@
             </widgets>
         </section>
     </screen>
-    
     <screen name="CommonEbayConfigDecorator">
         <section>
             <actions>
@@ -119,7 +116,6 @@
             </widgets>
         </section>
     </screen>
-    
     <screen name="SellingManagerDecorator">
         <section>
             <actions>
@@ -129,17 +125,16 @@
                 <decorator-screen name="permission-decorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
                         <section>
-                        	<widgets>
-                        		<include-menu location="component://ebaystore/widget/EbayStoreMenus.xml" name="EbaySellingManagerTabBar"/>
-                        		<decorator-section-include name="body"/>
-                        	</widgets>
+                            <widgets>
+                                <include-menu location="component://ebaystore/widget/EbayStoreMenus.xml" name="EbaySellingManagerTabBar"/>
+                                <decorator-section-include name="body"/>
+                            </widgets>
                         </section>
                     </decorator-section>
                 </decorator-screen>
             </widgets>
         </section>
     </screen>
-    
     <screen name="AccountDecorator">
         <section>
             <actions>
@@ -149,15 +144,14 @@
                 <decorator-screen name="permission-decorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
                         <section>
-                        	<widgets>
-                        		<include-menu location="component://ebaystore/widget/EbayStoreMenus.xml" name="EbayAccountTabBar"/>
-                        		<decorator-section-include name="body"/>
-                        	</widgets>
+                            <widgets>
+                                <include-menu location="component://ebaystore/widget/EbayStoreMenus.xml" name="EbayAccountTabBar"/>
+                                <decorator-section-include name="body"/>
+                            </widgets>
                         </section>
                     </decorator-section>
                 </decorator-screen>
             </widgets>
         </section>
     </screen>
-    
 </screens>
\ No newline at end of file



Mime
View raw message