We'd need to see the contents of your weblets-config.xml file and the usage from the Renderer via the weblet:// pseudo-protocol.
Btw, since this is the MyFaces users list, it might be better to follow up on the Weblets users list instead. ;-)
[EMAIL PROTECTED]
Kind Regards,
John Fallows.
On 1/21/06, Hendrik Neumann <[EMAIL PROTECTED]> wrote:
> Please make sure to provide feedback on [EMAIL PROTECTED] once
> you've had the chance to use Weblets in your own Faces component library.
> Some enhancements have already been filed, but we are always keen to
> understand additional usecases.
I can't get it to work! I copied the weblets.jar in my JSF-Component
project. Created a weblets-config.xml which will be placed in the
META-INF folder of my jsfcomponent.jar . Then I changed my component
renderer to give me a "hello world" _javascript_ alert using the
getResourceURL and your weblet-protocoll. Finally I copied the
weblets.jar and jsfcomponent.jar into an existing
MyFaces-Test-Application but the screen-rendering crashes.
But tomcat error log gives me a "net.java.dev.weblets.WebletException:
Missing Weblet configuration for 'application'" but the configuration
in /META-INF/weblets-config.xml and the getResourceURL-parameter do
match.
What am I doing wrong? It's not working ;-(
--
http://apress.com/book/bookDisplay.html?bID=10044
Author: Pro JSF and Ajax: Building Rich Internet Components, Apress

