This content has been marked as final.
Show 2 replies
-
1. Re: script dependency missing for custom facelets tag that i
nbelaevski Dec 30, 2007 4:17 PM (in response to jsutherland)Jon,
I guess that scripts should be included automatically through renderer. Are you redefining renderers?
And one more, here is: http://jira.jboss.com/jira/browse/RF-1289 the similar issue. -
2. Re: script dependency missing for custom facelets tag that i
jsutherland Dec 31, 2007 1:46 AM (in response to jsutherland)Nick,
Thanks for your reply, after reading the JIRA issue you referenced, I realized I made the same mistake of not adding the component to the tree properly. I needed to add the component to the children List of the parent something like:div.getChildren().add(dropSupport); dropSupport.setParent(div);
Now the renderer can find the component properly and all the right javascript dependencies are properly included.
Jon