I was able to fix the NPE except on one example:
<a href="SamePage.html#link1">

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 Donnerstag <[EMAIL PROTECTED]> wrote:
> 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 exception?
> >
> > Understood. But it seems to me that when a page DOES exist, that
> > shouldn't happen...
> >
> > BTW, also noticed something else strange. I was getting a NPE due to a
> > link with the "target" attribute (stack trace below).
> >
> > Funny thing is that I have two other links with the "target" attribute,
> > and no problems.
> >
> > The link looks like this:
> >
> > <wicket:link autolink="false"><a href="http://www.domain.com/index.html";
> > target="_blank">Link Text</a></wicket:link>
> >
> > I had to override it with autolink="false" in order to avoid the NPE.
> > Without the "target" attribute, no problems.
> >
> >
> > Cheers,
> > Dave
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by the JBoss Inc.
> > Get Certified Today * Register for a JBoss Training Course
> > Free Certification Exam for All Training Attendees Through End of 2005
> > Visit http://www.jboss.com/services/certification for more information
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to