Skip to Content
author's profile photo Former Member
Former Member

Rendering of tables, how to avoid?

Hi Experts,

I have created a new light masthead without any tables, only div containers. But when I log into the portal, there's a table around the div containers. In the page layout there are also only div containers, but in the containers there are the placeholders like <lyt:container id="left" />, is this the problem, can I avoid the rendering of tables? Thanks!

That's what I found in the documentation:

http://help.sap.com/saphelp_nw04/helpdata/en/05/fcbc400f64702ae10000000a155106/frameset.htm

"The main tag of the tag library is the container tag <lyt:container> which serves as space holder for columns (and rows in a future release) of portal applications. Every container turns into a HTML table with a portal application in every cell."

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 03, 2008 at 10:58 AM

    Hi again,

    isn't there a possibility to create own tags like and control the rendering of the tag, so I could disable the creation of tables? I found this one about the tags: http://help.sap.com/saphelp_nw04/helpdata/en/42/ea3a29b28e1bcae10000000a11466f/frameset.htm

    But you only find information about how to use the tags. Maybe you have to change these files:

    com.sap.portal.reserved.layout.TagLibHtmlb

    com.sap.portal.reserved.layout.TagLibLayout

    but could not find them. Thank you.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 11, 2008 at 11:11 AM

    Hi Jeroen,

    I looked into the com.sap.portal.pagebuilder and found the following code

    <tag>
    	    <name>container</name>
    		<tagclass>com.sapportals.portal.pb.layout.taglib.ContainerTag</tagclass>
          	        <bodycontent>EMPTY</bodycontent>
    		<info>stam1</info>
                    <attribute>
    			<name>id</name>
    			<required>true</required>
    			<rtexprvalue>true</rtexprvalue>
    		</attribute>
    
    	</tag>
    

    So I think you have to put there a new tag property with <name>mycontainer .... and then copy the com.sapportals.portal.pb.layout.taglib.ContainerTag and rename it, make your changes and refer from the tag propoerty to it. I will try out in the next days.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.