gb.sshKeys = SSH Keys
gb.sshKeysDescription = SSH public key authentication is a secure alternative to password authentication
gb.addSshKey = Add SSH Key
-gb.addSshKeyErrorEmpty = SSH public key empty. Please provide a valid SSH public key
-gb.addSshKeyErrorFormat = Not a valid SSH public key format. Please provide a valid SSH public key
gb.key = Key
gb.comment = Comment
gb.sshKeyCommentDescription = Enter an optional comment. If blank, the comment will be extracted from the key data.
gb.sshKeys = SSH Keys
gb.sshKeysDescription = SSH Public Key Authentifizierung ist eine sichere Alternative zur Authentifizierung mit Passwort
gb.addSshKey = SSH Key hinzuf\u00fcgen
-gb.addSshKeyErrorEmpty = SSH Public Key leer. Bitte geben Sie einen g\u00fltigen SSH Public Key an
-gb.addSshKeyErrorFormat = SSH Public Key Format ungültig. Bitte geben Sie einen g\u00fltigen SSH Public Key an
gb.key = Key
gb.comment = Kommentar
gb.sshKeyCommentDescription = Geben Sie optional einen Kommentar ein. Falls Sie dies nicht tun, wird der Kommentar aus dem Key extrahiert.
add(rootLink);\r
\r
// Feedback panel for info, warning, and non-fatal error messages\r
- add(new FeedbackPanel("feedback").setOutputMarkupId(true));\r
+ add(new FeedbackPanel("feedback"));\r
\r
add(new Label("gbVersion", "v" + Constants.getVersion()));\r
if (app().settings().getBoolean(Keys.web.aggressiveHeapManagement, false)) {\r
import org.apache.wicket.ajax.markup.html.form.AjaxButton;\r
import org.apache.wicket.markup.html.basic.Label;\r
import org.apache.wicket.markup.html.form.Form;\r
-import org.apache.wicket.markup.html.panel.FeedbackPanel;\r
import org.apache.wicket.markup.repeater.Item;\r
import org.apache.wicket.markup.repeater.data.DataView;\r
import org.apache.wicket.markup.repeater.data.ListDataProvider;\r
"span5",\r
keyComment));\r
\r
-// final FeedbackPanel feedback = new FeedbackPanel("feedback");\r
-// feedback.setOutputMarkupId(true);\r
-// addKeyForm.add(feedback);\r
addKeyForm.add(new AjaxButton("addKeyButton") {\r
\r
private static final long serialVersionUID = 1L;\r
String data = keyData.getObject();\r
if (StringUtils.isEmpty(data)) {\r
// do not submit empty key\r
- error(getString("gb.addSshKeyErrorEmpty"));\r
- target.addComponent(getPage().get("feedback"));\r
return;\r
}\r
\r
key.getPublicKey();\r
} catch (Exception e) {\r
// failed to parse the key\r
- error(getString("gb.addSshKeyErrorFormat"));\r
- target.addComponent(getPage().get("feedback"));\r
return;\r
}\r
\r