svn commit: r902716 [2/2] - in /ofbiz/trunk: framework/images/webapp/images/rate/ specialpurpose/ebay/ specialpurpose/ebay/config/ specialpurpose/ebay/data/ specialpurpose/ebay/data/helpdata/ specialpurpose/ebay/servicedef/ specialpurpose/ebay/src/org/...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r902716 [2/2] - in /ofbiz/trunk: framework/images/webapp/images/rate/ specialpurpose/ebay/ specialpurpose/ebay/config/ specialpurpose/ebay/data/ specialpurpose/ebay/data/helpdata/ specialpurpose/ebay/servicedef/ specialpurpose/ebay/src/org/...

hansbak-2
Added: ofbiz/trunk/specialpurpose/ebay/webapp/ebay/feedback/LeaveFeedback.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebay/webapp/ebay/feedback/LeaveFeedback.ftl?rev=902716&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/ebay/webapp/ebay/feedback/LeaveFeedback.ftl (added)
+++ ofbiz/trunk/specialpurpose/ebay/webapp/ebay/feedback/LeaveFeedback.ftl Mon Jan 25 06:26:23 2010
@@ -0,0 +1,538 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<#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;
+ }
+</script>
+<form name="leaveFeedback" action="<@ofbizUrl>sendLeaveFeedback</@ofbizUrl>" method="post">
+ <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>
+</table>
+<br/>
+<input type="hidden" name="feedbackSize" value="${feedbackCounter}"/>
+<input type="submit" value="Leave Feedback"/>
+</form>
+<#else>
+No Leave Feedback.
+</#if>
\ No newline at end of file

Modified: ofbiz/trunk/specialpurpose/ebay/widget/EbayForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebay/widget/EbayForms.xml?rev=902716&r1=902715&r2=902716&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebay/widget/EbayForms.xml (original)
+++ ofbiz/trunk/specialpurpose/ebay/widget/EbayForms.xml Mon Jan 25 06:26:23 2010
@@ -326,4 +326,43 @@
         <field name="currentPasswordVerify"><password/></field>
         <field name="submitButton" title="${uiLabelMap.CommonCreate}"><submit button-type="button"/></field>
     </form>
+    <!-- feedback -->
+    <form name="ItemsAwaitingFeedback" type="list" list-name="itemsAwaitingFeedbackList"
+        odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
+        <row-actions>
+            <set field="leave"  value="${commentType}"/>
+        </row-actions>
+        <field name="itemID"><display description="${itemID} - ${title}"/></field>
+        <field name="userID"><display description="${userID}"/></field>
+        <field name="actions" use-when="&quot;${commentType}&quot; == &quot;&quot;">
+            <hyperlink target="LeaveFeedback" description="Leave Feedback">
+                <parameter param-name="itemId" value="${itemID}"/>
+                <parameter param-name="transactionId" value="${transactionID}"/>
+                <parameter param-name="productStoreId" value="${parameters.productStoreId}"/>
+                <parameter param-name="targetUser" value="${userID}"/>
+                <parameter param-name="commentingUser" value="${commentingUser}"/>
+                <parameter param-name="role" value="${role}"/>
+            </hyperlink>
+        </field>
+    </form>
+    <form name="RecentFeedback" type="list" list-name="recentFeedbackList"
+        odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
+        <field name="contentId" title="Feedback Id"><display/></field>
+        <field name="dataResourceId" title="Comment Text">
+            <display-entity entity-name="ElectronicText" key-field-name="dataResourceId" description="${textData}"/>
+        </field>
+        <field name="commentator" title="Commentator"><display/></field>
+        <field name="createdDate"><display type="date"/></field>
+    </form>
+    <form name="EditAutomationRelistSoldItems" target="createEbayAutomaticRelistItems" type="single">
+        <alt-target use-when="job!=null" target="updateEbayAutomaticRelistItems"/>
+        <field name="jobId" use-when="job!=null"><hidden value="${job.jobId}"/></field>
+        <field name="jobId" use-when="job==null"><hidden value="${jobId}"/></field>
+        <field name="authUserLoginId"><hidden value="${userLoginId}"/></field>
+        <field name="productStoreId"><hidden value="${parameters.productStoreId}"/></field>
+        <field name="startDateTime"><date-time default-value="${job.startDateTime}"/></field>
+        <field name="finishDateTime"><date-time default-value="${job.finishDateTime}"/></field>
+        <field name="submit" use-when="job!=null" title="${uiLabelMap.CommonApply}"><submit/></field>
+        <field name="submit" use-when="job==null" title="${uiLabelMap.CommonCreate}"><submit/></field>
+    </form>
 </forms>
