[jboss-user] [JBoss Seam] - Re: Seam with Jbpm - Operation not allowed.

rhino0314 do-not-reply at jboss.com
Thu Oct 12 02:42:28 EDT 2006


This is my solution:
1. Edit org.jboss.seam.jsf.SeamApplication, add following line for jsf 1.2:
//------------------- methods for jsf 1.2 -------------------------
   public ResourceBundle getResourceBundle(FacesContext ctx, String name) {
	   return application.getResourceBundle(ctx, name);
   }
   
   public void addELResolver(ELResolver resolver) {
	   application.addELResolver(resolver);
   }
   
   public ELResolver getELResolver() {
	   return application.getELResolver();
   }
   
   public UIComponent createComponent(ValueExpression componentExpression,
           FacesContext context,
           String componentType)
   throws FacesException {
	   return application.createComponent(componentExpression, context, componentType);
   }
   
   public ExpressionFactory getExpressionFactory() {
	   return application.getExpressionFactory();
   }
   
   public void addELContextListener(ELContextListener listener) {
	   application.addELContextListener(listener);
   }
   
   public void removeELContextListener(ELContextListener listener) {
	   application.removeELContextListener(listener);
   }
   
   public ELContextListener [] getELContextListeners() {
	   return application.getELContextListeners();
   }

2. Rebuild jboss-seam;

3. Rebuild your app with new jboss-seam.jar

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977770#3977770

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977770



More information about the jboss-user mailing list