小编Eds*_*zar的帖子

如何在GIT中保存用户名和密码?

我想在GitExtension中自动使用push和pull ,而不是每次都在提示符中输入我的用户和密码.

那么如何在GIT中保存我的凭据呢?

git credentials git-config

886
推荐指数
26
解决办法
78万
查看次数

JSF渲染弹出窗口是一个manegbean条件?

我发现错误时使用它来在登录时显示一条消息:

<a4j:region rendered="#{usuario.fail == 1}">
            <div class="alert alert-danger alert-dismissable"
                style="width: 470px; margin: 10px auto;">
                <button type="button" class="close" data-dismiss="alert"
                    aria-hidden="true">&times;</button>
                Invalid user or password.
            </div>
        </a4j:region>
Run Code Online (Sandbox Code Playgroud)

但是,我想显示一个弹出窗口,但是,这不起作用,我正在尝试这样的事情:

<h:outputScript rendered="#{usuario.fail == 1}">
            #{rich:component('popup')}.show();
        </h:outputScript>

        <rich:popupPanel id="popup" modal="false" autosized="true" resizeable="false">
                <f:facet name="header">
                    <h:outputText value="Simple popup panel" />
                </f:facet>
                <f:facet name="controls">
                    <h:outputLink value="#" onclick="#{rich:component('popup')}.hide(); return false;">
                        X
                    </h:outputLink>
                </f:facet>
                <p>Any content might be inside this panel.</p>

                <p>
                    The popup panel is open and closed from the javascript function of component client side object. The …
Run Code Online (Sandbox Code Playgroud)

jsf richfaces popup jsf-2

2
推荐指数
1
解决办法
743
查看次数

标签 统计

credentials ×1

git ×1

git-config ×1

jsf ×1

jsf-2 ×1

popup ×1

richfaces ×1