myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Reiser" <florian_rei...@gmx.de>
Subject Re: Sorting problems with tc:sheet
Date Tue, 14 Aug 2007 15:07:28 GMT
Hello Helmut,

I'm using Tobago 1.0.11.
I'm not aware that there's anything special in my jsp-file or in my java code. As DataModel
I'm using the ListDataModel.

I've not tried any nightly builds.

With kind regards
Florian Reiser

-------- Original-Nachricht --------
Datum: Tue, 14 Aug 2007 16:25:22 +0200
Von: "Helmut Swaczinna" <swaczinna@wlp-systems.de>
An: "MyFaces Discussion" <users@myfaces.apache.org>
Betreff: Re: Sorting problems with tc:sheet

> No, there shouldn't be any tag (but may be). I only thought if there's a
> tag 
> of some kind it displays the
> random row for some reason.
> 
> Which version of Tobago do you use? Have you already tried a newer
> version? 
> Is there anything special
> (tricky) in your jsp or java code?
> 
> Helmut
> 
> ----- Original Message ----- 
> From: "Florian Reiser" <florian_reiser@gmx.de>
> To: "MyFaces Discussion" <users@myfaces.apache.org>
> Sent: Tuesday, August 14, 2007 4:08 PM
> Subject: Re: Sorting problems with tc:sheet
> 
> 
> > Hello Helmut,
> >
> > no, there are no tags between tc:box and tc:sheet.
> > Should there be some tags? Which ones?
> >
> > The generated html-code displays several <span
> class="tobago-out-default"> 
> > tags containing the row data. But I'm clueless why it is displayed.
> >
> > With kind regards
> > Florian Reiser
> > -------- Original-Nachricht --------
> > Datum: Tue, 14 Aug 2007 16:00:54 +0200
> > Von: "Helmut Swaczinna" <swaczinna@wlp-systems.de>
> > An: "MyFaces Discussion" <users@myfaces.apache.org>
> > Betreff: Re: Sorting problems with tc:sheet
> >
> >> The jsp file you sent seems to be stripped (there're missing tags). Are
> >> there any tags between tc:box and tc:sheet?
> >> Have you examined the generetad html code to see what's between the box
> >> and
> >> the sheet header?
> >>
> >> Regards
> >> Helmut
> >>
> >> ----- Original Message ----- 
> >> From: "Florian Reiser" <florian_reiser@gmx.de>
> >> To: "MyFaces Discussion" <users@myfaces.apache.org>
> >> Sent: Tuesday, August 14, 2007 3:34 PM
> >> Subject: Re: Sorting problems with tc:sheet
> >>
> >>
> >> > Hello Helmut,
> >> >
> >> > when looking at the screenshot, you see the data of a table row.
> >> > With every click in the header, it's another one.
> >> > I haven't figured out yet, which one gets displayed, therefore
> >> > "random one".
> >> >
> >> > With kind regards
> >> > Florian Reiser
> >> > -------- Original-Nachricht --------
> >> > Datum: Tue, 14 Aug 2007 15:25:02 +0200
> >> > Von: "Helmut Swaczinna" <swaczinna@wlp-systems.de>
> >> > An: "MyFaces Discussion" <users@myfaces.apache.org>
> >> > Betreff: Re: Sorting problems with tc:sheet
> >> >
> >> >> Hi Florian,
> >> >>
> >> >> what do you exactly mean with "random row displayed above the
> table"?
> >> Can
> >> >> you post a screenshot.
> >> >>
> >> >> Regards
> >> >> Helmut
> >> >>
> >> >> ----- Original Message ----- 
> >> >> From: "Florian Reiser" <florian_reiser@gmx.de>
> >> >> To: <users@myfaces.apache.org>
> >> >> Sent: Tuesday, August 14, 2007 3:10 PM
> >> >> Subject: Sorting problems with tc:sheet
> >> >>
> >> >>
> >> >> > Hello,
> >> >> >
> >> >> > I use the tc:sheet to display some data.
> >> >> > When clicking on a column header, there is a random row displayed
> >> above
> >> >> > the table.
> >> >> >
> >> >> > What's wrong with my code?
> >> >> >
> >> >> > jsp-File:
> >> >> >
> >> >> > <%@taglib uri="http://myfaces.apache.org/tobago/component"
> >> >> > prefix="tc"%>
> >> >> > <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> >> >> > <%@taglib uri="http://myfaces.apache.org/tobago/extension"
> >> >> > prefix="tx"%>
> >> >> > <%@ page language="java" contentType="text/html;
> charset=ISO-8859-1"
> >> >> >  pageEncoding="ISO-8859-1"%>
> >> >> > <f:view>
> >> >> >  <tc:page>
> >> >> >    <f:facet name="layout">
> >> >> >      <tc:gridLayout rows="1*" columns="2*;1*" />
> >> >> >    </f:facet>
> >> >> >    <tc:box id="dataTable" label="Daten">
> >> >> >      <tc:sheet var="zeile" columns="2*;1*;1*;1*;1*;1*;1*"
> >> >> >        value="#{handler.records}" showHeader="true"
> >> >> >        rows="30" showRowRange="left" showPageRange="right"
> >> >> >        showDirectLinks="center" directLinkCount="5">
> >> >> >        <tc:column label="Header1" id="header1" sortable="true">
> >> >> >   <tc:out value="#{zeile.data1}" id="data1">
> >> >> >   </tc:out>
> >> >> > </tc:column>
> >> >> >        <tc:column label="Header2" id="header2" sortable="true"
> >> >> >          align="right">
> >> >> >   <tc:out value="#{zeile.data2}" id="data2">
> >> >> >     <f:convertNumber type="number" groupingUsed="true" />
> >> >> >   </tc:out>
> >> >> > </tc:column>
> >> >> > <tc:column label="Header3" id="header3" sortable="true"
> >> >> >          align="right">
> >> >> >   <tc:out value="#{zeile.data3}" id="data3">
> >> >> >     <f:convertNumber type="number" groupingUsed="true" />
> >> >> >   </tc:out>
> >> >> > </tc:column>
> >> >> > <tc:column label="Header4" id="header4" sortable="true"
> >> >> >          align="right">
> >> >> >   <tc:out value="#{zeile.data4}" id="data4">
> >> >> >     <f:convertNumber type="number" groupingUsed="true" />
> >> >> >   </tc:out>
> >> >> > </tc:column>
> >> >> > <tc:column label="Header5" id="header5" sortable="true"
> >> >> >          align="right">
> >> >> >   <tc:out value="#{zeile.data5}" id="data5">
> >> >> >     <f:convertNumber type="number" groupingUsed="true" />
> >> >> >   </tc:out>
> >> >> > </tc:column>
> >> >> > <tc:column label="Header6" id="header6" sortable="true"
> >> >> >          align="right">
> >> >> >   <tc:out value="#{zeile.data6}" id="data6">
> >> >> >     <f:convertNumber type="number" groupingUsed="true" />
> >> >> >   </tc:out>
> >> >> > </tc:column>
> >> >> > <tc:column label="Header7" id="header7" sortable="true"
> >> >> >          align="right">
> >> >> >   <tc:out value="#{zeile.data7}" id="data7">
> >> >> >     <f:convertNumber type="number" groupingUsed="true" />
> >> >> >   </tc:out>
> >> >> > </tc:column>
> >> >> >      </tc:sheet>
> >> >> >    </tc:box>
> >> >> >    <tc:panel />
> >> >> >  </tc:page>
> >> >> > </f:view>
> >> >> >
> >> >> > With kind regards
> >> >> > Florian Reiser
> >> >> > -- 
> >> >> > Psssst! Schon vom neuen GMX MultiMessenger gehört?
> >> >> > Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
> >> >> >
> >> >
> >> > -- 
> >> > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
> >> > Alle Infos und kostenlose Anmeldung:
> http://www.gmx.net/de/go/freemail
> >> >
> >
> > -- 
> > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> > 

-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

Mime
View raw message