Re: (Probably) A Bug in AjaxLink and list

2013-11-06 Thread lambdad...@gmail.com
That works! Thanks for your answer.

cheers,
L


On Wed, Nov 6, 2013 at 12:37 PM, Martin Grigorov wrote:

> Hi,
>
>  
>
> remove id="raw" and let Wicket generate the id for you
>
>
> On Wed, Nov 6, 2013 at 11:56 AM, lambdad...@gmail.com
> wrote:
>
> > Hi Martin,
> >
> > Here is the java file:
> > http://pastebin.com/rKpp50zr
> >
> > and the corresponding html file:
> > http://pastebin.com/Cq1j7ZPT
> >
> > I have also tried with the WebMarkupContainer and had experienced the
> same
> > behavior.
> >
> > Thanks in advance,
> > L
> >
> >
> >
> > On Tue, Nov 5, 2013 at 2:07 PM, Martin Grigorov  > >wrote:
> >
> > > Hi,
> > >
> > > The first mail didn't make it to the list. At least I haven't seen it.
> > >
> > > Show us your code please.
> > >
> > >
> > > On Tue, Nov 5, 2013 at 10:58 AM, lambdad...@gmail.com
> > > wrote:
> > >
> > > > Dear Group,
> > > >
> > > > I haven't received any reply yet. Wasn't I clear enough in my query?
> > > >
> > > > cheers,
> > > > L
> > > >
> > > >
> > > > On Mon, Nov 4, 2013 at 1:00 PM, lambdad...@gmail.com
> > > > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I am showing a list on wicket page. Each item (is a div) in the
> list,
> > > it
> > > > > has few labels and two AjaxLinks - show and hide, which show /
> hides
> > > some
> > > > > information (as another label) related to that item. If I have more
> > > than
> > > > > one item in the list, clicking on the ajax links of any item always
> > > > > modifies the first item in the list. For example, if I have 3
> items,
> > > > > clicking on the third "show" link always shows and under the first
> > item
> > > > > likewise for the "hide", nevertheless it shows the correct info.
> but
> > > the
> > > > > placement is wrong.
> > > > >
> > > > > This behavior wasn't there when the above code was relying on 1.5,
> > only
> > > > > since I have moved to 6.11. I have very good reasons to update,
> > though.
> > > > >
> > > > > Any help / guidance is very appreciated.
> > > > >
> > > > > Thanks,
> > > > > Lambda
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>


Re: (Probably) A Bug in AjaxLink and list

2013-11-06 Thread Martin Grigorov
Hi,

 

remove id="raw" and let Wicket generate the id for you


On Wed, Nov 6, 2013 at 11:56 AM, lambdad...@gmail.com
wrote:

> Hi Martin,
>
> Here is the java file:
> http://pastebin.com/rKpp50zr
>
> and the corresponding html file:
> http://pastebin.com/Cq1j7ZPT
>
> I have also tried with the WebMarkupContainer and had experienced the same
> behavior.
>
> Thanks in advance,
> L
>
>
>
> On Tue, Nov 5, 2013 at 2:07 PM, Martin Grigorov  >wrote:
>
> > Hi,
> >
> > The first mail didn't make it to the list. At least I haven't seen it.
> >
> > Show us your code please.
> >
> >
> > On Tue, Nov 5, 2013 at 10:58 AM, lambdad...@gmail.com
> > wrote:
> >
> > > Dear Group,
> > >
> > > I haven't received any reply yet. Wasn't I clear enough in my query?
> > >
> > > cheers,
> > > L
> > >
> > >
> > > On Mon, Nov 4, 2013 at 1:00 PM, lambdad...@gmail.com
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I am showing a list on wicket page. Each item (is a div) in the list,
> > it
> > > > has few labels and two AjaxLinks - show and hide, which show / hides
> > some
> > > > information (as another label) related to that item. If I have more
> > than
> > > > one item in the list, clicking on the ajax links of any item always
> > > > modifies the first item in the list. For example, if I have 3 items,
> > > > clicking on the third "show" link always shows and under the first
> item
> > > > likewise for the "hide", nevertheless it shows the correct info. but
> > the
> > > > placement is wrong.
> > > >
> > > > This behavior wasn't there when the above code was relying on 1.5,
> only
> > > > since I have moved to 6.11. I have very good reasons to update,
> though.
> > > >
> > > > Any help / guidance is very appreciated.
> > > >
> > > > Thanks,
> > > > Lambda
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>


