I am running into a brick wall here.

For one, the problem seems to only manifest itself in my RoundCornerBorder component and then only under the new code (CVS head fails, 0.9.19 works). I am still fairly certain that there is a parser bug at work but I am having a very difficult time isolating the problem because Wicket throws confusing exceptions at me. I get exceptions like this:

javax.servlet.ServletException: Wicket could not render page: wicket.WicketRuntimeException: 
[RoundCornerBorder 0.headerBox, markupStream = [markup = 
file:/C:/Documents%20and%20Settings/Gili/My%20Documents/blueeye/trunk/com/be/desktopbeautifier/DesktopBeautifierServer/netbeans4.1/build/web/WEB-INF/classes/wicket/markup/html/border/RoundCornerBorder.html,
 index = 20, current = '<div wicket:id="topLeft">' (line 15, column 15)], 
children = [[WebMarkupContainer 0.headerBox.top, children = [[WebMarkupContainer 
0.headerBox.top.right, children = [[WebMarkupContainer 0.headerBox.top.right.bottom, children = 
[[WebMarkupContainer 0.headerBox.top.right.bottom.left, children = [[WebMarkupContainer 
0.headerBox.top.right.bottom.left.topLeft, children = [[WebMarkupContainer 
0.headerBox.top.right.bottom.left.topLeft.topRight, children = [[WebMarkupContainer 
0.headerBox.top.right.bottom.left.topLeft.topRight.bottomRight, children = [[WebMarkupContainer 
0.headerBox.top.right.bottom.left.topLeft.topRight.bottomRight.bottomLeft, children = 
[[WebMarkupContainer 
0.headerBox.top.right.bottom.left.topLeft.topRight.bottomRight.bottomLeft.contents]]]]]]]]]]]]]]]]],
 Image 0.headerBox.topLeftCorner, Image 0.headerBox.topRightCorner, Image 
0.headerBox.bottomRightCorner, Image 0.headerBox.bottomLeftCorner]] : Component never rendered. 
You probably failed to reference it in your markup.

and it is not clear to me what the heck that means. Specifically, which component is Wicket complaining about and what's its parent component? Instead of giving me this incredibly long and frustrating exception string, why not give me the information I need? The team should seriously consider if we could simplify this exception message.

I also noticed that wicket-examples do not build anymore -- it fails some tests. Is it possible for us to fix these tests? It'll probably help us track down whether there is really a parsing problem or something specific to my component. Lastly, I'd love to send my code to one of you guys to debug. It is very simple to plug into the HelloWorld example and hopefully you will be able to tell me what, if anything, I am doing wrong. I went over the code many times and I can't figure this out. Please help!

Gili

Juergen Donnerstag wrote:

are you able to narrow the problem? What exactly is causing the
problem? You assume it the parser, so you think the problem is in the
markup. Remove step by step what is not needed and find what really
causes the problem.

Juergen


On Sun, 20 Mar 2005 17:43:14 -0500, Gili <[EMAIL PROTECTED]> wrote:


   This is really odd. I'm seeing what I believe is a bug in the HTML
parser in cvs-head for <a wicket:id> tags.

   I have this HTML code sniplet:

<div style="text-align: center">
<a wicket:id="support1">
   <img wicket:id="supportImage"
src="images/Bright_Leaves_by_willowolf.jpg" alt="Support" width="80"
height="60" border="0"/>
   </a>
</div>
</td>
<td>
<p>
<a wicket:id="support2" href="support.html" class="style37">Support</a>

   Now, for some reason, Wicket expects the "support2" component to be
added within "support1". Otherwise, it complains that component
"support2" is never rendered because the markup does not refer to it.
But looking at the above code, clearly "support1" closes before
"support2" is reached. So what gives?

Gili

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop







------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to