I can also try to pack the project as a jar file (so, that is is reusable)
and move it to wicket-stuff or some other place that gets regularly
published.


On Wed, Aug 7, 2013 at 8:45 AM, Ernesto Reinaldo Barreiro <
[email protected]> wrote:

> Hi,
>
> Thanks for the feedback.
>
> In fact, solution can be improved in many aspects. For instance, I thought
> about making the "logic" pluggable so that you can support more that just
> links... Maybe having a "handler" interface that can be registered on
> "context" component and is responsible for
>
> 1- The header contributions needed by the "links". I write "links" because
> they might be anything.
> 2- A method to  decides is a particular AJAX request can be handled by the
> given handler.
> 3- A logic to deliver the event to the appropriate component(s).
>
> This way we might have something "generic" and "extendable". For instance,
> that could be used to register drag-drop events or anything you need.
>
> If interesting to other people I can give it a try to this idea and
> publish the code (and try to write something to explain the design). Mind
> example is a table but behavior can be attached to "any"  component.
>
>
>
>
> On Wed, Aug 7, 2013 at 12:19 AM, Rodrigo Heffner <
> [email protected]> wrote:
>
>> Thank you very much, Ernesto.
>>
>> I have a similar scenario, a panel with about 300 AjaxFallbackLinks and
>> each with some custom logic on the onClick, but your solution looks much
>> better.
>>
>>
>> On 5 August 2013 17:31, Ernesto Reinaldo Barreiro <[email protected]
>> >wrote:
>>
>> > Dave,
>> >
>> > Mind that is  just something I improvise in a couple of hours... based
>> on
>> > previous experiences.  For, sure you will find many ways to improve
>> it;-).
>> > Also if you have questions I will try to answer them here.
>> >
>> >
>> > On Mon, Aug 5, 2013 at 7:06 PM, DaveS <[email protected]> wrote:
>> >
>> > > Hi Ernesto,
>> > > thank you for example. I am sure that it helps also other wicket
>> users.
>> > >
>> > > I will use it and if I improve something I will let you know.
>> > >
>> > > Thanks again.
>> > >
>> > > Dave
>> > >
>> > >
>> > >
>> > > --
>> > > View this message in context:
>> > >
>> >
>> http://apache-wicket.1842946.n4.nabble.com/Table-with-a-lot-of-ajax-links-tp4660303p4660712.html
>> > > Sent from the Users forum mailing list archive at Nabble.com.
>> > >
>> > > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: [email protected]
>> > > For additional commands, e-mail: [email protected]
>> > >
>> > >
>> >
>> >
>> > --
>> > Regards - Ernesto Reinaldo Barreiro
>> >
>>
>>
>>
>> --
>> Rodrigo H M Bezerra
>>
>
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
>



-- 
Regards - Ernesto Reinaldo Barreiro

Reply via email to