Bugs item #1401812, was opened at 2006-01-10 11:25
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=1401812&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.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Jim McLaughlin (jimmclaughlin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add nested components to wicket:head fails

Initial Comment:
Adding nested components to wicket:head of a panel
fails. Say you have some xml markup in the wicket:head
you want wicket to perform substitutions on, such as:

<wicket:head>
   <sometag wicket:id="atag" name="wicket will replace">
      <span wicket:id="sometaginfo">replace</span>
   </sometag>
</wicket:head>

Wicket has no problem creating a WebMarkupContainer for
"atag" and adding an AttributeModifier for name. But if
you add a label to "atag" to handle the span
"sometaginfo", wicket will throw an exception:

 The markup stream of the component should be known by
now, but isn't: [Component id = sometaginfo, page =
NestedComponentInHeadPage, path =
0:NestedComponentInHeadTestPanel:atag:sometaginfo.Label,
isVisible = true, isVersioned = false]


I have attached a simple unit test for this

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to