struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlo latasa <clat...@gmail.com>
Subject Fwd: RE: Global tag settings?
Date Tue, 24 Mar 2009 21:23:06 GMT
I'm not sure I understand what you are getting at but this is what I'd like
to do:

At the moment all of my textfield tags render with labelposition=top - the
default. I'd like to make a global setting for all textfield tags such that
the labelposition=left. Instead of having to call it out in every tag on
every page (thousands in my case).

All other parameters for all other tags could use the default labelposition
- unless I specified otherwise in say the struts.xml;)

Make sense?


On Mar 24, 2009 12:02pm, Martin Gainty <mgainty@hotmail.com> wrote:
>
> if you think labelPosition attribute should have a global default then you
may want to update Struts 2 JIRA
> but
> in the case of labelPosition each struts tag is placed in different
locations
> so having a global default of labelPosition="top" is orthogonal
> as setting each and every struts tag labelPosition would still have to be
> done for each declared tag in the form
> Is there a practical use case for this scenario?
>
> Martin
> ______________________________________________
> Disclaimer and confidentiality note
> This message is confidential and may be privileged. If you are not the
intended recipient, we kindly ask you to please inform the sender. Any
unauthorised dissemination or copying hereof is prohibited. This message
serves for information purposes only and shall not have any legally binding
effect. Given that e-mails can easily be subject to manipulation, we can not
accept any liability for the content provided.
>
>
>
>
>
>
> > Date: Tue, 24 Mar 2009 13:02:18 -0400
> > Subject: Re: Global tag settings?
> > From: jhkiley@summa-tech.com
> > To: user@struts.apache.org
> >
> > I don't know of any way to set those values globally for the
application,
> > but this isn't something I have put a lot of time into. This is the
right
> > list to ask questions on, but if you get no response by the second or
third
> > question it probably means that the folks reading don't know offhand and
may
> > not have time to find the answer.
> > jk
> >
> > On Tue, Mar 24, 2009 at 12:55 PM, carlo latasa clatasa@gmail.com> wrote:
> >
> > > So is this the wrong list to post a question? or is this a RTFM issue?
> > >
> > > On Mon, Mar 23, 2009 at 4:47 PM, carlo latasa clatasa@gmail.com>
wrote:
> > >
> > > > So should I post this to :
> > > > https://issues.apache.org/struts/secure/Dashboard.jspa ??
> > > >
> > > > going once, going twice???
> > > >
> > > > can anyone tell me where the defaults are even set? I've looked
through
> > > the
> > > > struts-core jar with no luck.
> > > >
> > > >
> > > > On Mon, Mar 23, 2009 at 1:57 PM, carlo latasa clatasa@gmail.com>
wrote:
> > > >
> > > >> org.apache.struts2.views.jsp.ui.SelectTag.labelPosition=right
> > > >>
> > > >> or
> > > >>
> > > >> org.apache.struts2.components.Select.labelPositioin=right
> > > >>
> > > >> don't work either.
> > > >>
> > > >> So does the default struts.properties file included in the struts
jar
> > > >> define all the possible keys/values that can be set at runtime?
> > > >>
> > > >
> > > >
> > > >
> > > >>
> > > >>
> > > >> On Fri, Mar 20, 2009 at 12:04 PM, clatasa@gmail.com> wrote:
> > > >>
> > > >>> Hello,
> > > >>>
> > > >>> Is there any way to set common tag parameters like labelSeparator,
> > > >>> labelposition etc.. in say the struts.properties file?
> > > >>>
> > > >>> I've tried struts.tag.labelposition, struts.ui.tag.labelposition.
> > > >>>
> > > >>> thanks,
> > > >>>
> > > >>> Carlo
> > > >>
> > > >>
> > > >>
> > > >>
> > > >>
> > > >
> > >
> > >
> > > --
> > > Carlo Latasa
> > > Cell: (415) 385-1567
> > >
> >
> >
> >
> > --
> > Jim Kiley
> > Senior Technical Consultant | Summa
> > [p] 412.258.3346
> > http://www.summa-tech.com
>
> Express your personality in color! Preview and select themes for HotmailĀ®.
See how.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message