You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by brucemaki <cs...@gmail.com> on 2008/09/09 10:32:05 UTC

TRINIDAD: reset UIXTable with setFirst method

I've got a question about resetting an UIXTable: in my search page there are
lots criteria and after their post i show the result in another page using a
tr:table Component. If i click on the range navigator that appear above the
table and then i come back to my search page to perform a new reseach the
result page show me the last range page previous selected. 
I Tried the method setFirst(new Integer(0)) but it does not work...it is a
bug on UIXTable Component? Or exists another mechanism to reset a cached
table ??
Thanks a lot, regards.

Cristiano
-- 
View this message in context: http://www.nabble.com/TRINIDAD%3A-reset-UIXTable-with-setFirst-method-tp19388113p19388113.html
Sent from the My Faces - Dev mailing list archive at Nabble.com.


Re: TRINIDAD: reset UIXTable with setFirst method

Posted by Andrew Robinson <an...@gmail.com>.
Also what phase do you call the set?

PS - moving this to the users@ mailing list, this is not a dev@
question. Please remove the dev@ from future replies

On Tue, Sep 9, 2008 at 7:55 AM, Max Starets <ma...@oracle.com> wrote:
> Cristiano,
>
> I would expect setFirst() to work. Are you sure it is getting
> called and the table gets re-rendered?
> If yes, I would file a JIRA issue with a reproducible case for that.
>
> Max
>
>
> brucemaki wrote:
>>
>> I've got a question about resetting an UIXTable: in my search page there
>> are
>> lots criteria and after their post i show the result in another page using
>> a
>> tr:table Component. If i click on the range navigator that appear above
>> the
>> table and then i come back to my search page to perform a new reseach the
>> result page show me the last range page previous selected. I Tried the
>> method setFirst(new Integer(0)) but it does not work...it is a
>> bug on UIXTable Component? Or exists another mechanism to reset a cached
>> table ??
>> Thanks a lot, regards.
>>
>> Cristiano
>>
>
>

Re: TRINIDAD: reset UIXTable with setFirst method

Posted by Andrew Robinson <an...@gmail.com>.
Also what phase do you call the set?

PS - moving this to the users@ mailing list, this is not a dev@
question. Please remove the dev@ from future replies

On Tue, Sep 9, 2008 at 7:55 AM, Max Starets <ma...@oracle.com> wrote:
> Cristiano,
>
> I would expect setFirst() to work. Are you sure it is getting
> called and the table gets re-rendered?
> If yes, I would file a JIRA issue with a reproducible case for that.
>
> Max
>
>
> brucemaki wrote:
>>
>> I've got a question about resetting an UIXTable: in my search page there
>> are
>> lots criteria and after their post i show the result in another page using
>> a
>> tr:table Component. If i click on the range navigator that appear above
>> the
>> table and then i come back to my search page to perform a new reseach the
>> result page show me the last range page previous selected. I Tried the
>> method setFirst(new Integer(0)) but it does not work...it is a
>> bug on UIXTable Component? Or exists another mechanism to reset a cached
>> table ??
>> Thanks a lot, regards.
>>
>> Cristiano
>>
>
>

Re: TRINIDAD: reset UIXTable with setFirst method

Posted by Max Starets <ma...@oracle.com>.
Cristiano,

I would expect setFirst() to work. Are you sure it is getting
called and the table gets re-rendered?
If yes, I would file a JIRA issue with a reproducible case for that.

Max


brucemaki wrote:
> I've got a question about resetting an UIXTable: in my search page there are
> lots criteria and after their post i show the result in another page using a
> tr:table Component. If i click on the range navigator that appear above the
> table and then i come back to my search page to perform a new reseach the
> result page show me the last range page previous selected. 
> I Tried the method setFirst(new Integer(0)) but it does not work...it is a
> bug on UIXTable Component? Or exists another mechanism to reset a cached
> table ??
> Thanks a lot, regards.
>
> Cristiano
>