From c36808d5d2fbf68817fc7ea38ec8e8561a02ecbb Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 21 Feb 2012 15:13:52 -0800 Subject: [PATCH] bug 13765 Properly sync returned sticky fields from the API with the UI form, by dynamically generating createForm fields based on Lb sticky capabilities object; this will keep the required and conditional fields properly up to date with the API requirements. --- .../classes/resources/messages.properties | 13 +++++++- ui/index.jsp | 12 +++++++ ui/scripts/lbStickyPolicy.js | 31 ++++++++++--------- 3 files changed, 41 insertions(+), 15 deletions(-) diff --git a/client/WEB-INF/classes/resources/messages.properties b/client/WEB-INF/classes/resources/messages.properties index a0301060405..55bb04925a9 100644 --- a/client/WEB-INF/classes/resources/messages.properties +++ b/client/WEB-INF/classes/resources/messages.properties @@ -1,7 +1,18 @@ #new labels (begin) ********************************************************************************************** +label.sticky.tablesize=Table size +label.sticky.expire=Expires +label.sticky.cookie-name=Cookie name +label.sticky.mode=Mode +label.sticky.length=Length +label.sticky.holdtime=Hold time +label.sticky.request-learn=Request learn +label.sticky.prefix=Prefix +label.sticky.nocache=No cache +label.sticky.indirect=Indirect +label.sticky.postonly=Post only +label.sticky.domain=Domain state.Allocating=Allocating state.Migrating=Migrating - #new labels (end) ************************************************************************************************ diff --git a/ui/index.jsp b/ui/index.jsp index 28d2b9cf410..1fafa96598e 100644 --- a/ui/index.jsp +++ b/ui/index.jsp @@ -1614,6 +1614,18 @@