From a66959d76db62f06c65ee0e5d66a398a5ca5787f Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Thu, 31 Mar 2011 16:15:25 -0700 Subject: [PATCH] degrade to rowSet, which works nicely with descriptorList --- .../resources/lib/form/optionalBlock.jelly | 48 ++++++++++++------- 1 file changed, 31 insertions(+), 17 deletions(-) diff --git a/core/src/main/resources/lib/form/optionalBlock.jelly b/core/src/main/resources/lib/form/optionalBlock.jelly index 5602254766..37039e0e2a 100644 --- a/core/src/main/resources/lib/form/optionalBlock.jelly +++ b/core/src/main/resources/lib/form/optionalBlock.jelly @@ -35,6 +35,10 @@ THE SOFTWARE. Human readable text that follows the checkbox. + + If this field is null, the checkbox degrades to a <f:rowSet>, which provides + a grouping at JSON level but on the UI there's no checkbox (and you always see + the body of it.) Used for databinding. TBD. Either this or @name/@title combo is required. @@ -59,21 +63,31 @@ THE SOFTWARE. value="${descriptor.getHelpFile(attrs.field)}" /> - - - - - - - Help for feature: ${title} - - - - - - - - - + + + + + + + + + Help for feature: ${title} + + + + + + + + + + + + + + + + + \ No newline at end of file -- GitLab