Re: Recipients --> Overview --> add column "Company"
Posted: Wed Mar 14, 2012 7:00 pm
So I manged to complete the complie process. What I did was to go to the /home/openemm/webapps/openemm/classes and from there created a jar file:
Then I have collected all of the jars and placed them into /home/java
The next thing is to javac and point the claaspath argument to /home/java and complie:
So the code I modified was what you mentioned before in recipientdaoimpl.java:
added "PROVINCIA" and compiled with no errors.
Then I went to change recipient-lis.jsp :
Still no luck.
Code: Select all
jar cvf my.jar org
Then I have collected all of the jars and placed them into /home/java
The next thing is to javac and point the claaspath argument to /home/java and complie:
Code: Select all
javac -classpath .:/home/java/* /home/oe/OpenEMM-2011-src/src/java/org/agnitas/dao/impl/RecipientDaoImpl.java
Code: Select all
customerData.put("gender", row.get("GENDER"));
customerData.put("firstname", row.get("FIRSTNAME"));
customerData.put("lastname", row.get("LASTNAME"));
customerData.put("email",row.get("EMAIL"));
customerData.put("provincia",row.get("PROVINCIA"));
newBean.setCustParameters(customerData);
Then I went to change recipient-lis.jsp :
Code: Select all
<display:column class="name" headerClass="head_name" property="provincia" titleKey="recipient.Provincia" sortable="true" />
Code: Select all
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: ServletException in 'recipient/recipient-list.jsp': javax.servlet.jsp.JspException: Exception: [.LookupUtil] Error looking up property "provincia" in object type "org.agnitas.beans.impl.RecipientImpl". Cause: Unknown property 'provincia