@Override protected void fillContent (@Nonnull final WPECTYPE aWPEC) { final HCNodeList aNodeList = aWPEC.getNodeList (); final Locale aDisplayLocale = aWPEC.getDisplayLocale (); final IHCTable <?> aTable = getStyler ().createTable (HCCol.star (), HCCol.star ()).setID (getID ()); aTable.addHeaderRow ().addCells (EText.MSG_NAME.getDisplayText (aDisplayLocale), EText.MSG_VALUE.getDisplayText (aDisplayLocale)); // For all environment variables for (final Map.Entry <String, String> aEntry : System.getenv ().entrySet ()) { final HCRow aRow = aTable.addBodyRow (); aRow.addCell (aEntry.getKey ()); aRow.addCell (aEntry.getValue ()); } aNodeList.addChild (aTable); final DataTables aDataTables = getStyler ().createDefaultDataTables (aWPEC, aTable); aDataTables.setInitialSorting (0, ESortOrder.ASCENDING); aNodeList.addChild (aDataTables); } }
aRow.addCell (sID); aRow.addCell (aDTZ.getName (nNow, aDisplayLocale)); aRow.addCell (aDTZ.getShortName (nNow, aDisplayLocale)); aRow.addCell (new Duration (aDTZ.getOffset (nNow)).toString ()); aRow.addCell (EWebBasicsText.getYesOrNo (aDTZ.isStandardOffset (nNow), aDisplayLocale)); aRow.addCell (EWebBasicsText.getYesOrNo (aDTZ.isFixed (), aDisplayLocale));
aRow.addCell (aItem.getKey ()); aRow.addCell (aServletStatus.getCurrentStatus ().getDisplayText (aDisplayLocale)); aRow.addCell (Integer.toString (aServletStatus.getInvocationCount ())); aRow.addCell (PDTToString.getAsString (aServletStatus.getDateTimeOfStatus (EServletStatus.INITED), aDisplayLocale));
for (final Map.Entry <String, Object> aEntry : aScope.getAllAttributes ().entrySet ()) aTableAttrs.addBodyRow () .addCell (aEntry.getKey ()) .addCell (CGStringHelper.getClassLocalName (aEntry.getValue ())) .addCell (UITextFormatter.getToStringContent (aEntry.getValue ())); aNodeList.addChild (aTableAttrs);
aRow.addCell (PDTToString.getAsString (aItem.getDateTime (), aDisplayLocale)); aRow.addCell (SecurityUtils.getUserDisplayName (aItem.getUserID (), aDisplayLocale)); aRow.addCell (aItem.getType ().getID ()); aRow.addCell (EWebBasicsText.getYesOrNo (aItem.getSuccess ().isSuccess (), aDisplayLocale)); aRow.addCell (getActionString (aItem));
aRow.addCell (new HCA (aViewLink).addChild (aSessionScope.getID ())); aRow.addCell (Integer.toString (aSessionScope.getAttributeCount ())); if (aWebScope != null) aRow.addCell (PDTToString.getAsString (PDTFactory.createLocalDateTimeFromMillis (aWebScope.getLastAccessedTime ()), aDisplayLocale)); else aRow.addCell (); aRow.addCell ();
for (final Map.Entry <String, Object> aEntry : aScope.getAllAttributes ().entrySet ()) aTableAttrs.addBodyRow () .addCell (aEntry.getKey ()) .addCell (CGStringHelper.getClassLocalName (aEntry.getValue ())) .addCell (UITextFormatter.getToStringContent (aEntry.getValue ())); aNodeList.addChild (aTableAttrs);
for (final Map.Entry <String, Object> aEntry : aScope.getAllAttributes ().entrySet ()) aTableAttrs.addBodyRow () .addCell (aEntry.getKey ()) .addCell (CGStringHelper.getClassLocalName (aEntry.getValue ())) .addCell (UITextFormatter.getToStringContent (aEntry.getValue ())); aNodeList.addChild (aTableAttrs);
aRow.addCell (new HCA (aViewURL).addChild (aItem.getID ())); aRow.addCell (aItem.getErrorTimeDisplayText (aDisplayLocale)); aRow.addCell (aItem.getSMTPServerDisplayText ()); aRow.addCell (aEmailData == null ? null : aEmailData.getSubject ()); aRow.addCell (aError == null ? null : aError.getMessage ());
aRow.addCell (new HCA (aViewLink).addChild (aCurObject.getName ())); aRow.addCell (aSettings.getHostName () + (aSettings.getPort () > 0 ? ":" + aSettings.getPort () : "")); aRow.addCell (aSettings.getUserName ()); final IHCCell <?> aActionCell = aRow.addCell (); aActionCell.addChild (createEditLink (aWPEC, aCurObject,