myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: Warning message: Child count should be a multiple of the columns attribute?
Date Tue, 06 Jun 2006 16:20:45 GMT
You are welcome.

Everbody makes mistakes...

On 6/6/06, Todd Patrick <Todd.Patrick@dtn.com> wrote:
> Ha!
>
> Your right. Sorry about that guys.
>
> Thanks,
>
> --Todd
>
> -----Original Message-----
> From: mwessendorf@gmail.com [mailto:mwessendorf@gmail.com] On Behalf Of
> Matthias Wessendorf
> Sent: Tuesday, June 06, 2006 11:09 AM
> To: MyFaces Discussion
> Subject: Re: Warning message: Child count should be a multiple of the
> columns attribute?
>
> me too
>
> On 6/6/06, Jeff Bischoff <jbischoff@klkurz.com> wrote:
> > I count 15 total components, Todd
> >
> > Todd Patrick wrote:
> > > The warning message I am receiving is:
> > >
> > > "PanelGrid tbForm:tabSearch has not enough children. Child count
> > > should be a multiple of the columns attribute."
> > >
> > > Below is the code snippet. I have fourteen (14) total components and
>
> > > I'd like seven (7) on each row, thus I defined the columns attribute
>
> > > value as seven (7).
> > >
> > > Why would this cause an warning?
> > >
> > > Thanks,
> > >
> > > --Todd
> > >
> > >
> > > <t:panelTabbedPane
> > > id="searchTabs"
> > > bgcolor="#FFFFFF"
> > > cellpadding="0"
> > > cellspacing="0"
> > > width="100%"
> > > serverSideTabSwitch="client">
> > > <t:panelTab id="tab1" label="#{tb.tbFindTabFF}"> <h:panelGrid
> > >    id="tabSearch"
> > >    rowClasses="tbcell"
> > >    headerClass="instructions"
> > >    footerClass="cd"
> > >    columns="7"
> > >    width="1000"
> > >    bgcolor="#FFFFFF">
> > >
> > >    <h:outputLabel for="transType">
> > >        <h:outputText value="#{tb.tbBaseTType}"
> > > styleClass="Paginatorhighlight"/>
> > >    </h:outputLabel>
> > >
> > >    <h:outputLabel for="transStartDate">
> > >        <h:outputText value="#{tb.tbStartDate}"
> > > styleClass="Paginatorhighlight"/>
> > >    </h:outputLabel>
> > >
> > >    <h:outputLabel for="transStartTime">
> > >        <h:outputText value="#{tb.tbStartTime}"
> > > styleClass="Paginatorhighlight"/>
> > >    </h:outputLabel>
> > >
> > >    <h:outputLabel for="transEndDate">
> > >        <h:outputText value="#{tb.tbEndDate}"
> > > styleClass="Paginatorhighlight"/>
> > >    </h:outputLabel>
> > >
> > >    <h:outputLabel for="transEndTime">
> > >        <h:outputText value="#{tb.tbEndTime}"
> > > styleClass="Paginatorhighlight"/>
> > >    </h:outputLabel>
> > >
> > >    <h:outputLabel for="clientID">
> > >        <h:outputText value="#{tb.tbClientID}"
> styleClass="Paginator"/>
> > >    </h:outputLabel>
> > >
> > >    <h:outputLabel for="transFind">
> > >        <h:outputText value="#{tb.tbFind}" styleClass="Paginator"/>
> > >    </h:outputLabel>
> > >
> > >    <h:selectOneMenu
> > >        id="transType"
> > >        required="true"
> > >        value="#{tbrowser.currentTransType}">
> > >        <f:selectItems value="#{tbrowser.transType}"/>
> > >    </h:selectOneMenu>
> > >
> > >    <t:inputCalendar
> > >    size="8"
> > >    id="transStartDate"
> > >    monthYearRowClass="yearMonthHeader"
> > >    weekRowClass="weekHeader"
> > >    currentDayCellClass="currentDayCell"
> > >    renderAsPopup="true"
> > >    popupTodayString="Today is"
> > >    popupWeekString="Wk"
> > >    renderPopupButtonAsImage="false"
> > >    required="true"
> > >    value="#{tbrowser.currentTransStartDate}"
> > >    helpText="MM/DD/YYYY"/>
> > >
> > >    <h:selectOneMenu
> > >        id="transStartTime"
> > >        required="true"
> > >        value="#{tbrowser.currentTransStartTime}">
> > >        <f:selectItems value="#{tbrowser.transStartTime}"/>
> > >    </h:selectOneMenu>
> > >
> > >    <t:inputCalendar
> > >    size="8"
> > >    id="transEndDate"
> > >    monthYearRowClass="yearMonthHeader"
> > >    weekRowClass="weekHeader"
> > >    currentDayCellClass="currentDayCell"
> > >    renderAsPopup="true"
> > >    popupTodayString="Today is"
> > >    popupWeekString="Wk"
> > >    renderPopupButtonAsImage="false"
> > >    required="true"
> > >    value="#{tbrowser.currentTransEndDate}"
> > >    helpText="MM/DD/YYYY"/>
> > >
> > >    <h:selectOneMenu
> > >        id="transEndTime"
> > >        required="true"
> > >        value="#{tbrowser.currentTransEndTime}">
> > >        <f:selectItems value="#{tbrowser.transEndTime}"/>
> > >    </h:selectOneMenu>
> > >
> > >    <h:selectOneMenu
> > >        id="clientID"
> > >        value="#{tbrowser.currentClientID}"
> > >        required="true">
> > >        <f:selectItems value="#{tbrowser.tbClientID}"/>
> > >    </h:selectOneMenu>
> > >
> > >    <h:inputText id="transFind" maxlength="20" size="20"/>
> > >
> > >    <h:panelGroup>
> > >        <h:commandButton value="Search"
> > > actionListener="#{tbrowser.transTypeSelected}"/>
> > >        <h:messages id="transTypeError" styleClass="error"/>
> > >        <f:verbatim>
> > >            <br>
> > >        </f:verbatim>
> > >        <h:outputText binding="#{tbrowser.selItemsOutput}"/>
> > >    </h:panelGroup>
> > >
> > > </h:panelGrid>
> > > </t:panelTab>
> >
> >
> >
>
>
> --
> Matthias Wessendorf
> Aechterhoek 18
> 48282 Emsdetten
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>


-- 
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Mime
View raw message