Skip to content

Commit

Permalink
make clickable the UserNo
Browse files Browse the repository at this point in the history
  • Loading branch information
car031 committed May 2, 2024
1 parent 64d42fc commit cef0f2c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,13 @@ private void addInformations() {
installationID.setWrap(true);
installationID.setWrapTitle(false);

StaticTextItem usernoItem = ItemFactory.newStaticTextItem("userno", userno);
StaticTextItem usernoItem = ItemFactory.newStaticTextItem("userno", I18N.message("clicktoshow").toLowerCase());
usernoItem.setWidth(250);
usernoItem.setRequired(true);
usernoItem.setShouldSaveValue(false);
usernoItem.setWrap(false);
usernoItem.setWrapTitle(false);
usernoItem.addClickHandler(click -> usernoItem.setValue(userno));

StaticTextItem hostName = ItemFactory.newStaticTextItem("hostname", Session.get().getInfo().getHostName());
hostName.setWidth(250);
Expand Down

0 comments on commit cef0f2c

Please sign in to comment.