From issues-return-32716-archive-asf-public=cust-asf.ponee.io@struts.apache.org Wed Nov 28 16:47:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 206B018077A for ; Wed, 28 Nov 2018 16:47:03 +0100 (CET) Received: (qmail 33766 invoked by uid 500); 28 Nov 2018 15:47:03 -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 33642 invoked by uid 99); 28 Nov 2018 15:47:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2018 15:47:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 7C819CFB60 for ; Wed, 28 Nov 2018 15:47:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ZZQPs9VKZtr1 for ; Wed, 28 Nov 2018 15:47:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E148060FB1 for ; Wed, 28 Nov 2018 15:47:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 895A8E1328 for ; Wed, 28 Nov 2018 15:47:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4ADE424DD4 for ; Wed, 28 Nov 2018 15:47:00 +0000 (UTC) Date: Wed, 28 Nov 2018 15:47:00 +0000 (UTC) From: "Muhammad Salman (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4987) Setting Struts2 options Css Class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4987?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1670204= 4#comment-16702044 ]=20 Muhammad Salman commented on WW-4987: ------------------------------------- [~aleksandr-m] I tried your proposed solution but It didn't worked for me or perhaps I mis= understood your point. Basically we were previously on struts 2.2.3 version, and on that version {= code:xml}cssClass{code} attribute of {code:xml}{code} populates t= he class for {code:xml}{code} and on = that particular class we have some business logic implemented. Now after mi= gration our that functionality stops working because of the class not being= applied by {code:xml}{code} to {code:xml}{code}. I believe the struts version onwards from 2.= 2.3 should support this feature of {code:xml}{code} perhaps in so= me other way. Can you guide me how can get through it or propose a rough sn= ippet which I try on my end. Other features of latest struts 2.5.17 are rea= lly awesome but I am really stuck in this particular scenario. > Setting Struts2 options Css Class > -------------------------------------------- > > Key: WW-4987 > URL: https://issues.apache.org/jira/browse/WW-4987 > Project: Struts 2 > Issue Type: Bug > Components: Core Tags > Affects Versions: 2.5.17 > Reporter: Muhammad Salman > Priority: Major > Fix For: 2.6, 2.5.19 > > > Hi > I am working on an application that is built on struts 2.5.17. I have {{<= s:select>}} tag with and