Custom form

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
autonomy2
Posts: 65
Joined: Thu May 18, 2006 10:58 am
Location: Sydney

Custom form

Post by autonomy2 »

Hi support.

I'm having problems trying to use (create new instance) a custom form in AwareIM which is displaying the following message:

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: /BASTestDomainbmaus_db_test_tm_Notes_1141_Main_Administrator_Administrator.jsp(109,0) No tag "date" defined in tag library imported with prefix "awareim"
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:200)
org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1308)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1560)
org.apache.jasper.compiler.Parser.parseBody(Parser.java:1789)
org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1060)
org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1367)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1560)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
com.cc.framework.adapter.struts.FWRequestProcessor.processForwardConfig(Unknown Source)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
com.cc.framework.adapter.struts.FWRequestProcessor.processForwardConfig(Unknown Source)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
aware_support
Posts: 7526
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

This is a bug. As a workaround can you open the JSP file mentioned in the exception (it is located in the AwareIM/Tomcat/webapps/AwareIM directory), look for all occurrences of awareim:date tag and replace the entire tag with this:

<input type="text" name="NameOfYourDateAttribute" size="whatever size you want" />
Aware IM Support Team
autonomy2
Posts: 65
Joined: Thu May 18, 2006 10:58 am
Location: Sydney

Bug patch

Post by autonomy2 »

Hi Support.

All of my business objects being part of a group have this "CreatedTimeStamp" attribute. Am guessing I would have to update each jsp file for each object everytime I update the business space.

My work around for the mean time is to omit this attribute altogether.

Any idea of a possible time frame in having this patched?
aware_support
Posts: 7526
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

Rather than omitting the attribute you can change its type to Plain Text.

The bug is fixed but we can't say yet when the patch will be available.
Aware IM Support Team
autonomy2
Posts: 65
Joined: Thu May 18, 2006 10:58 am
Location: Sydney

Post by autonomy2 »

Thanks Support.

Didn't realise this could be done using a plain text attribute.
aware_support
Posts: 7526
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

The problem should be fixed in build 968
Aware IM Support Team
Post Reply