Re: Sortable Paging DataView inside a tabpanel and backbutton

2008-06-03 Thread jensiator

Hi Scott
I realized that you cant compare to UUID with '==' in Java. You need to
compare the as if(UUID1.equals(UUID2)). I been working to much in csharp,
where you compare two Guid as this: if(Guid1==Guid2)
Just a stupid mistake
Jens


Scott Swank wrote:
> 
> Sorry to jump in at the last minute, but what does "you need equals on
> UUID in Java" mean?
> 
> - Scott
> 
> 
> On Fri, May 30, 2008 at 5:47 AM, jensiator <[EMAIL PROTECTED]>
> wrote:
>>
>> Okey. Found a bug in my code forget everything. Wicket components is
>> working fine, no problem in constructors. Use to CSharp and forgot that
>> you
>> need equals on UUID in Java. I've spent two days on this. Silly me
>> blaming
>> wicket!!!!
>> Jens
>> --
>> View this message in context:
>> http://www.nabble.com/Sortable-Paging-DataView-inside-a-tabpanel-and-backbutton-tp17534314p17558104.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Sortable-Paging-DataView-inside-a-tabpanel-and-backbutton-tp17534314p17618120.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Sortable Paging DataView inside a tabpanel and backbutton

2008-05-30 Thread Scott Swank
Sorry to jump in at the last minute, but what does "you need equals on
UUID in Java" mean?

- Scott


On Fri, May 30, 2008 at 5:47 AM, jensiator <[EMAIL PROTECTED]> wrote:
>
> Okey. Found a bug in my code forget everything. Wicket components is
> working fine, no problem in constructors. Use to CSharp and forgot that you
> need equals on UUID in Java. I've spent two days on this. Silly me blaming
> wicket
> Jens
> --
> View this message in context: 
> http://www.nabble.com/Sortable-Paging-DataView-inside-a-tabpanel-and-backbutton-tp17534314p17558104.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Sortable Paging DataView inside a tabpanel and backbutton

2008-05-30 Thread jensiator

Okey. Found a bug in my code forget everything. Wicket components is
working fine, no problem in constructors. Use to CSharp and forgot that you
need equals on UUID in Java. I've spent two days on this. Silly me blaming
wicket
Jens
-- 
View this message in context: 
http://www.nabble.com/Sortable-Paging-DataView-inside-a-tabpanel-and-backbutton-tp17534314p17558104.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Sortable Paging DataView inside a tabpanel and backbutton

2008-05-30 Thread jensiator

Thanks Igor. I had to break down the problem by reverting to wickets own
tabbedpanel and dataview(I have done my own components).  I still faced the
same problem untill I found out that I could not send in the idkey(that I
use in the iterator method when getting data from db) through the constuctor
of the tabpage panel. I do not fully understand why, but I guess it has
something to do with serialization. Should I avoid sending parameters except
the id in my panels?
Jens Alenius


igor.vaynberg wrote:
> 
> so you use no-store headers and force the page to reload on
> backbutton? because usually when you press back you get the cached
> version the browser keeps around.
> 
> -igor
> 
> On Thu, May 29, 2008 at 5:11 AM, jensiator <[EMAIL PROTECTED]>
> wrote:
>>
>> okey.. Has anyone done this. I have a DataView that uses a
>> SortableDataProvider so that the dataview can be paged and sortable. The
>> dataview is contained in a tabpanel in a TabbedPanel(no Ajax). When I
>> select
>> the dataview tabpanel I see the rows. I then select another tab and then
>> press backbutton. My grid shows again but it has no rows. The
>> SortableProvider.iterator methods runs with value count=0.
>> Im not setting any Model in the tabpanel with the Dataview, instead Im
>> sending in a UUID  as a constructor parameter in the Panel. I do a Db
>> call
>> in my implementation of SortableProvider.iterator to get the collection
>> for
>> the UUID.
>> Does anyone have any idea of what could be wrong?
>> --
>> View this message in context:
>> http://www.nabble.com/Sortable-Paging-DataView-inside-a-tabpanel-and-backbutton-tp17534314p17534314.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Sortable-Paging-DataView-inside-a-tabpanel-and-backbutton-tp17534314p17554997.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Sortable Paging DataView inside a tabpanel and backbutton

2008-05-29 Thread Igor Vaynberg
so you use no-store headers and force the page to reload on
backbutton? because usually when you press back you get the cached
version the browser keeps around.

-igor

On Thu, May 29, 2008 at 5:11 AM, jensiator <[EMAIL PROTECTED]> wrote:
>
> okey.. Has anyone done this. I have a DataView that uses a
> SortableDataProvider so that the dataview can be paged and sortable. The
> dataview is contained in a tabpanel in a TabbedPanel(no Ajax). When I select
> the dataview tabpanel I see the rows. I then select another tab and then
> press backbutton. My grid shows again but it has no rows. The
> SortableProvider.iterator methods runs with value count=0.
> Im not setting any Model in the tabpanel with the Dataview, instead Im
> sending in a UUID  as a constructor parameter in the Panel. I do a Db call
> in my implementation of SortableProvider.iterator to get the collection for
> the UUID.
> Does anyone have any idea of what could be wrong?
> --
> View this message in context: 
> http://www.nabble.com/Sortable-Paging-DataView-inside-a-tabpanel-and-backbutton-tp17534314p17534314.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Sortable Paging DataView inside a tabpanel and backbutton

2008-05-29 Thread jensiator

okey.. Has anyone done this. I have a DataView that uses a
SortableDataProvider so that the dataview can be paged and sortable. The
dataview is contained in a tabpanel in a TabbedPanel(no Ajax). When I select
the dataview tabpanel I see the rows. I then select another tab and then
press backbutton. My grid shows again but it has no rows. The
SortableProvider.iterator methods runs with value count=0. 
Im not setting any Model in the tabpanel with the Dataview, instead Im
sending in a UUID  as a constructor parameter in the Panel. I do a Db call
in my implementation of SortableProvider.iterator to get the collection for
the UUID.
Does anyone have any idea of what could be wrong?  
-- 
View this message in context: 
http://www.nabble.com/Sortable-Paging-DataView-inside-a-tabpanel-and-backbutton-tp17534314p17534314.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]