Re: [Wicket-user] Linking to targets from within a page

2005-11-01 Thread Juergen Donnerstag
I was able to fix the NPE except on one example: This is a problem. I'm not even sure "#" is supported. Does anybody have an example of a Link which uses "#" to move to a position within the markup? It can not be a PageParameter because they are appended with "?". Juergen On 11/1/05, Juergen D

Re: [Wicket-user] Linking to targets from within a page

2005-10-31 Thread Juergen Donnerstag
I agree, it should be improved. Thanks for the information. Juergen On 11/1/05, David Leangen <[EMAIL PROTECTED]> wrote: > > On Mon, 2005-10-31 at 17:05 -0800, Igor Vaynberg wrote: > > if you autolink to a page that doesnt exist you get an npe, maybe > > we should dress it up with a better exce

Re: [Wicket-user] Linking to targets from within a page

2005-10-31 Thread David Leangen
On Mon, 2005-10-31 at 17:05 -0800, Igor Vaynberg wrote: > if you autolink to a page that doesnt exist you get an npe, maybe > we should dress it up with a better exception? Understood. But it seems to me that when a page DOES exist, that shouldn't happen... BTW, also noticed something else stra

Re: [Wicket-user] Linking to targets from within a page

2005-10-31 Thread Igor Vaynberg
if you autolink to a page that doesnt exist you get an npe, maybe we should dress it up with a better exception? -Igor   On 10/31/05, David Leangen <[EMAIL PROTECTED]> wrote: Hello!> >  > That looks to me like a bug. > This works:These cause a NPE: Link 1I don't know Wicket well enough yet to say w

Re: [Wicket-user] Linking to targets from within a page

2005-10-31 Thread David Leangen
Hello! > > Link 1 > That looks to me like a bug. > This works: Link 1 These cause a NPE: Link 1 Link 1 Link 1 Link 1 I don't know Wicket well enough yet to say whether or not this is a bug, but it doesn't quite seem right to me... > > I'm not able to find detailed component d

Re: [Wicket-user] Linking to targets from within a page

2005-10-31 Thread Juergen Donnerstag
That looks to me like a bug. I assume you have several anchor tags in your menu and all them are enclosed by a single ? As can be nested, a simple workaround could be to disable it for the failing link, because it is not required anyway for the page internal link. I guess you know already wiki a

[Wicket-user] Linking to targets from within a page

2005-10-31 Thread David Leangen
Hello! I just moved over from Tapestry. So, I understand the concept of how Wicket works, but (1) I'm not yet familiar with the implementation details, and (2) I'm not able to find detailed component documentation anywhere... My question is: how do I link to a target within a page, specifically