Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 68529 invoked from network); 3 Mar 2009 13:58:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2009 13:58:13 -0000 Received: (qmail 93067 invoked by uid 500); 3 Mar 2009 13:58:03 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 93039 invoked by uid 500); 3 Mar 2009 13:58:03 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 93028 invoked by uid 99); 3 Mar 2009 13:58:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 05:58:03 -0800 X-ASF-Spam-Status: No, hits=3.6 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.92.27] (HELO qw-out-2122.google.com) (74.125.92.27) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 13:57:56 +0000 Received: by qw-out-2122.google.com with SMTP id 3so2111655qwe.59 for ; Tue, 03 Mar 2009 05:57:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.94.130 with SMTP id z2mr4192057qcm.71.1236088654254; Tue, 03 Mar 2009 05:57:34 -0800 (PST) In-Reply-To: <22306342.post@talk.nabble.com> References: <3450ad000806220719sc002a2ere385c205dcf694ac@mail.gmail.com> <113076.23732.qm@web56706.mail.re3.yahoo.com> <3450ad000806222108s1cc066bfn110f0b8f638610f3@mail.gmail.com> <3450ad000806240242i51ede539i8171946eaedf4d5b@mail.gmail.com> <3450ad000806262226i2be1e149i376f70ea0de3a4f1@mail.gmail.com> <386464.49236.qm@web56714.mail.re3.yahoo.com> <3450ad000806292223g2c007554oa037c057367fb14e@mail.gmail.com> <22306342.post@talk.nabble.com> Date: Tue, 3 Mar 2009 08:57:34 -0500 Message-ID: <366601530903030557y6d60e09fj473903867a77c80a@mail.gmail.com> Subject: Re: Struts Themes Problem - help From: Jim Kiley To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=001636426d4725d2c804643751c7 X-Virus-Checked: Checked by ClamAV on apache.org --001636426d4725d2c804643751c7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit If I am understanding you correctly, your best bet might be to customize the fielderror.ftl template for a custom theme of your own. If I were going to display errors in a custom way more than once, that's what I would do. Make a "template" directory in the root of your webapp, then make a new folder that has the name you want to give your template. (Mine is cleverly named "my".) Then copy fielderror.ftl out of the struts jar into webapp/my/fielderror.ftl, then customize the contents of fielderror.ftl. jk On Tue, Mar 3, 2009 at 5:53 AM, sajidbigler wrote: > > As said below is that a only solution or can we set theme=xhtml for > fielderror tag with in the form which uses theme= simple. > > but we will be rendering error after the filed not the above as xhtml > does.how can we make it to render it above the field instead below the > field? > > > clientname > > -- > View this message in context: > http://www.nabble.com/Struts-Themes-Problem---help-tp18054982p22306342.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com --001636426d4725d2c804643751c7--