Is your datatable rowdata dependent on the current values of the
selectmenu components?

2005/11/5, Matthias Kahlau <[EMAIL PROTECTED]>:
> Hi!
>
> I use a t:panelTabbedPane:
>
>
>       <h:form>
>         <t:panelTabbedPane  selectedIndex="0">
>
>           <t:panelTab label="Eigene Umfragen" id="tab1">
>             <%@ include file="EigeneUmfragenTab.jspf" %>
>           </t:panelTab>
> ......
> ......
> .....
>
> The tab content that is included and I have the problem with is shown below:
> (Without the panelGrid containing the selectOneMenus, all works fine, but
> with them, commandLinks in dataTable and dataScroller doesn't work.)
>
>   <h:panelGrid columns="2">
>     <h:column>
>       <h:selectOneMenu value="#{UmfrageBacking.currentUmfragetyp}"
>         valueChangeListener="#{UmfrageBacking.adjustInterfaceControls}"
>         immediate="true">
>         <f:selectItems value="#{UmfrageBacking.umfragetypen}" />
>       </h:selectOneMenu>
>     </h:column>
>     <h:column>
>       <h:selectOneMenu value="#{UmfrageBacking.currentUmfragezustand}"
>         valueChangeListener="#{UmfrageBacking.adjustInterfaceControls}"
>         immediate="true">
>         <f:selectItems value="#{UmfrageBacking.umfragezustaende}" />
>       </h:selectOneMenu>
>     </h:column>
>   </h:panelGrid>
>
>
>   <t:dataTable id="dataTable"
>     value="#{UmfrageBacking.umfragen}"
>     var="row"
>     rows="10"
>     renderedIfEmpty="true"
>     preserveDataModel="false"
>     preserveSort="true"
>     sortColumn="#{UmfrageBacking.sortColumn}"
>     sortAscending="#{UmfrageBacking.sortAscending}"
>     styleClass=""
>     headerClass=""
>     footerClass=""
>     rowClasses=""
>     columnClasses=""
>     rowOnMouseOver="this.style.backgroundColor='#A5CBFF'"
>     rowOnMouseOut="this.style.backgroundColor='#FFFFE0'"
>     rowOnClick="this.style.backgroundColor='#FFE0E0'"
>     rowOnDblClick="this.style.backgroundColor='#E0E0E0'"
>     width="700">
>     <t:column>
>       <f:facet name="header">
>         <t:commandSortHeader
>           columnName="#{UmfrageBacking.colName_Bezeichnung}"
>           arrow="true">
>           <h:outputText
>             value="#{UmfrageBacking.colName_Bezeichnung}"/>
>         </t:commandSortHeader>
>       </f:facet>
>       <h:commandLink action="#{UmfrageBacking.editUmfrage}">
>         <h:outputText value="#{row.bezeichnung}"/>
>       </h:commandLink>
>     </t:column>
> ....
> .... (some more columns without commandLinks)
> ...
> </t:dataTable>
>
>  <h:panelGrid columns="2" styleClass="" columnClasses="">
>     <t:column>
>       <t:dataScroller id="scroll_1" for="dataTable"
> .....
> .....
> </h:panelGrid>
>
>
> --------
> Regards,
> Matthias
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Auftrag
> > von Mathias Brökelmann
> > Gesendet: Samstag, 5. November 2005 09:43
> > An: MyFaces Discussion
> > Betreff: Re: MyFaces 1.1.1 - problem with dataTable and selectOne menu
> > contained in a panelTab
> >
> >
> > please post the related jsp/bean code.
> >
> > 2005/11/5, Matthias Kahlau <[EMAIL PROTECTED]>:
> > > Hi!
> > >
> > > I have a strange problem using a selectOneMenu within a
> > panelTab (MyFaces
> > > 1.1.1). The selectOneMenu is placed above a dataTable, which is also
> > > contained in the panelTab. Without the selectOneMenu, I can click on a
> > > commandLink in a table row to select one entry. But with the
> > selectOneMenu
> > > placed above the dataTable, I can click on the links or the dataScroller
> > > below, and nothing happens. No request is initiated to update
> > the page. (It
> > > doesn't matter if I use tags of the standard JSF HTML RenderKit
> > Taglib or
> > > Tomahawk.)
> > >
> > > What's the problem with this composition, and how can I manage this?
> > >
> > >
> > > --------
> > > Regards,
> > > Matthias
> > >
> > >
> >
> >
> > --
> > Mathias
>
>


--
Mathias

Reply via email to