Hello,
I found the problem :)
If I change the column content from
<tc:out value="#{var}" />
^^^
to
<tc:in value="#{var}" />
^^
everything works fine!!!
But I don't know why a "tc:in" instead of a "tc:out" solves the problem.
If I use multiple tc:out, the error exist... as soon as I add one tc:in, the
paging works fine. Possibly a bug?
I will update the bug entry in JIRA.
Regards
Alf
> -----Ursprüngliche Nachricht-----
> Von: "Alf Felis" <[email protected]>
> Gesendet: 09.09.09 09:47:09
> An: "MyFaces Discussion" <[email protected]>
> Betreff: Re: [Tobago] Error using paging (tc:sheet) in IE
> Hello Bernd,
>
> thanks for your fast reply :)
>
> Yes, I tried the demo and it works in my IE... but I don't know why?!?
> My simple example still doesn't work :(
>
> I saw that many attributes are used in the demo... I will try to find out
> which attribute is required to work for my IE.
>
> If someone has an idea, please give me a hint ;)
>
> Regards
>
> Alf
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: "Bernd Bohmann" <[email protected]>
> > Gesendet: 08.09.09 19:05:28
> > An: MyFaces Discussion <[email protected]>
> > Betreff: Re: [Tobago] Error using paging (tc:sheet) in IE
>
>
> > Hello Alf,
> >
> > just tested with http://myfaces.apache.org/tobago/demo.html in IE6 but
> > Linux. Found no issue.
> >
> > Can you test the sheet with the online demo, please.
> >
> > Please clear all caches in IE.
> >
> > Regards
> >
> > Bernd
> >
> > On Tue, Sep 8, 2009 at 5:58 PM, Alf Felis<[email protected]> wrote:
> > > Hello,
> > >
> > > I'm new to Tobago and I have a problem with sheet paging in IE (FF
> > > works!). I think its a bug... possibly its my fault (IE settings?).
> > >
> > > Tabago Version: 1.0.22
> > > MyFaces: 1.1.6
> > > IE Version: 6
> > >
> > > When I type a row number to jump to and press enter, I notice, that the
> > > server gets multiple requests.
> > >
> > > One of the requests from IE seems to be wrong... the parameter
> > > "_idJsp0::form-action", which contains the "_idJsp0:_idJsp3:ToRow" entry
> > > in the first request, is empty! This request seems to be the problem.
> > >
> > > It seems that first the browser shows the correct result (jump to the
> > > row; only visible for short) and than reloads the page and jumps back to
> > > the "old" view.
> > >
> > > I already opened a Bug report in JIRA: TOBAGO-788
> > > But no answer so far :(
> > >
> > >
> > > Thanks for your help :)
> > >
> > > Alf
> > >
> > >
> > > My simple testpage:
> > >
> > > <%@ taglib uri="http://myfaces.apache.org/tobago/component" prefix="tc"%>
> > > <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> > >
> > > <f:view>
> > > <tc:page width="400" height="300">
> > > <tc:sheet var="var"
> > > value="#{tobagoTestBean.data}"
> > > showPageRange="right"
> > > showRowRange="left"
> > > rows="25">
> > > <tc:column label="Col">
> > > <tc:out value="#{var}" />
> > > </tc:column>
> > > </tc:sheet>
> > > </tc:page>
> > > </f:view>
> > >
> > > The test bean only provides a list of 100 strings.
> > >
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser