cancel
Showing results for 
Search instead for 
Did you mean: 

new component generator

roman
Champ in-the-making
Champ in-the-making
howdy,

I'm creating a new component generator.

As described here: http://wiki.alfresco.com/wiki/Component_Generator_Framework#Retrieving_a_component_generator

the component generator should be defined in the faces-config-beans.xml.

I've got a new project, where should i place the definition (file? folder?)
is it possible to create a faces-config-beans.xml in the META-INF folder
with this code?

<managed-bean>
   <description>
      Bean that generates a coded value component
   </description>
   <managed-bean-name>CodedValueGenerator</managed-bean-name>
   <managed-bean-class>de.xxx.web.bean.generator.CodedValueGenerator</managed-bean-class>
   <managed-bean-scope>request</managed-bean-scope>
</managed-bean>

the project is packaged to an AMP file….

best regards
roman
3 REPLIES 3

dgenard
Champ on-the-rise
Champ on-the-rise
See http://wiki.alfresco.com/wiki/Packaging_And_Deploying_Extensions.

Either place your managed bean declaration in META-INF/faces-config.xml (packaged in the .jar like java classes), or in WEB-INF/faces-config-custom.xml.

Denis

roman
Champ in-the-making
Champ in-the-making
Many thanx!!! Smiley Very Happy

regards,
roman

roman
Champ in-the-making
Champ in-the-making
Hello,

i've got another question:
if i create own jsf components where should i place my tld file?
or should i extend the existing tld files in the web-inf folder?

best regards
roman