我想在GitExtension中自动使用push和pull ,而不是每次都在提示符中输入我的用户和密码.
那么如何在GIT中保存我的凭据呢?
我发现错误时使用它来在登录时显示一条消息:
<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">×</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)