here is the page

<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<div class="portletbox">
                                                <h3>
                                                        Debug
                                                </h3>


<h:dataTable value="#{mvportal.contacts}" var="contact" rowClasses="odd,even" cellspacing="0" >
                <h:column>

                        <f:facet name="header">
                                <h:outputText value="Name" />
                        </f:facet>
                        <h:outputText  id="displayName" 
value="#{contact.displayName}"  />
                </h:column>

                <h:column>
                        <f:facet name="header">
                                <h:outputText value="Office" />
                        </f:facet>
                        <h:outputText id="OfficeName" 
value="#{contact.office.name}" />
                </h:column>
                <h:column>
                        <f:facet name="header">
                                <h:outputText value="EXT" />
                        </f:facet>
                        <h:outputText id="extensio" 
value="#{contact.extension}"/>
                </h:column>
                <h:column>
                        <f:facet name="header">
                                <h:outputText value="Email" />
                        </f:facet>
                        <h:outputText id="email" value="#{contact.email}" />
                </h:column>
                <h:column>
                        <f:facet name="header">
                                <h:outputText value="IM" />
                        </f:facet>
                        <h:outputText id="im" value="#{contact.imUsername}"/>
                </h:column>
        </h:dataTable>


</div>


when it is rendered the data table is above the div and the h3 is inside the div.






From: "Craig McClanahan" <[EMAIL PROTECTED]>
Reply-To: user@shale.apache.org
To: user@shale.apache.org
Subject: Re: Question about prerenderer?
Date: Wed, 1 Nov 2006 12:48:48 -0800

On 11/1/06, Jonathan Smith <[EMAIL PROTECTED]> wrote:

I am having trouble where everytime i put something that is set by the
prerender inside of a <div> it always renders outside the <div>. How do
you
get something that is set by a prerender such as a timestamp or a
datatable
that uses a prerendered list to render in the <div>?


What exactly does your JSP source page look like?  If you're using JSF
1.1(very likely), then you are probably running into the fact that
there are
some interoperability issues trying to mix components and template text.
Seeing what your page looks like will make it possible to offer some
specific suggestions.

Craig


_________________________________________________________________
Get today's hot entertainment gossip
http://movies.msn.com/movies/hotgossip?icid=T002MSN03A07001



_________________________________________________________________
All-in-one security and maintenance for your PC. Get a free 90-day trial! http://clk.atdmt.com/MSN/go/msnnkwlo0050000002msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail

Reply via email to