Re: (Probably) A Bug in AjaxLink and list

2013-11-06 Thread lambdad...@gmail.com
Hi Martin,

Here is the java file:
http://pastebin.com/rKpp50zr

and the corresponding html file:
http://pastebin.com/Cq1j7ZPT

I have also tried with the WebMarkupContainer and had experienced the same
behavior.

Thanks in advance,
L



On Tue, Nov 5, 2013 at 2:07 PM, Martin Grigorov wrote:

> Hi,
>
> The first mail didn't make it to the list. At least I haven't seen it.
>
> Show us your code please.
>
>
> On Tue, Nov 5, 2013 at 10:58 AM, lambdad...@gmail.com
> wrote:
>
> > Dear Group,
> >
> > I haven't received any reply yet. Wasn't I clear enough in my query?
> >
> > cheers,
> > L
> >
> >
> > On Mon, Nov 4, 2013 at 1:00 PM, lambdad...@gmail.com
> > wrote:
> >
> > > Hi,
> > >
> > > I am showing a list on wicket page. Each item (is a div) in the list,
> it
> > > has few labels and two AjaxLinks - show and hide, which show / hides
> some
> > > information (as another label) related to that item. If I have more
> than
> > > one item in the list, clicking on the ajax links of any item always
> > > modifies the first item in the list. For example, if I have 3 items,
> > > clicking on the third "show" link always shows and under the first item
> > > likewise for the "hide", nevertheless it shows the correct info. but
> the
> > > placement is wrong.
> > >
> > > This behavior wasn't there when the above code was relying on 1.5, only
> > > since I have moved to 6.11. I have very good reasons to update, though.
> > >
> > > Any help / guidance is very appreciated.
> > >
> > > Thanks,
> > > Lambda
> > >
> > >
> > >
> > >
> > >
> >
>


Re: (Probably) A Bug in AjaxLink and list

2013-11-05 Thread Martin Grigorov
Hi,

The first mail didn't make it to the list. At least I haven't seen it.

Show us your code please.


On Tue, Nov 5, 2013 at 10:58 AM, lambdad...@gmail.com
wrote:

> Dear Group,
>
> I haven't received any reply yet. Wasn't I clear enough in my query?
>
> cheers,
> L
>
>
> On Mon, Nov 4, 2013 at 1:00 PM, lambdad...@gmail.com
> wrote:
>
> > Hi,
> >
> > I am showing a list on wicket page. Each item (is a div) in the list, it
> > has few labels and two AjaxLinks - show and hide, which show / hides some
> > information (as another label) related to that item. If I have more than
> > one item in the list, clicking on the ajax links of any item always
> > modifies the first item in the list. For example, if I have 3 items,
> > clicking on the third "show" link always shows and under the first item
> > likewise for the "hide", nevertheless it shows the correct info. but the
> > placement is wrong.
> >
> > This behavior wasn't there when the above code was relying on 1.5, only
> > since I have moved to 6.11. I have very good reasons to update, though.
> >
> > Any help / guidance is very appreciated.
> >
> > Thanks,
> > Lambda
> >
> >
> >
> >
> >
>


Re: (Probably) A Bug in AjaxLink and list

2013-11-05 Thread lambdad...@gmail.com
Dear Group,

I haven't received any reply yet. Wasn't I clear enough in my query?

cheers,
L


On Mon, Nov 4, 2013 at 1:00 PM, lambdad...@gmail.com
wrote:

> Hi,
>
> I am showing a list on wicket page. Each item (is a div) in the list, it
> has few labels and two AjaxLinks - show and hide, which show / hides some
> information (as another label) related to that item. If I have more than
> one item in the list, clicking on the ajax links of any item always
> modifies the first item in the list. For example, if I have 3 items,
> clicking on the third "show" link always shows and under the first item
> likewise for the "hide", nevertheless it shows the correct info. but the
> placement is wrong.
>
> This behavior wasn't there when the above code was relying on 1.5, only
> since I have moved to 6.11. I have very good reasons to update, though.
>
> Any help / guidance is very appreciated.
>
> Thanks,
> Lambda
>
>
>
>
>