I have created issue 1401812 "Add nested components to wicket:head fails" for this. The exception occurs without the transformer. The transformer is working great, btw.

thx,
jim

Juergen Donnerstag wrote:
On 1/10/06, Jim McLaughlin <[EMAIL PROTECTED]> wrote:

Hi,
I'm using the XsltTransformerBehavior created by Juergen last week to
transform xml to javascript in  panelA.


The excepton occurs without the transformer?


If I add panelA to panelB in
panelB's wicket:head, I get an exception

"The markup stream of the component should be known by now, but isn't:"

for the first component nested inside panelA.

This does not happen if I add panelA inside the wicket:panel tags of
panelB (I am not adding panelA inside of <script> tags).

The javadoc for HtmlHeaderContainer first says wicket:head regions may
contain wicket components, which must be added with "addToHeader()".
addToHeader doesn't seem to exist anymore, and further down in the
javadoc, it says you can simply use add() to add such components.



add() should do


Are we restricted to adding to wicket:head only components which do not
hold nested components? Obviously, adding a WebMarkupContainer with an
AttributeModifier to a wicket:head works great, but add a label to that
WebMarkupContainer and you will get the above exception. If there is
such a restriction in place, is there anyway it can be removed?



wicket should support. There are no limitations intended. Would you
please open a bug. Thanks

Juergen


thanks,
jim



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




-------------------------------------------------------
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_idv37&alloc_id865&op=click



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

Reply via email to