wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Update ListView with Ajax, performance.
Date Fri, 12 Apr 2013 20:46:01 GMT
Hi,

I have done something like this before.
I used a <table> in my case but you can use another HTML element.
The initial layout is:
-table
--tbody
---tr
---tr
....
---tr
--tbody (id + style=display:none)
--tfoot
---tr
----a (Show more link)

i.e. the first tbody shows the items, the second tbody is a placeholder and
the tfoot has the 'show' link
When the link is clicked the server returns markup like:
--tbody
---tr
---tr
....
---tr
--tbody (id + style=display:none)

which replaces the placeholder tbody.
When there are no more entries the last Ajax response also hides the tfoot.


On Fri, Apr 12, 2013 at 11:36 PM, Raul <ralvarez@netwie.com> wrote:

> Nick, I sensed that the solution was going to use Javascript, my question
> was
> if there was any easier than the framework could provide. Select2 prove.
>
> Alexy single client solution does not help me as I have a large volume of
> data.
>
> Regards and thanks for the guidance.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657951.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message