Skip to Content
Former Member
Feb 10, 2012 at 03:50 PM

JspParseException when using WPC layout with wrappingMethod-attributes


Dear All,

I am creating a custom WPC layout according to the example given in the How-to Guide "[How To... Create Custom Layouts|]" on page 5.

I figured that the example does not work since the attribute "wrappingMethod" in the <lyt:container> tag seems not to be valid! If I deploy the example given in the How-To, the following exception is thrown on runtime:

Parser [PRT] - JspParseException is thrown while parsing JSP file <C:/usr/sap/EP1/J00/j2ee/cluster/apps/> : *Attribute [wrappingMethod] for tag [container] not found in tag library [Layout]*. 
Error in file [C:/usr/sap/EP1/J00/j2ee/cluster/apps/]; line: [138]; position: [8]
... etc ...

Only if I leave the <lyt:container> tag without the attribute wrappingMethod, the rendering works fine. However, all containers will now be wrapped with a table structure. The following example from the rendered page makes that a little clearer, hopefully:

<table style="width: 100%" cellSpacing="0" cellPadding="0"><tr><td>
<div id="navMainDept">
      <a href="">

I would rather like to have it without any <table><tr><td>-wrapping at all. I think this exactly what wrappingMethod="none" is supposed to do. But as I mentioned earlier, using that leads to a JspParseException.

Is there any other way to prevent Netweaver from rendering the wrapping?

Thanks in advance