Hi,
I have 4 products with a special price configured. There is no expiration date for the special price. In the KonaKart Admin, I can do a Product search for "Specials Only", and my 4 products are returned.
The KonaKart configuration parameter "Selection of Products on Special" is set to 10.
However, in my JSP where I am trying to display a random special, the call to ProductManager.getRandomSpecial() returns null. Is there something else that I need to configure, or is there something I am doing wrong?
<bean:define id="kkEng" name="konakartKey" type="com.konakart.al.KKAppEng"/>
<bean:define id="prodMgr" name="kkEng" property="productMgr" type="com.konakart.al.ProductMgr"/>
<bean:define id="special" name="prodMgr" property="randomSpecial" type="com.konakart.appif.ProductIf"/>
<%=special.getName() %>
The call to getRandomSpecial returns:
Caused by: javax.servlet.jsp.JspException: Define tag cannot set a null value for bean with id: special
at org.apache.struts.taglib.bean.DefineTag.doEndTag(DefineTag.java:236)
Random Specials should work after a standard installation. Have you by any chance done some customizations?