You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ernesto Reinaldo Barreiro <re...@gmail.com> on 2019/07/07 06:52:58 UTC

Re: improvement for wicket:for

Voila

https://github.com/apache/wicket/pull/373

On Wed, Jun 26, 2019 at 9:46 AM Ernesto Reinaldo Barreiro <
reiern70@gmail.com> wrote:

> ok.
>
> On Wed, Jun 26, 2019 at 9:43 AM Martin Grigorov <mg...@apache.org>
> wrote:
>
>> Hi Ernesto,
>>
>> Please create a Pull Request and we will discuss it! Thanks!
>>
>> On Wed, Jun 26, 2019 at 9:34 AM Ernesto Reinaldo Barreiro <
>> reiern70@gmail.com> wrote:
>>
>> > I could try to provide a PR implementing this.
>> >
>> > On Wed, Jun 26, 2019 at 9:30 AM Ernesto Reinaldo Barreiro <
>> > reiern70@gmail.com> wrote:
>> >
>> > > Hi,
>> > >
>> > > In application I'm developing right now we have following situation.
>> > >
>> > >
>> > >    1. A repeater consisting of a label with wicket:id "label" + some
>> > >    complex panel with wicket:id="value"
>> > >    2. I still would like to use wicket:for but panel value structure
>> may
>> > >    change a lot depending on "type" of current repeater "row". Thus, I
>> > can't
>> > >    alway write wicket:for="value/xxx".
>> > >
>> > > Thus, I would like to introduce some interface to be implemented by
>> > > "ValuePanel" which returns a reference to that for component to which
>> > label
>> > > should point, so that I could write wicket:for="value"
>> > >
>> > > WDYT?
>> > >
>> > > --
>> > > Regards - Ernesto Reinaldo Barreiro
>> > >
>> >
>> >
>> > --
>> > Regards - Ernesto Reinaldo Barreiro
>> >
>>
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
>


-- 
Regards - Ernesto Reinaldo Barreiro