Examples of FacesUrlTransformer


Examples of org.agorava.jsf.FacesUrlTransformer

        @Override
        public OAuthAppSettings tune(OAuthAppSettings toTune) {
            return new SimpleOAuthAppSettingsBuilder()
                    .readFromSettings(toTune)
                    .callback(new FacesUrlTransformer(toTune.getCallback())
                            .appendParamIfNecessary(AgoravaConstants.SESSIONID_PARAM, session.getId()).getUrl())
                    .build();
        }
View Full Code Here

Examples of org.jboss.weld.jsf.FacesUrlTransformer

                if (context != null) { // this is a JSF request
                    ConversationContext conversationContext = instance(contextId).select(HttpConversationContext.class).get();
                    if (conversationContext.isActive()) {
                        Conversation conversation = conversationContext.getCurrentConversation();
                        if (!conversation.isTransient()) {
                            path = new FacesUrlTransformer(path, context)
                                .toRedirectViewId()
                                .toActionUrl()
                                .appendConversationIdIfNecessary(conversationContext.getParameterName(), conversation.getId())
                                .encode();
                        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.