Re: Load table rows lazy when click browser scrollbar

2012-10-26 Thread vineet semwal
that limitation i described earlier is only in the case of
Reuse.ITEMSNAVIGATION
and Reuse.ALL ie. only in the case where you want to add new items/rows
without re-rendering the parent/quickview ,anyway this is not what you
are asking.

looks like the html you posted didn't pass through in the mail and i don't see
any zip file too ,if you think there is some issue ,please create a new issue
at https://github.com/vineetsemwal/quickview and attach your quickstart
there.



On Fri, Oct 26, 2012 at 1:27 PM, steven.li  wrote:
> Yes, I can find a workround for this limit.
>
> but met into another one, in my case, each row contains multiple, and
> under   , there are label, span. seems it doesn't work well if  is wrapped by
> .
>
> see attached zip file, If I remove the  , it works fine in IE. but failed to
> reload next page if with aroound.
>
>
>
> -
> Steven Li
>
> Skyworthglobal www.skyworthglobal.com
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Load-table-rows-lazy-when-click-browser-scrollbar-tp4652541p4653371.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
regards,

Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Load table rows lazy when click browser scrollbar

2012-10-26 Thread steven.li
Yes, I can find a workround for this limit.

but met into another one, in my case, each row contains multiple, and
under   , there are label, span. seems it doesn't work well if  is wrapped by 
.

see attached zip file, If I remove the  , it works fine in IE. but failed to
reload next page if with aroound.



-
Steven Li

Skyworthglobal www.skyworthglobal.com
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Load-table-rows-lazy-when-click-browser-scrollbar-tp4652541p4653371.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Load table rows lazy when click browser scrollbar

2012-10-25 Thread vineet semwal
hi,
quickview's immediate parent can have only one child and that can only be
quickview.i have mentioned this issue in the below link
https://github.com/vineetsemwal/quickview/issues/3

this limitation is only for the immediate parent .

On Fri, Oct 26, 2012 at 10:32 AM, steven.li
 wrote:
> <http://apache-wicket.1842946.n4.nabble.com/file/n4653359/Untitled.png>
>
>
>
> -
> Steven Li
>
> Skyworthglobal www.skyworthglobal.com
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Load-table-rows-lazy-when-click-browser-scrollbar-tp4652541p4653359.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
regards,

Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Load table rows lazy when click browser scrollbar

2012-10-22 Thread vineet semwal
i have fixed that and tested it in IE8,firefox,chrome,i have created a
new tag 1.5.8.2 for this.you can download it from the below link
https://github.com/vineetsemwal/quickview/tags

On Mon, Oct 22, 2012 at 5:39 PM, vineet semwal  wrote:
> hi,
> i tested successfully on chrome/firefox , i don't have IE8 on my system
> so didn't test,might be a bug in IE8,it might work in IE9 .. but i will 
> improve
> it later today so that it will work on IE8 too..
>
>
> On Mon, Oct 22, 2012 at 3:51 PM, steven.li  
> wrote:
>> I have run the demo application, found that, the
>>
>> "Scroll on Page" link only show 13 rows result without go to  next page when
>> i pull down the page scroll bar.
>>
>> I test it on IE8. do you have the same issue ?
>>
>> Thanks.
>>
>>
>>
>> -
>> Steven Li
>>
>> Skyworthglobal www.skyworthglobal.com
>> --
>> View this message in context: 
>> http://apache-wicket.1842946.n4.nabble.com/Load-table-rows-lazy-when-click-browser-scrollbar-tp4652541p4653193.html
>> Sent from the Users forum mailing list archive at Nabble.com.
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>
>
>
> --
> regards,
>
> Vineet Semwal



-- 
regards,

Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Load table rows lazy when click browser scrollbar

2012-10-22 Thread vineet semwal
hi,
i tested successfully on chrome/firefox , i don't have IE8 on my system
so didn't test,might be a bug in IE8,it might work in IE9 .. but i will improve
it later today so that it will work on IE8 too..


On Mon, Oct 22, 2012 at 3:51 PM, steven.li  wrote:
> I have run the demo application, found that, the
>
> "Scroll on Page" link only show 13 rows result without go to  next page when
> i pull down the page scroll bar.
>
> I test it on IE8. do you have the same issue ?
>
> Thanks.
>
>
>
> -
> Steven Li
>
> Skyworthglobal www.skyworthglobal.com
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Load-table-rows-lazy-when-click-browser-scrollbar-tp4652541p4653193.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
regards,

Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Load table rows lazy when click browser scrollbar

