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

Reply via email to