Migrating from PrettyFaces

Splash Forums Rewrite Users Migrating from PrettyFaces

This topic contains 3 replies, has 3 voices, and was last updated by  Christian Kaltepoth 7 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #26512


    I currently migrated from PrettyFaces to Rewrite. I want to know how could I achieve this in Rewrite:

    <url-mapping id=”mappingId”>
    <pattern value=”/page/#{/[^/]*/ id : bean.id}” />
    <view-id value=”/ui/uglypage.xhtml” />

    I tried using annotations

    @Join(path = "/profiles/{profileId}", to = "/ui/profiles.xhtml")
    public class ProfilesBean implements Serializable {
    	private static final long serialVersionUID = 1L;
    	private String profileId;
    	public String getProfileId() {
    		return profileId;
    	public void setProfileId(String profileId) {
    		this.profileId = profileId;

    But I`m getting this in the console:

    org.ocpsoft.rewrite.cdi.manager.BeanManagerUnavailableException: Failed to locate BeanManager using any of these providers: org.ocpsoft.rewrite.cdi.manager.DefaultJndiBeanManagerProvider(10), org.ocpsoft.rewrite.cdi.manager.ServletContainerJndiBeanManagerProvider(11)

    I`m using:

    rewrite-servlet 2.0.12, rewrite-integration-cdi 2.0.12, weld-servlet 2.2.6, el 2.2 with Tomcat7.

    Thanks in advance.



    I migrated from Tomcat 7 to JbossAS 7.1. The mentioned problem is gone, but now I have a new one:

    javax.el.PropertyNotFoundException: ELResolver cannot handle a null base Object with identifier 'psBean'

    I added the integration-faces 2.0.12 module, I changed the @Scope to @RequestScoped CDI, but nothing helps.


    This is an odd issue. Could you perhaps reproduce it in a sample application and attach it to this issue? We will take a look at it. Thanks!


    Did you add the BeanManager resource to your context.xml as described in the Weld manual?


Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Rewrite Users’ is closed to new topics and replies.

Comments are closed.