Is't possible to create themes with JSP ?
|
JSP is being depreciated, but is usable.
take a look at the seed data for Themes and see if you can duplicate the ftl's Mansour Al Akeel sent the following on 7/10/2011 5:56 PM: > Is't possible to create themes with JSP ? > |
Thank you BJ,
I created a header.jsp: <VisualThemeResource visualThemeId="FLAT_GREY" resourceTypeEnumId="VT_HDR_TMPLT_LOC" resourceValue="component://flatgrey/includes/header.jsp" sequenceId="01"/> tried it but I got this: [java] 2011-07-11 02:58:18,630 (http-0.0.0.0-8443-1) [ ControlServlet.java:230:ERROR] [java] ---- exception report ---------------------------------------------------------- [java] Error in request handler: [java] Exception: org.ofbiz.widget.screen.ScreenRenderException [java] Message: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Rendering not yet supported for the template at location: component://flatgrey/includes/header.jsp (Rendering not yet supported for the template at location: component://flatgrey/includes/header.jsp) [java] ---- cause --------------------------------------------------------------------- [java] Exception: java.lang.IllegalArgumentException [java] Message: Rendering not yet supported for the template at location: component://flatgrey/includes/header.jsp [java] ---- stack trace --------------------------------------------------------------- [java] java.lang.IllegalArgumentException: Rendering not yet supported for the template at location: component://flatgrey/includes/header.jsp Am I missing something ? On Sun Jul 10,2011 09:39 pm, BJ Freeman wrote: > JSP is being depreciated, but is usable. > take a look at the seed data for Themes and see if you can duplicate the > ftl's > > > Mansour Al Akeel sent the following on 7/10/2011 5:56 PM: > > Is't possible to create themes with JSP ? > > |
BJ,
sorry! foregot to include the version number. I am using realse 10.04 from the zip file. Thank you On Mon Jul 11,2011 03:05 am, Mansour Al Akeel wrote: > Thank you BJ, > > I created a header.jsp: > > <VisualThemeResource visualThemeId="FLAT_GREY" resourceTypeEnumId="VT_HDR_TMPLT_LOC" resourceValue="component://flatgrey/includes/header.jsp" sequenceId="01"/> > > tried it but I got this: > > [java] 2011-07-11 02:58:18,630 (http-0.0.0.0-8443-1) [ ControlServlet.java:230:ERROR] > [java] ---- exception report ---------------------------------------------------------- > [java] Error in request handler: > [java] Exception: org.ofbiz.widget.screen.ScreenRenderException > [java] Message: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Rendering not yet supported for the template at location: component://flatgrey/includes/header.jsp (Rendering not yet supported for the template at location: component://flatgrey/includes/header.jsp) > [java] ---- cause --------------------------------------------------------------------- > [java] Exception: java.lang.IllegalArgumentException > [java] Message: Rendering not yet supported for the template at location: component://flatgrey/includes/header.jsp > [java] ---- stack trace --------------------------------------------------------------- > [java] java.lang.IllegalArgumentException: Rendering not yet supported for the template at location: component://flatgrey/includes/header.jsp > > Am I missing something ? > > > > On Sun Jul 10,2011 09:39 pm, BJ Freeman wrote: > > JSP is being depreciated, but is usable. > > take a look at the seed data for Themes and see if you can duplicate the > > ftl's > > > > > > Mansour Al Akeel sent the following on 7/10/2011 5:56 PM: > > > Is't possible to create themes with JSP ? > > > |
In reply to this post by Mansour
I don't use JSP and except for webtools, and the index.jsp in each
webapp I don't know of any JSP used in ofbiz. As I mentioned it is not supported except for being used at the level it is used now. unless someone else chimes in you pretty much on your own. Mansour Al Akeel sent the following on 7/11/2011 12:05 AM: > Thank you BJ, > > I created a header.jsp: > > <VisualThemeResource visualThemeId="FLAT_GREY" resourceTypeEnumId="VT_HDR_TMPLT_LOC" resourceValue="component://flatgrey/includes/header.jsp" sequenceId="01"/> > > tried it but I got this: > > [java] 2011-07-11 02:58:18,630 (http-0.0.0.0-8443-1) [ ControlServlet.java:230:ERROR] > [java] ---- exception report ---------------------------------------------------------- > [java] Error in request handler: > [java] Exception: org.ofbiz.widget.screen.ScreenRenderException > [java] Message: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Rendering not yet supported for the template at location: component://flatgrey/includes/header.jsp (Rendering not yet supported for the template at location: component://flatgrey/includes/header.jsp) > [java] ---- cause --------------------------------------------------------------------- > [java] Exception: java.lang.IllegalArgumentException > [java] Message: Rendering not yet supported for the template at location: component://flatgrey/includes/header.jsp > [java] ---- stack trace --------------------------------------------------------------- > [java] java.lang.IllegalArgumentException: Rendering not yet supported for the template at location: component://flatgrey/includes/header.jsp > > Am I missing something ? > > > > On Sun Jul 10,2011 09:39 pm, BJ Freeman wrote: >> JSP is being depreciated, but is usable. >> take a look at the seed data for Themes and see if you can duplicate the >> ftl's >> >> >> Mansour Al Akeel sent the following on 7/10/2011 5:56 PM: >>> Is't possible to create themes with JSP ? >>> > |
Free forum by Nabble | Edit this page |