\ No newline at end of file

Modified: ofbiz/trunk/specialpurpose/ebay/widget/EbayMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebay/widget/EbayMenus.xml?rev=902716&r1=902715&r2=902716&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebay/widget/EbayMenus.xml (original)
+++ ofbiz/trunk/specialpurpose/ebay/widget/EbayMenus.xml Mon Jan 25 06:26:23 2010
@@ -78,5 +78,55 @@
                 <parameter param-name="productStoreId" value="${parameters.productStoreId}"/>
             </link>
         </menu-item>
+        <menu-item name="feedback" title="${uiLabelMap.EbayFeedback}">
+            <link target="Feedback">
+                <parameter param-name="productStoreId" value="${parameters.productStoreId}"/>
+            </link>
+        </menu-item>
+        <menu-item name="automationPreferences" title="Automation Preferences">
+            <link target="automationPreferences">
+                <parameter param-name="productStoreId" value="${parameters.productStoreId}"/>
+            </link>
+        </menu-item>
+    </menu>
+    <menu name="EbayFeedbackTabBar" selected-menuitem-context-field-name="eBayTabButtonItem" type="simple"
+        default-selected-style="selected" menu-container-style="button-bar button-style-2">
+        <menu-item name="Feedback">
+            <condition>
+                <not><if-empty  field="parameters.productStoreId"/></not>
+            </condition>
+            <link target="Feedback" text="${uiLabelMap.EbayFeedback}">
+                <parameter param-name="productStoreId" value="${parameters.productStoreId}"/>
+            </link>
+        </menu-item>
+        <menu-item name="LeaveFeedback">
+            <condition>
+                <not><if-empty  field="parameters.productStoreId"/></not>
+            </condition>
+            <link target="LeaveFeedback" text="${uiLabelMap.EbayLeaveFeedback}">
+                <parameter param-name="productStoreId" value="${parameters.productStoreId}"/>
+            </link>
+        </menu-item>
+    </menu>
+    <menu name="EbayFeedbackSubTabBar"  extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"
+        menu-container-style="button-bar button-style-2" selected-menuitem-context-field-name="role">
+        <menu-item name="all" title="${uiLabelMap.CommonAll}">
+            <link target="LeaveFeedback">
+                <parameter param-name="productStoreId" value="${parameters.productStoreId}"/>
+                <parameter param-name="role" value="all"/>
+            </link>
+        </menu-item>
+        <menu-item name="seller" title="${uiLabelMap.EbayBoughtLeaveFeedback}">
+            <link target="LeaveFeedback">
+                <parameter param-name="productStoreId" value="${parameters.productStoreId}"/>
+                <parameter param-name="role" value="seller"/>
+            </link>
+        </menu-item>
+        <menu-item name="buyer" title="${uiLabelMap.EbaySoldLeaveFeedback}">
+            <link target="LeaveFeedback">
+                <parameter param-name="productStoreId" value="${parameters.productStoreId}"/>
+                <parameter param-name="role" value="buyer"/>
+            </link>
+        </menu-item>
     </menu>
 </menus>
\ No newline at end of file

Modified: ofbiz/trunk/specialpurpose/ebay/widget/EbayScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebay/widget/EbayScreens.xml?rev=902716&r1=902715&r2=902716&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebay/widget/EbayScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/ebay/widget/EbayScreens.xml Mon Jan 25 06:26:23 2010
@@ -392,4 +392,116 @@
             </widgets>
         </section>
     </screen>
