Mind sharing that? ;-)

-----Original Message-----
From: Thijs [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 10, 2008 11:23 PM
To: users@wicket.apache.org
Subject: Re: Anchors in Wicket?

The component is any wicket component in the same page or next page if 
you know that component.

What you are doing, an anchor in a different page, I've solved by 
writing my own subclass of link where I append the '#rsvp' myself.

Michael Mehrle schreef:
> I don't get it - what is the 'component' in the setAnchor() method? If
I
> set an anchor in a completely different page like this:
>
> <a href="#rsvp" />
>
> What do I set as the 'component' in the link's setAnchor?
>
> Thanks,
>
> Michael
>
> -----Original Message-----
> From: Thijs Vonk [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 10, 2008 12:39 PM
> To: users@wicket.apache.org
> Subject: Re: Anchors in Wicket?
>
> Michael Mehrle wrote:
>   
>> How do create a link that jumps to some anchor in a page? Is there a
>>     
> way
>   
>> to define this in Wicket or do I have to do this manually somehow?
>>
>>  
>>
>> Michael
>>
>>
>>   
>>     
> yes. use link.setAnchor(Component)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to