Package de.danet.an.util.jsf

Examples of de.danet.an.util.jsf.PortletEnvironment$BooleanWrapper


                    } else {
                        processFilter = new AndOperation(processFilter, fc);
                    }
                }
                FacesContext fc = FacesContext.getCurrentInstance();
                PortletEnvironment portletEnv = (PortletEnvironment)
                    fc.getApplication().getVariableResolver().resolveVariable
                    (fc, "processPortletEnv");
                Integer chunk = (Integer)
                    portletEnv.getPreferencesAsIntegers().get("displayedRows");
                processesAsModel = new PaginatedDataModel
                    (pd.processes(processFilter, sortCriterion),
                     chunk.intValue());
            } catch (RemoteException e) {
                JSFUtil.addMessage(FacesMessage.SEVERITY_ERROR, L10N_MSGS,
View Full Code Here


        this.value = value;
    }

    private Calendar getCalendar() {
        FacesContext fc = FacesContext.getCurrentInstance();
        PortletEnvironment portletEnv = (PortletEnvironment)fc.getApplication()
            .getVariableResolver().resolveVariable(fc, "processPortletEnv");
        Locale locale = fc.getApplication().getDefaultLocale();
        if (locale == null) {
            locale = Locale.getDefault();
        }
        return Calendar.getInstance (portletEnv.getTimeZone(), locale);
    }
View Full Code Here

TOP

Related Classes of de.danet.an.util.jsf.PortletEnvironment$BooleanWrapper

Copyright © 2018 www.massapicom. 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.