+    <!-- ebay feedback -->
+    <screen name="EbayFeedback">
+        <section>
+            <actions>
+                <set field="titleProperty" value="eBay Feedback"/>
+                <set field="tabButtonItem" value="feedback"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="permission-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <section>
+                            <condition>
+                                <if-has-permission permission="EBAY" action="_VIEW"/>
+                            </condition>
+                            <widgets>
+                                <include-menu location="component://ebay/widget/EbayMenus.xml" name="EbayFeedbackTabBar"/>
+                                <decorator-section-include name="body"/>
+                            </widgets>
+                            <fail-widgets>
+                                <label style="h3">${uiLabelMap.EbayViewPermissionError}</label>
+                            </fail-widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="Feedback">
+        <section>
+            <actions>
+                <set field="titleProperty" value="eBay Feedback"/>
+                <set field="eBayTabButtonItem" value="Feedback"/>
+                <service service-name="loadFeedback">
+                    <field-map field-name="productStoreId" from-field="parameters.productStoreId"/>
+                </service>
+                <service service-name="getItemsAwaitingFeedback" result-map="results">
+                    <field-map field-name="productStoreId" from-field="parameters.productStoreId"/>
+                </service>
+                <set field="itemsAwaitingFeedbackList" from-field="results.itemsAwaitingFeedback"/>
+                <script location="component://ebay/webapp/ebay/WEB-INF/actions/feedback/FeedbackList.groovy"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="EbayFeedback" >
+                    <decorator-section name="body">
+                        <screenlet>
+                            <screenlet navigation-form-name="ItemsAwaitingFeedback" title="Items Awaiting Feedback">
+                                <include-form name="ItemsAwaitingFeedback" location="component://ebay/widget/EbayForms.xml"/>
+                            </screenlet>
+                        </screenlet>
+                        <screenlet>
+                            <screenlet navigation-form-name="RecentFeedback" title="Recent Feedback">
+                                <include-form name="RecentFeedback" location="component://ebay/widget/EbayForms.xml"/>
+                            </screenlet>
+                        </screenlet>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="LeaveFeedback">
+        <section>
+            <actions>
+                <set field="titleProperty" value="eBay Feedback"/>
+                <set field="eBayTabButtonItem" value="LeaveFeedback"/>
+                <set field="role" from-field="parameters.role" default-value="all"/>
+                <service service-name="getItemsAwaitingFeedback" result-map="results"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="EbayFeedback" >
+                    <decorator-section name="body">
+                        <screenlet>
+                            <screenlet title="${uiLabelMap.EbayLeaveFeedback}">
+                                <include-menu location="component://ebay/widget/EbayMenus.xml" name="EbayFeedbackSubTabBar"/>
+                                <platform-specific>
+                                    <html><html-template location="component://ebay/webapp/ebay/feedback/LeaveFeedback.ftl"/></html>
+                                </platform-specific>
+                            </screenlet>
+                        </screenlet>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>    
+    <screen name="EbayAutomationPreferences">
+        <section>
+            <actions>
+                <set field="tabButtonItem" value="automationPreferences"/>
+                <service service-name="getEbayStoreUser" result-map="result">
+                    <field-map field-name="productStoreId" from-field="parameters.productStoreId"/>
+                </service>
+                <set field="userLoginId" from-field="result.userLoginId"/>
+                <script location="component://ebay/webapp/ebay/WEB-INF/actions/automationPreferences/GetEbayJobsandbox.groovy"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="permission-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <decorator-section-include name="body"/>
+                        <include-screen name="AutomationRelistSoldItems"/>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="AutomationRelistSoldItems">
+        <section>
+            <widgets>
+                <screenlet title="${uiLabelMap.EbayAutomationRelistItems}">
+                    <include-form name="EditAutomationRelistSoldItems"  location="component://ebay/widget/EbayForms.xml"/>
+                </screenlet>
+            </widgets>
+        </section>
+    </screen>
 </screens>
\ No newline at end of file