Hi folks,
sorry for asking such a dumb question on this forum, but I'm starting to pull my hair out. I've a very simple domain with two objects. The parent contains a set of child objects and what I'd like to do is show the attributes of the parent as well as a table of the child objects on one show jsp.
But when I load the page I get the following exception:Code:<?xml version="1.0" encoding="UTF-8" standalone="no"?> <div xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" version="2.0"> <jsp:output omit-xml-declaration="yes"/> <page:show id="ps_com_kramkroc_client_domain_LeadService" object="${leadservice}" path="/leadservices" z="7EyZvt4+s9UZsJvpwtOZX6FmXr0="> <field:display field="msisdn" id="s_com_kramkroc_client_domain_LeadService_msisdn" object="${leadservice}" z="E8McP/O03SYXN1sUbjFJtBrMGGQ="/> <field:display field="active" id="s_com_kramkroc_client_domain_LeadService_active" object="${leadservice}" z="bmUYbpLwJTORVjXzxkCidICxUwg="/> <table:table data="${leadlists}" id="l_com_kramkroc_client_domain_LeadList" path="/leadlists" typeIdFieldName="leadListId"> <table:column id="c_com_kramkroc_client_domain_LeadList_firstDate" property="firstDate"/> <table:column id="c_com_kramkroc_client_domain_LeadList_lastDate" property="lastDate"/> <table:column id="c_com_kramkroc_client_domain_LeadList_startTime" property="startTime"/> <table:column id="c_com_kramkroc_client_domain_LeadList_endTime" property="endTime"/> <table:column id="c_com_kramkroc_client_domain_LeadList_weekDays" property="weekDays"/> </table:table> </page:show> </div>
Any suggestions on how to achieve this?Code:SEVERE: Servlet.service() for servlet client threw exception org.apache.jasper.JasperException: /WEB-INF/views/leadservices/show.jspx(7,188) The prefix "table" for element "table:table" is not bound. at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88) at org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.java:214) at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:239) at org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:120) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:180) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:347)
/KramKroc


Reply With Quote