Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 52737 invoked from network); 15 Sep 2006 11:23:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Sep 2006 11:23:21 -0000 Received: (qmail 61798 invoked by uid 500); 15 Sep 2006 11:23:20 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 61395 invoked by uid 500); 15 Sep 2006 11:23:19 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 61384 invoked by uid 99); 15 Sep 2006 11:23:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Sep 2006 04:23:19 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=INFO_TLD X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Sep 2006 04:23:16 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DA8E941003C for ; Fri, 15 Sep 2006 11:19:23 +0000 (GMT) Message-ID: <23464220.1158319163892.JavaMail.jira@brutus> Date: Fri, 15 Sep 2006 04:19:23 -0700 (PDT) From: "Bernd Bohmann (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (TOBAGO-119) Allow custom markup - styles in In-Reply-To: <16520102.1157467222436.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/TOBAGO-119?page=comments#action_12434943 ] Bernd Bohmann commented on TOBAGO-119: -------------------------------------- It should be possible to define the supported markup in a theme. May be a theme has some configuration with the supported markup. @UIcomponentTagAttribute(defaultValue = "none", propertyFile="org.apache.myfaces.tobago.theme.markup.properties", property="outMarkup"); A addional alternative could be an other tag lib (tch) for panel out in.. that support some cutomizing of styles and other visual decoration. > Allow custom markup - styles in > ---------------------------------------- > > Key: TOBAGO-119 > URL: http://issues.apache.org/jira/browse/TOBAGO-119 > Project: MyFaces Tobago > Issue Type: Improvement > Components: Core > Environment: tobago 1.0.8 nightly jdk 1.4 retro > Reporter: Rainer Rohloff > Assigned To: Udo Schnurpfeil > > In order to guarantee CI, we need additional layout styles within the tag > I think an good solution is not to limit the range of values. > i.e. > > with theme-definition > .tobago-out-markup-infotext1 { > ... > border-bottom: 1px solid #b2b2b2; > ... > } > possible patch ? > public final class HtmlRendererUtil { > if (StringUtils.isNotEmpty(markup)) { > if (markup.equals("strong") || markup.equals("deleted")) { > tobagoClass.append(prefix).append("-markup-").append(markup).append(" "); > } else { > LOG.warn("Unknown markup='" + markup + "'"); > } > change to: > if (StringUtils.isNotEmpty(markup)) { > tobagoClass.append(prefix).append("-markup-").append(markup).append(" "); > if (!markup.equals("strong") && !markup.equals("deleted")) { > LOG.info("Not a standard markup='" + markup + "'"); > } > > OutTagDeclaration: > @UIComponentTagAttribute(defaultValue = "none", allowedValues = { "none", "strong", "deleted" }) > change to ???: > @UIComponentTagAttribute(defaultValue = "none") -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira