Hi!

My problem is solved now. It was caused by a missing setter method for the 
selectOneMenu value... I didn't get an error message in the browser or in 
JDeveloper stdout, that's why I didn't know what the problem was. 

A little while ago, I tested my application with the JBoss app server, and with 
JBoss, an appropriate error message was shown on stdout.


Regards
-Matthias 

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag
> von Matthias Kahlau
> Gesendet: Dienstag, 8. November 2005 22:54
> An: MyFaces Discussion
> Betreff: AW: MyFaces 1.1.1 - problem with dataTable and selectOne menu
> contained in a panelTab
> 
> 
> Hi Mathias!
> 
> 
> Thanks for your message. The problem I described is still 
> present. Even if I omit the valueChangeListener methods in the 
> selectOneMenus, the action method of the commandLinks in the 
> dataTable isn't invoked while having the selectOneMenus 
> implemented above the dataTable. The invocation of the action 
> method is dependent on the absence of the selectOneMenus.
> 
> The problem is a bit time-critical, since I work on my diploma 
> thesis, developing a survey system for my UAS, and I would really 
> like to use the panelTabbedPane. But without the selectOneMenus 
> above, I can't use the tabbed pane at all.
> 
> Hence I hope, someone finds the time in the near future to 
> inspect my testcase code, clearing if I made some mistake or if 
> this is a bug in MyFaces 1.1.1.
> 
> 
> So long! 
> -Matthias
> 
> 
> > -----Ursprüngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Auftrag
> > von Mathias Brökelmann
> > Gesendet: Dienstag, 8. November 2005 21:46
> > An: MyFaces Discussion
> > Betreff: Re: MyFaces 1.1.1 - problem with dataTable and selectOne menu
> > contained in a panelTab
> > 
> > 
> > I haven´t found the time to take a closer look into your code. So I
> > hope that this problem is not time critical. Maybe someone other in
> > this list is able to help you in a shorter time. I hope that I find
> > the time by the end of the week.
> > 
> > 2005/11/6, Matthias Kahlau <[EMAIL PROTECTED]>:
> > > Ok. I thought, it would be more comfortable for you to get the 
> > whole code in
> > > project form.
> > >
> > > So, here are the testcase files. I hope, you can reproduce 
> the problem.
> > > Please have a look in the EigeneUmfragen.jspf file. If you remove the
> > > comments around the panelGrid with the selectOneMenus above the 
> > dataTable,
> > > the action method of the commandLink (editUmfrage()) is not 
> > invoked. You can
> > > see this by looking at the stdout - the editUmfrage() method 
> > body contains a
> > > System.out.println("editUmfrage()").
> > >
> > > Thanks for your help.
> > >
> > > - Matthias
> > >
> > > ManagementHome - the page with the panelTabbedPane:
> > > -----------------------------------------------------
> > >
> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> > > "http://www.w3.org/TR/html4/loose.dtd";>
> > > <%@ page contentType="text/html;charset=windows-1252"%>
> > > <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
> > > <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
> > > <%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t"%>
> > > <f:view>
> > >   <html>
> > >     <head>
> > >       <meta http-equiv="Content-Type" content="text/html;
> > > charset=windows-1252">
> > >       </meta>
> > >       <title>
> > >         Verwaltung von Umfragen
> > >       </title>
> > >     </head>
> > >     <body>
> > >       <h:form>
> > >         <t:panelTabbedPane selectedIndex="0" width="750">
> > >           <t:panelTab label="Umfragen" id="tab1">
> > >             <%@ include file="EigeneUmfragenTab.jspf" %>
> > >           </t:panelTab>
> > >           <t:panelTab id="tab2" label="tab2" />
> > >           <t:panelTab id="tab3" label="tab3" />
> > >           <t:panelTab id="tab4" label="tab4" />
> > >         </t:panelTabbedPane>
> > >       </h:form>
> > >     </body>
> > >   </html>
> > > </f:view>
> > >
> > > EigeneUmfragen.jspf - included in the panelTabbedPane:
> > > -----------------------------------------------------
> > > <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
> > > <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
> > > <%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t"%>
> > >
> > >   <%--
> > >   <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="dataTableUmfragen"
> > >     value="#{UmfrageBacking.umfragen}"
> > >     var="row"
> > >     rows="1"
> > >     renderedIfEmpty="true"
> > >     preserveDataModel="false"
> > >     preserveSort="true"
> > >     sortColumn="#{UmfrageBacking.sortColumn}"
> > >     sortAscending="#{UmfrageBacking.sortAscending}"
> > >     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="Bezeichnung" arrow="true">
> > >           <h:outputText value="Bezeichnung"/>
> > >         </t:commandSortHeader>
> > >       </f:facet>
> > >       <h:commandLink action="#{UmfrageBacking.editUmfrage}">
> > >         <h:outputText value="#{row.bezeichnung}"/>
> > >       </h:commandLink>
> > >     </t:column>
> > >     <t:column width="400">
> > >       <f:facet name="header">
> > >           <h:outputText value="Beschreibung"/>
> > >       </f:facet>
> > >       <h:outputText value="#{row.beschreibung}"/>
> > >     </t:column>
> > >   </t:dataTable>
> > >
> > >   <h:panelGrid columns="2">
> > >     <t:column>
> > >       <t:dataScroller id="scroll_1" for="dataTableUmfragen" 
> fastStep="5"
> > >         pageCountVar="pageCount"
> > >         pageIndexVar="pageIndex"
> > >         paginator="true"
> > >         paginatorMaxPages="9"
> > >         paginatorTableClass=""
> > >         paginatorActiveColumnStyle="font-weight:bold;">
> > >         <f:facet name="first" >
> > >             <t:graphicImage url="Images/arrow-first.gif" border="1"
> > >               title="zur ersten Seite" />
> > >         </f:facet>
> > >         <f:facet name="fastrewind">
> > >             <t:graphicImage url="Images/arrow-fr.gif" border="1"
> > >               title="5 Seiten zur�ck" />
> > >         </f:facet>
> > >         <f:facet name="previous">
> > >             <t:graphicImage url="Images/arrow-previous.gif" border="1"
> > >               title="zur vorherigen Seite" />
> > >         </f:facet>
> > >         <f:facet name="next">
> > >             <t:graphicImage url="Images/arrow-next.gif" border="1"
> > >               title="zur n�chsten Seite" />
> > >         </f:facet>
> > >         <f:facet name="fastforward">
> > >             <t:graphicImage url="Images/arrow-ff.gif" border="1"
> > >               title="5 Seiten vorw�rts" />
> > >         </f:facet>
> > >         <f:facet name="last">
> > >             <t:graphicImage url="Images/arrow-last.gif" border="1"
> > >               title="zur letzten Seite" />
> > >         </f:facet>
> > >       </t:dataScroller>
> > >     </t:column>
> > >     <t:column>
> > >       <t:dataScroller id="scroll_2" for="dataTableUmfragen"
> > >         rowsCountVar="rowsCount"
> > >         displayedRowsCountVar="displayedRowsCountVar"
> > >         firstRowIndexVar="firstRowIndex"
> > >         lastRowIndexVar="lastRowIndex"
> > >         pageIndexVar="pageIndex"
> > >         pageCountVar="pageCount">
> > >         <h:outputFormat value="without message in this testcase">
> > >           <f:param value="#{rowsCount}" />
> > >           <f:param value="#{displayedRowsCountVar}" />
> > >           <f:param value="#{firstRowIndex}" />
> > >           <f:param value="#{lastRowIndex}" />
> > >           <f:param value="#{pageIndex}" />
> > >           <f:param value="#{pageCount}" />
> > >         </h:outputFormat>
> > >       </t:dataScroller>
> > >     </t:column>
> > >   </h:panelGrid>
> > >
> > >
> > > UmfrageBacking.java - used for all bindings of the testcase:
> > > --------------------------------------------------------
> > > package view;
> > >
> > > import java.util.List;
> > > import java.util.ArrayList;
> > >
> > > import javax.faces.event.ValueChangeEvent;
> > > import javax.faces.model.ListDataModel;
> > > import javax.faces.model.SelectItem;
> > >
> > >
> > > public class UmfrageBacking  {
> > >
> > >
> > >   private ListDataModel umfragen = null;
> > >   private String sortColumn =  new String("Bezeichnung");
> > >   private boolean sortAscending = true;
> > >   private List umfragetypen = new ArrayList();
> > >   private List umfragezustaende = new ArrayList();
> > >   private String currentUmfragetyp = new String("Typ 1");
> > >   private String currentUmfragezustand = new String("Zustand 1");
> > >
> > >
> > >   public UmfrageBacking() {
> > >     this.initUmfragen();
> > >     this.initUmfragetypen();
> > >     this.initUmfragezustaende();
> > >   }
> > >
> > >
> > >   public String editUmfrage() {
> > >         System.out.println("editUmfrage()");
> > >    return "success";
> > >   }
> > >
> > >
> > >   public List getUmfragetypen() {
> > >         System.out.println("getUmfragetypen()");
> > >     return this.umfragetypen;
> > >   }
> > >
> > >
> > >    public List getUmfragezustaende() {
> > >         System.out.println("getUmfragezustaende()");
> > >     return this.umfragezustaende;
> > >   }
> > >
> > >    private void initUmfragen() {
> > >         System.out.println("initUmfragen()");
> > >
> > >     Umfrage u1 = new Umfrage();
> > >     u1.setBezeichnung("Umfrage 1");
> > >     u1.setBeschreibung("bla bla bla");
> > >
> > >     Umfrage u2 = new Umfrage();
> > >     u2.setBezeichnung("Umfrage 2");
> > >     u2.setBeschreibung("bla bla bla");
> > >
> > >     List list = new ArrayList();
> > >     list.add(u1);
> > >     list.add(u2);
> > >
> > >     this.umfragen = new ListDataModel(list);
> > >   }
> > >
> > >
> > >   private void initUmfragetypen() {
> > >         System.out.println("initUmfragetypen()");
> > >     this.umfragetypen.add(new SelectItem("Typ 1", "Typ 1"));
> > >     this.umfragetypen.add(new SelectItem("Typ 2", "Typ 2"));
> > >   }
> > >
> > >
> > >   private void initUmfragezustaende() {
> > >         System.out.println("initUmfragezustaende()");
> > >         this.umfragezustaende.add(new SelectItem("Zustand 1", 
> > "Zustand 1"));
> > >         this.umfragezustaende.add(new SelectItem("Zustand 2", 
> > "Zustand 2"));
> > >   }
> > >
> > >
> > >   public ListDataModel getUmfragen() {
> > >         System.out.println("getUmfragen()");
> > >     this.sort();
> > >     return this.umfragen;
> > >   }
> > >
> > >
> > >   public void setSortColumn(String sortColumn) {
> > >         System.out.println("setSortColumn()");
> > >     this.sortColumn = sortColumn;
> > >   }
> > >
> > >
> > >   public String getSortColumn() {
> > >         System.out.println("getSortColumn()");
> > >     return this.sortColumn;
> > >   }
> > >
> > >
> > >   public void setSortAscending(boolean sortAscending) {
> > >         System.out.println("setSortAscending()");
> > >     this.sortAscending = sortAscending;
> > >   }
> > >
> > >
> > >   public boolean getSortAscending() {
> > >         System.out.println("getSortAscending()");
> > >     return this.sortAscending;
> > >   }
> > >
> > >
> > >   public String getCurrentUmfragetyp() {
> > >         System.out.println("getCurrentUmfragetyp()");
> > >     return this.currentUmfragetyp;
> > >   }
> > >
> > >
> > >   public String getCurrentUmfragezustand() {
> > >         System.out.println("getCurrentUmfragezustand()");
> > >     return this.currentUmfragezustand;
> > >   }
> > >
> > >
> > >   private void sort() {
> > >    System.out.println("sort()");
> > >   }
> > >
> > >
> > >   public void adjustInterfaceControls(ValueChangeEvent vce) {
> > >    System.out.println("adjustInterfaceControls()");
> > >   }
> > >
> > > }
> > >
> > >
> > > Umfrage.java - the class for objects represented in the dataTable:
> > > ----------------------------------------------------------------
> > > package view;
> > >
> > > import java.io.Serializable;
> > >
> > >
> > > public class Umfrage implements Serializable {
> > >
> > >   private String bezeichnung;
> > >
> > >   private String beschreibung;
> > >
> > >
> > >   public Umfrage() {
> > >   }
> > >
> > >
> > >   public String getBeschreibung() {
> > >     return beschreibung;
> > >   }
> > >
> > >   public void setBeschreibung(String beschreibung) {
> > >     this.beschreibung = beschreibung;
> > >   }
> > >
> > >   public String getBezeichnung() {
> > >     return bezeichnung;
> > >   }
> > >
> > >   public void setBezeichnung(String bezeichnung) {
> > >     this.bezeichnung = bezeichnung;
> > >   }
> > >
> > > }
> > >
> > > StartupServletContextListener.java, which initializes the
> > > UmfrageBacking-Bean:
> > > 
> > ------------------------------------------------------------------
> > ---------
> > > package view;
> > >
> > > import javax.servlet.ServletContext;
> > > import javax.servlet.ServletContextEvent;
> > > import javax.servlet.ServletContextListener;
> > >
> > >
> > > public class StartupServletContextListener implements 
> > ServletContextListener
> > > {
> > >
> > >   public StartupServletContextListener() {
> > >   }
> > >
> > >   public void contextInitialized(ServletContextEvent evt) {
> > >     System.out.println("entering contextInitialized()");
> > >
> > >     // Initialisiere das Backing-Bean, das auf der ersten Seite 
> > benoetigt
> > > wird
> > >     UmfrageBacking bean = new UmfrageBacking();
> > >     evt.getServletContext().setAttribute("UmfrageBacking", bean);
> > >
> > >     System.out.println("leaving contextInitialized()");
> > >   }
> > >
> > >   public void contextDestroyed(ServletContextEvent evt) {
> > >   }
> > > }
> > >
> > >
> > > web.xml:
> > > ----------
> > > <?xml version = '1.0' encoding = 'windows-1252'?>
> > > <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web 
> Application
> > > 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
> > > <web-app>
> > >   <display-name>Umfragesystem</display-name>
> > >   <description>Deployment Descriptor file for JSF Web Application
> > > Umfragesystem</description>
> > >   <filter>
> > >     <filter-name>MyFacesExtensionsFilter</filter-name>
> > >     <display-name>MyFacesExtensionsFilter</display-name>
> > >     
> > <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</f
> > > ilter-class>
> > >     <init-param>
> > >       <param-name>maxFileSize</param-name>
> > >       <param-value>20m</param-value>
> > >       <description>Set the size limit for uploaded files.
> > > Format: 10 - 10 bytes
> > > 10k - 10 KB
> > > 10m - 10 MB
> > > 1g - 1 GB</description>
> > >     </init-param>
> > >   </filter>
> > >   <filter-mapping>
> > >     <filter-name>MyFacesExtensionsFilter</filter-name>
> > >     <url-pattern>*.jsf</url-pattern>
> > >   </filter-mapping>
> > >   <filter-mapping>
> > >     <filter-name>MyFacesExtensionsFilter</filter-name>
> > >     <url-pattern>/faces/*</url-pattern>
> > >   </filter-mapping>
> > >   <listener>
> > >     
> <listener-class>view.StartupServletContextListener</listener-class>
> > >   </listener>
> > >   <servlet>
> > >     <servlet-name>Faces Servlet</servlet-name>
> > >     <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
> > >   </servlet>
> > >   <servlet-mapping>
> > >     <servlet-name>Faces Servlet</servlet-name>
> > >     <url-pattern>/faces/*</url-pattern>
> > >   </servlet-mapping>
> > >   <session-config>
> > >     <session-timeout>30</session-timeout>
> > >   </session-config>
> > > </web-app>
> > >
> > >
> > > faces-config.xml:
> > > ----------------
> > > <?xml version="1.0" encoding="windows-1252"?>
> > > <!DOCTYPE faces-config PUBLIC
> > >   "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
> > >   "http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
> > > <faces-config>
> > >   <managed-bean>
> > >     <managed-bean-name>UmfrageBacking</managed-bean-name>
> > >     <managed-bean-class>view.UmfrageBacking</managed-bean-class>
> > >     <managed-bean-scope>session</managed-bean-scope>
> > >   </managed-bean>
> > > </faces-config>
> > >
> > >
> > >
> > >
> > > > -----Urspr�ngliche Nachricht-----
> > > > Von: [EMAIL PROTECTED]
> > > > 
> > [mailto:[EMAIL PROTECTED] Auftrag
> > > > von Mathias Br�kelmann
> > > > Gesendet: Sonntag, 6. November 2005 14:52
> > > > An: MyFaces Discussion
> > > > Betreff: Re: MyFaces 1.1.1 - problem with dataTable and 
> selectOne menu
> > > > contained in a panelTab
> > > >
> > > >
> > > > If you don�t want other users which might have the same problem see
> > > > your jsp/bean code it�s ok to send them only to me. If not send it
> > > > through the list (even better). You don�t have to include the jars
> > > > since you are using 1.1.1 version of myfaces.
> > > >
> > > > 2005/11/6, Matthias Kahlau <[EMAIL PROTECTED]>:
> > > > > Hi Mathias!
> > > > >
> > > > > May I send you a personally addressed email with the testcase
> > > > as attachment?
> > > > >
> > > > > I created the testcase application as JDeveloper 10.1.2.0.0
> > > > project, which
> > > > > contains the MyFaces 1.1.1 libraries in public_html/WEB-INF/lib.
> > > > > Should I send you the app with the libraries (ca. 2,5 MB) 
> > or without the
> > > > > libraries (ca. 40 KB) contained?
> > > > >
> > > > > Thanks.
> > > > >
> > > > > -Matthias
> > > > >
> > > > >
> > > > > > -----Urspr�ngliche Nachricht-----
> > > > > > Von: [EMAIL PROTECTED]
> > > > > >
> > > > 
> > [mailto:[EMAIL PROTECTED] Auftrag
> > > > > > von Mathias Br�kelmann
> > > > > > Gesendet: Samstag, 5. November 2005 18:20
> > > > > > An: MyFaces Discussion
> > > > > > Betreff: Re: MyFaces 1.1.1 - problem with dataTable and 
> > selectOne menu
> > > > > > contained in a panelTab
> > > > > >
> > > > > >
> > > > > > Can you make a minimal testcase which allows me to reproduce it?
> > > > > >
> > > > > > 2005/11/5, Matthias Kahlau <[EMAIL PROTECTED]>:
> > > > > > > No, that doesn't happen.
> > > > > > >
> > > > > > >
> > > > > > > Regards,
> > > > > > > Matthias
> > > > > > >
> > > > > > > > -----Urspr�ngliche Nachricht-----
> > > > > > > > Von: [EMAIL PROTECTED]
> > > > > > > >
> > > > > >
> > > > 
> > [mailto:[EMAIL PROTECTED] Auftrag
> > > > > > > > von Mathias Br�kelmann
> > > > > > > > Gesendet: Samstag, 5. November 2005 18:00
> > > > > > > > An: MyFaces Discussion
> > > > > > > > Betreff: Re: MyFaces 1.1.1 - problem with dataTable and
> > > > selectOne menu
> > > > > > > > contained in a panelTab
> > > > > > > >
> > > > > > > >
> > > > > > > > is it possible that your valuechangelistener of the
> > > > selectonemenu is
> > > > > > > > called if you click on a link in your datatable?
> > > > > > > >
> > > > > > > > 2005/11/5, Matthias Kahlau <[EMAIL PROTECTED]>:
> > > > > > > > > The code for the valueChangeListener methods is not 
> > implemented
> > > > > > > > yet (empty
> > > > > > > > > body), because I encountered the problem with the
> > > > > > commandLinks in the
> > > > > > > > > dataTable and dataScroller, so
> > > > > > > > > I haven't tried to change the dataTable.
> > > > > > > > >
> > > > > > > > > My Backing-Bean UmfrageBacking has session scope, so I do
> > > > > > not need the
> > > > > > > > > t:saveState for it, if my understanding is correct.
> > > > > > > > >
> > > > > > > > > The getter method for the UmfrageBacking.umfragen 
> > Value-Binding
> > > > > > > > looks like
> > > > > > > > > this:
> > > > > > > > >
> > > > > > > > >  public ListDataModel getUmfragen() {
> > > > > > > > >     this.sort();
> > > > > > > > >     return this.umfragen;
> > > > > > > > >   }
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > Matthias
> > > > > > > > >
> > > > > > > > > > -----Urspr�ngliche Nachricht-----
> > > > > > > > > > Von: 
> [EMAIL PROTECTED]
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > > 
> > [mailto:[EMAIL PROTECTED] Auftrag
> > > > > > > > > > von Mathias Br�kelmann
> > > > > > > > > > Gesendet: Samstag, 5. November 2005 16:17
> > > > > > > > > > An: MyFaces Discussion
> > > > > > > > > > Betreff: Re: MyFaces 1.1.1 - problem with dataTable and
> > > > > > selectOne menu
> > > > > > > > > > contained in a panelTab
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > basically this is mostly a problem with the datamodel of
> > > > > > the datatable
> > > > > > > > > > which must be available in decode time. This value for
> > > > > > the decode time
> > > > > > > > > > must match with the value which was used by the renderer
> > > > > > which created
> > > > > > > > > > the response.
> > > > > > > > > >
> > > > > > > > > > To figure out if that is the problem I need to know how
> > > > > > the bean code
> > > > > > > > > > is written. Can you post the code which is required
> > > > to build and
> > > > > > > > > > return (getter method of UmfrageBacking.umfragen) the
> > > > > > datamodel? It
> > > > > > > > > > could be possible that you have to use t:savestate to
> > > > > > hold the state
> > > > > > > > > > which is required to rebuild the datamodel for the
> > > > decode phase.
> > > > > > > > > >
> > > > > > > > > > 2005/11/5, Matthias Kahlau <[EMAIL PROTECTED]>:
> > > > > > > > > > > Indirect, yes. When the user changes the value 
> > in one of the
> > > > > > > > > > selectOneMenu
> > > > > > > > > > > components,
> > > > > > > > > > > a valueChangeListener method should be invoked,
> > > > which changes
> > > > > > > > > > the data shown
> > > > > > > > > > > in the
> > > > > > > > > > > table.
> > > > > > > > > > >
> > > > > > > > > > > Regards,
> > > > > > > > > > > Matthias
> > > > > > > > > > >
> > > > > > > > > > > > -----Urspr�ngliche Nachricht-----
> > > > > > > > > > > > Von: 
> > [EMAIL PROTECTED]
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > > 
> > [mailto:[EMAIL PROTECTED] Auftrag
> > > > > > > > > > > > von Mathias Br�kelmann
> > > > > > > > > > > > Gesendet: Samstag, 5. November 2005 15:46
> > > > > > > > > > > > An: MyFaces Discussion
> > > > > > > > > > > > Betreff: Re: MyFaces 1.1.1 - problem with 
> > dataTable and
> > > > > > > > selectOne menu
> > > > > > > > > > > > contained in a panelTab
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > 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
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Mathias
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Mathias
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Mathias
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Mathias
> > >
> > >
> > 
> > 
> > --
> > Mathias
> > 
> 

Reply via email to