You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Thomas Andraschko (JIRA)" <ji...@apache.org> on 2015/07/06 00:31:04 UTC

[jira] [Created] (DELTASPIKE-946) Prevent jfwid rendering

Thomas Andraschko created DELTASPIKE-946:
--------------------------------------------

             Summary: Prevent jfwid rendering
                 Key: DELTASPIKE-946
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-946
             Project: DeltaSpike
          Issue Type: Improvement
          Components: JSF22-Module
    Affects Versions: 1.4.1
            Reporter: Thomas Andraschko
            Assignee: Thomas Andraschko
             Fix For: 1.4.2


We can prevent the jfwid on links when we don't run in the DELEGATED mode.
We need just to wrap the JSF 2.2 ClientWindow and do the following:

    @Override
    public boolean isClientWindowRenderModeEnabled(FacesContext context)
    {
        if (!delegateWindowHandling)
        {
            return false;
        }
        
        return super.isClientWindowRenderModeEnabled(context);
    }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)