Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AEEE7200B31 for ; Tue, 24 May 2016 17:47:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ADD24160A35; Tue, 24 May 2016 15:47:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F3B8216098E for ; Tue, 24 May 2016 17:47:13 +0200 (CEST) Received: (qmail 35601 invoked by uid 500); 24 May 2016 15:47:13 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 35591 invoked by uid 99); 24 May 2016 15:47:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 May 2016 15:47:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E59B92C1F61 for ; Tue, 24 May 2016 15:47:12 +0000 (UTC) Date: Tue, 24 May 2016 15:47:12 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4634) Centre alignment doesn't seem to work in Velocity tags MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 24 May 2016 15:47:14 -0000 [ https://issues.apache.org/jira/browse/WW-4634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15298383#comment-15298383 ] ASF GitHub Bot commented on WW-4634: ------------------------------------ Github user victorsosa commented on the pull request: https://github.com/apache/struts/pull/95#issuecomment-221314653 @aleksandr-m You mean something like in controlheader.ftl and .tdInput {text-align:left;} in styles.css. <-- This is for 2.5. THat means **drop align attribute completely** from S2 tags; So from now on the only way to set the align to _center_ for example is to overwrite the css class _tdInput_ in 2.5, right? I will change to that code. > Centre alignment doesn't seem to work in Velocity tags > ------------------------------------------------------ > > Key: WW-4634 > URL: https://issues.apache.org/jira/browse/WW-4634 > Project: Struts 2 > Issue Type: Bug > Components: Other > Affects Versions: 2.5 > Reporter: Jon Juaristi > Priority: Minor > Fix For: 2.5.1 > > > When using a tag in a Velocity template, for instance {{#stextfield("label=Foo" "align=center")}} with the default xhtml theme, inputs are prepended with just instead of (as it happens in 2.3.x) in the generated HTML. A form where you want to centre some of the inputs simply doesn't render as intended. > I'm using Velocity 1.7 and Velocity Tools 2.0, if that helps. -- This message was sent by Atlassian JIRA (v6.3.4#6332)