jleroux: I suspected it was only a matter of replacing "${bsh" by "${groovy" in *.xml. But I had not the guts to get into 11(!) sub tasks.
So, in Eclipse, I simply did a S/R in *.xml and compared parts of my changes with some Pierre's most "complex" patches respectively product, ebaystore, projectmgr and scrum.
They were totally similar (just revisions number changed) so here is the whole.
I will later improve these changes by removing HTML entities when possible, this is a bit more delicate because in some cases the XML schema are not complete (or/and for other still obscure to me reasons) and if you simply replace HTML entities by simple code (eg &Amp; by &) you get issues in logs when the XML parser cross them...
Note: only menus, screen and forms are changed here.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1682118 13f79535-47bb-0310-9956-ffa450edef68
Summary: The purpose of this patch is to address the following:
1. Provide a standardized set of image width and height specs for page layout in ofbiz. This gives ofbiz a uniform look throughout as it applies to image display.
2. Preserve the aspect ratio of the image when using these standardized image sizes.
3. One place to make styling modifications (eg. css file).
4. Decouple styling from code (eg. java,ftl,xml,html,jsp,etc).
Regarding including the real image size, the width/height attributes in <img> specifies the boundary of the image when shown on the page. If you need to specify the real size of the image, the server code would have to perform the determination. Afterwards, you can include the actual dimensions of the image in the title attribute of <img>
Details:
Manually specifying the image width and height does help with preserving the layout of a page regardless of the image size to be shown. The challenge with this method is that the image shown on the page in question may be distorted if the aspect ratio of the image differed from that of the width and height attributes of <img>. This basically forces the person uploading the image to be more vigilant about image aspect ratios.
The purpose is to harmonize on the display size of images with a standardized set of width/height constraints in which an image must fit and preserve the aspect ratio of images.
Currently the source files (eg. ftl, xml) either manually specifies the width or height of a displayed image (ie widget <image> and html <img> tag). The problem with specifying only one constraint is that an image can affect the layout of the page if the user uploads an image where the aspect ratio could be large.
Some ftl and xml files specify both the width and the height. The problem with this is that if the aspect ratio of the image in question does not match that of the width and height of the <img> tag, the image would be displayed distorted.
The solution was to create a standardized set of CSS styles that both configure the displayed image size and preserve the image aspect ratio (eg. thumbnail size, medium size and large size). Of course, the developers can further define or modify the styles to suit their need.
By using CSS, one can change the size of displayed images without having to tamper with the ftl and/or xml files. This helps to reduce potential bugs that come with modifying the ftl and xml files. The existing way of doing things is to go through each ftl or xml file in question and manually modify the width and/or height of the <image> and/or <img> tag.
The question about the "border" around images. If you do not wish to have a border around the image, just remove it from the CSS style. It's that easy No need to change anything else. Ie. configuration to the image is done on the CSS style and not on the <image>, <img> tag.
NB: The current patch does not apply to all displayed images. I have only made appropriate modifications to widget <image> and html <img> tags that have either specified the width and/or height. There are numerous <image> and <img> tags spread all over the project that do not specify dimensions. I would have to modify them as I encountered them when I could see where and how they are displayed on the screen. Note that these images would not be affect by this patch.
jleroux: despite my efforts I was not able to check all screens. But I think it's ok
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1296782 13f79535-47bb-0310-9956-ffa450edef68
1. Change Active list screen to be the Open List screen: Open screen shows the items that which have the active status in Ebay.
2. Merge the Sold- and the Unsold screen to be the Closed List screen: The Closed List screen shows the items that are sold and the items which are out of date.
3. Create the services to get transactions and orders from eBay and show it in the Transaction screen and Order screen.
4. Create the services to import the transactions and orders from eBay to OFBiz.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1003451 13f79535-47bb-0310-9956-ffa450edef68
- changed to show the account name instead of the ebay userid at the top of the pages.
- adding a drop down box on the top of all pages allowing the user to swich the account
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@918371 13f79535-47bb-0310-9956-ffa450edef68
- screen for seller setting email templates in ebay and automatically to send mail functions.
- Used ProductStoreEmailSetting link to productStore and add template data in Content->DataResource->ElectronicText (Use ContentRole For specify each ebay account)
- Used service sendEmailFromScreen to send email.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@918333 13f79535-47bb-0310-9956-ffa450edef68
function to automatically send a Feedback Reminder email from ofbiz to the ebaybuyer if a feedback has not been received.(after shipping to the seller)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@916591 13f79535-47bb-0310-9956-ffa450edef68
- function setting for your store run auto disput and auto Relisting
- create new entity called EbayProductStorePref used for setting automation perference data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@916150 13f79535-47bb-0310-9956-ffa450edef68
Change status of listing to secondChanceOffer use when
1. Your item didn’t sell because the reserve price wasn’t met
2. You have duplicate items for sale
3. The winning bidder didn’t pay you
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@915141 13f79535-47bb-0310-9956-ffa450edef68