![]() | Note |
---|---|
Each time the application is started up, it will review the contents of |
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app>
... with the following lines, declaring the servlet 2.4 specification:
<?xml version="1.0" encoding="ISO-8859-1"?> <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
Table B.2. Potential JSP and Struts Customization Conflicts
Screen | Symptom | Error message in log file | How to fix |
---|---|---|---|
Administrator -> Product Catalog -> Products | Blank product control screen | Cannot find bean: "manufacturerCollection" in any scope | Copy the new default productFieldColumns.jsp file into the custom directory and merge your customizations into it. |
Any Administrator Settings Screen | Both the setting name and value are squeezed into the first cell of each row | (No error in logs) | If you have customized setting.jsp, copy the new default setting.jsp file into the custom directory and merge your customizations into it. |
Any Administrator Control Screen | Clicking the control screen links from the left hand menu do not clear the control screen parameters. | (No error in logs) | If you have customized the Struts action mappings for any control screen, you must change the "scope" attribute to "request". |
Any Administrator Screen | Blank screen. | Error - Tag Insert : No value found for attribute 'breadcrumbs'. | If one of your custom JSP files includes a tiles:insert tag for "breadcrumbs", remove it. Breadcrumbs are produced globally now and need not be included by each JSP file. |
Any Administrator Screen | Blank screen. | Error - Tag Insert : No value found for attribute 'links'. | If one of your custom JSP files includes a tiles:insert tag for "links", remove it. Links are produced globally now and need not be included by each JSP file. |
Any Administrator Screen | Blank screen. | Error - Tag Insert : No value found for attribute 'heading'. | If one of your custom JSP files includes a tiles:insert tag for "heading", remove it. Links are produced globally now and need not be included by each JSP file. |
Any Administrator Screen | Breadcrumbing links don't work. | (No error in logs) | Breadcrumbs are now built more dynamically. If you have customized the Struts actions in the Administrator, you may now be missing needed queries to pull in the parent record of the item being edited. Review the default actions and copy the code blocks that load the parent entity into your custom class. In addition, if you have customized *EditForm.jsp, you may need to add the parent's ID to the Delete form. Refer to the new default templates. |
Product Page or Any Product List Page | Blank screen. | (Various) | Check logs for specific JSP error. If you have customized inventoryAndDiscountSettings.jsp, review the new default template. |
setProperties
method of
com.softslate.commerce.administrator.core.BaseSerializableForm
has changed to require one argument of type HttpServletRequest
.
Add the request object to this method call in any custom action class you have
created for the Administrator.
com.softslate.commerce.businessobjects.order.Order
must now
implement Collection getEstimatedShippingOptions()
and void
setEstimatedShippingOptions(Collection options)
. com.softslate.commerce.businessobjects.core.User
no longer need to
implement Map getDynamicShippingOptions()
nor void
setDynamicShippingOptions(Map options)
com.softslate.commerce.businessobjects
have had some method
signatures updated so that return Maps instead of void.com.softslate.commerce.businessobjects.product.Manufacturer
,
com.softslate.commerce.businessobjects.order.OrderItem
,
com.softslate.commerce.businessobjects.order.OrderItemAttribute
,
com.softslate.commerce.businessobjects.order.OrderDiscount
,
com.softslate.commerce.businessobjects.product.Discount
,
and other classes. Please deploy the upgrade to a development environment first if you
have made extensive customizations.
Copyright © 2009-2017 SoftSlate, LLC. All Rights Reserved.
Powered by SoftSlate Commerce