Bugs item #1339686, was opened at 2005-10-27 19:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1339686&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Janne Hietamäki (jannehietamaki)
Assigned to: Nobody/Anonymous (nobody)
Summary: Invalid Panel markup throws weird exception.

Initial Comment:
Hi,

I did a panel with a completely broken markup like this:

"<input wicket:id="file" type="file">"


This should throw "wicket.markup.MarkupException: Tag
expected", since there is no <wicket:panel>-tags, but
because the input-tag is not closed the result was like
this:

ERROR - RequestCycle               - Unexpected runtime
exception [page = [Page class =
com.xxx.www.view.admin.EditProduct, id = 1]]
java.lang.ClassCastException: wicket.markup.ComponentTag
        at
wicket.markup.parser.filter.HtmlHandler.nextTag(HtmlHandler.java:94)
        at
wicket.markup.parser.filter.WicketParamTagHandler.nextTag(WicketParamTagHandler.java:120)
        at
wicket.markup.parser.filter.WicketRemoveTagHandler.nextTag(WicketRemoveTagHandler.java:64)
        at
wicket.markup.parser.filter.WicketLinkTagHandler.nextTag(WicketLinkTagHandler.java:90)
        at
wicket.markup.parser.filter.BodyOnLoadHandler.nextTag(BodyOnLoadHandler.java:63)



A really small but annoying bug.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1339686&group_id=119783


-------------------------------------------------------
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-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to