2012-10-22 Thread steven.li
I have run the demo application, found that, the

"Scroll on Page" link only show 13 rows result without go to  next page when
i pull down the page scroll bar.

I test it on IE8. do you have the same issue ? 

Thanks.



-
Steven Li

Skyworthglobal www.skyworthglobal.com
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Load-table-rows-lazy-when-click-browser-scrollbar-tp4652541p4653193.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Load table rows lazy when click browser scrollbar

2012-10-19 Thread vineet semwal
you are welcome..
sorry for the delay ,i made some improvements in the internal in last few days.
i have also added the scroll behaviors for 1.5 today and their corresponding
examples.i have created new tags 1.5.8.1 and 6.1.1 today.
you can download from the below link
https://github.com/vineetsemwal/quickview/tags
martin-g has already told you but i am repeating again to avoid any confusion
for you .
every version of quickview package depends on the same version of wicket
mostly.

quickview 1.5.8.1 depends on wicket 1.5.8(because there is no wicket 1.5.8.1)
quickview 6.1.1depends  on wicket 6.1.1

since you are on wicket 1.5.6 ,i recommend you to at least upgrade to 1.5.8
to use quickview.

On Tue, Oct 16, 2012 at 2:25 PM, steven.li  wrote:
> Thank you very much !
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Load-table-rows-lazy-when-click-browser-scrollbar-tp4652541p4653003.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
regards,

Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Load table rows lazy when click browser scrollbar

2012-10-16 Thread vineet semwal
hi !
i have made some improvements in quickview in last 2 days,i am writing  tests
for them,after that i will add AjaxPageScrollEventBehavior for 1.5 branch,i will
 send you a notification here..


On Tue, Oct 16, 2012 at 11:35 AM, steven.li
 wrote:
> yes. I followed that try to wrap a AjaxPageScrollEventBehavior for wicket
> 1.5.
>
> I added below method into the AjaxPageScrollEventBehavior  :
>
> @Override
> protected CharSequence getPreconditionScript() {
> String call=RepeaterUtil.get().isPageScrollBarAtBottom();
> return "return "+ call;
> }
>
>
> however, it only staticlly show the first 14 rows, the page scrollbar at
> bottom event cannot be triggered.
>
> please help on how to get the "PageScrollBar" sample works in 1.5.
>
> Thanks very much!
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Load-table-rows-lazy-when-click-browser-scrollbar-tp4652541p4652993.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
regards,

Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Load table rows lazy when click browser scrollbar

2012-10-15 Thread Martin Grigorov
Hi,

quickview6 is for Wicket 6.
https://github.com/vineetsemwal/quickview/tree/wicket-quickview-1.5.x
is for Wicket 1.5.x

On Tue, Oct 16, 2012 at 4:05 AM, steven.li  wrote:
> do you have a sample how to create the "decorator in 1.5" ?
>
> I tried to run the quickview6.0 in wicket 1.5, the problem is I cannot find
> the package
>
> org.apache.wicket.ajax.attributes.AjaxCallListener
> and
> org.apache.wicket.ajax.attributes.AjaxRequestAttributes
>
> seems they are new package in 1.6, will the decorator will replace the
> funciton of these two?
>
> thanks.
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Load-table-rows-lazy-when-click-browser-scrollbar-tp4652541p4652991.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




Re: Load table rows lazy when click browser scrollbar

2012-10-15 Thread vineet semwal
that AjaxPageScrollEventBehavior is equal to  AjaxEventBehavior("onscroll"){
 public void  onevent(AjaxRequestTarget target){
quickView.addItemsForNextPage();
}
}
so all the work is basically done by quickview ,the only useful thing
that behavior provides is
javascript which only lets server request happens if scroll-bar is
moved to bottom of page.
if you want to use that javascript ,it's available in the below
link,see js function
 isPageScrollBarAtBottom() ,create a decorator in 1.5 and use it

 
https://github.com/vineetsemwal/quickview/blob/master/wicket-quickview/src/main/java/com/aplombee/repeater.js


On Mon, Oct 15, 2012 at 10:37 AM, steven.li
 wrote:
> I tried the quickview , however, seems PageScrollBar only supported in Wicket
> 6.0 ?
>
> Currently, I'm using Wicket 1.5.6, If I want to use PageScrollBar, do I have
> to migrate to Wicket 6.0 ?
>
> Thanks.
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Load-table-rows-lazy-when-click-browser-scrollbar-tp4652541p4652959.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
regards,

Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org