You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Manuel Corrales <ma...@gmail.com> on 2008/07/01 20:49:41 UTC

Multiple links on screen, same link on page?

Hi, i have a table and a couple of pagination controls (links). Is there a
way of duplicate this links (i want the controls to be on top and bottom of
the table) without having to add two times the same links on the page and
without having to use different wicket:id for each link?

Thanks!

Manuel.

Re: Multiple links on screen, same link on page?

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
Yup dependancy on id's are in a hierachy:)

Timo Rantalaiho wrote:
> On Tue, 01 Jul 2008, Manuel Corrales wrote:
>   
>> Hi, i have a table and a couple of pagination controls (links). Is there a
>> way of duplicate this links (i want the controls to be on top and bottom of
>> the table) without having to add two times the same links on the page and
>> without having to use different wicket:id for each link?
>>     
>
> Are you using your own components for these things, or some
> ready-made Wicket DataTables or such?
>
> I think that if you group the controls in their own
> component (WebMarkupContainer) you should be fine adding
> that twice with different ids, without the need to invent
> different wicket:id for each link.
>
> Best wishes,
> Timo
>
>   

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


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


Re: Multiple links on screen, same link on page?

Posted by Timo Rantalaiho <Ti...@ri.fi>.
On Tue, 01 Jul 2008, Manuel Corrales wrote:
> Hi, i have a table and a couple of pagination controls (links). Is there a
> way of duplicate this links (i want the controls to be on top and bottom of
> the table) without having to add two times the same links on the page and
> without having to use different wicket:id for each link?

Are you using your own components for these things, or some
ready-made Wicket DataTables or such?

I think that if you group the controls in their own
component (WebMarkupContainer) you should be fine adding
that twice with different ids, without the need to invent
different wicket:id for each link.

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

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


Re: Multiple links on screen, same link on page?

Posted by Igor Vaynberg <ig...@gmail.com>.
no, there is no way to do that. this was a restriction imposed by our
ajax support. win some, lose some.

-igor

On Tue, Jul 1, 2008 at 11:49 AM, Manuel Corrales
<ma...@gmail.com> wrote:
> Hi, i have a table and a couple of pagination controls (links). Is there a
> way of duplicate this links (i want the controls to be on top and bottom of
> the table) without having to add two times the same links on the page and
> without having to use different wicket:id for each link?
>
> Thanks!
>
> Manuel.
>

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