You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Scott Lanham <li...@sael.com.au> on 2009/08/27 04:06:41 UTC

Form Label Colons

Hi,

You guys must love these pernickety questions ;-)

One of the UI "looks" I usually have to adhere to is not having colons at the 
end of lables set with Form.Label. Is there any way of turning this off?

It is not an imperative feature. If it is available I will use it otherwise I 
will just live with the default.

Cheers,

Scott.



Re: Form Label Colons

Posted by Scott Lanham <li...@sael.com.au>.
Thanks Todd thats excellent.

On Thu, 27 Aug 2009 12:31:07 pm Todd Volkert wrote:
> Actually, this was too easy to implement to justify making you wait :).
> This style is checked in now.  You can get the bahavior you want by
> defining your form as follows:
>
> <Form styles="{delimiter:''}">
>     ...
> </Form>
>
> Enjoy,
> -T
>
> On Wed, Aug 26, 2009 at 10:12 PM, Scott Lanham <li...@sael.com.au> wrote:
> > Would it be possible to just take the Form.label as is and if I need the
> > ":" I
> > can just add it there?
> >
> > On Thu, 27 Aug 2009 12:10:38 pm Todd Volkert wrote:
> > > Nope, but again, it wouldn't be too tough to add a style in
> > > TerraFormSkin if you needed it. :)
> > >
> > > -T
> > >
> > > On Wed, Aug 26, 2009 at 10:06 PM, Scott Lanham <li...@sael.com.au>
> >
> > wrote:
> > > > Hi,
> > > >
> > > > You guys must love these pernickety questions ;-)
> > > >
> > > > One of the UI "looks" I usually have to adhere to is not having
> > > > colons
> >
> > at
> >
> > > > the
> > > > end of lables set with Form.Label. Is there any way of turning this
> >
> > off?
> >
> > > > It is not an imperative feature. If it is available I will use it
> > > > otherwise I
> > > > will just live with the default.
> > > >
> > > > Cheers,
> > > >
> > > > Scott.


Re: Form Label Colons

Posted by Todd Volkert <tv...@gmail.com>.
Actually, this was too easy to implement to justify making you wait :).
This style is checked in now.  You can get the bahavior you want by defining
your form as follows:

<Form styles="{delimiter:''}">
    ...
</Form>

Enjoy,
-T

On Wed, Aug 26, 2009 at 10:12 PM, Scott Lanham <li...@sael.com.au> wrote:

> Would it be possible to just take the Form.label as is and if I need the
> ":" I
> can just add it there?
>
> On Thu, 27 Aug 2009 12:10:38 pm Todd Volkert wrote:
> > Nope, but again, it wouldn't be too tough to add a style in TerraFormSkin
> > if you needed it. :)
> >
> > -T
> >
> > On Wed, Aug 26, 2009 at 10:06 PM, Scott Lanham <li...@sael.com.au>
> wrote:
> > > Hi,
> > >
> > > You guys must love these pernickety questions ;-)
> > >
> > > One of the UI "looks" I usually have to adhere to is not having colons
> at
> > > the
> > > end of lables set with Form.Label. Is there any way of turning this
> off?
> > >
> > > It is not an imperative feature. If it is available I will use it
> > > otherwise I
> > > will just live with the default.
> > >
> > > Cheers,
> > >
> > > Scott.
>
>

Re: Form Label Colons

Posted by Todd Volkert <tv...@gmail.com>.
I think the notion that Form will add some delimiter is probably useful, but
I created https://issues.apache.org/jira/browse/PIVOT-242 for this feature
request, which should satisfy your needs (in your case, you'd set it to the
empty string).

I marked this against the 1.4 release, but it's super easy to do, so if you
want it sooner, that's cool too.

-T

On Wed, Aug 26, 2009 at 10:12 PM, Scott Lanham <li...@sael.com.au> wrote:

> Would it be possible to just take the Form.label as is and if I need the
> ":" I
> can just add it there?
>
> On Thu, 27 Aug 2009 12:10:38 pm Todd Volkert wrote:
> > Nope, but again, it wouldn't be too tough to add a style in TerraFormSkin
> > if you needed it. :)
> >
> > -T
> >
> > On Wed, Aug 26, 2009 at 10:06 PM, Scott Lanham <li...@sael.com.au>
> wrote:
> > > Hi,
> > >
> > > You guys must love these pernickety questions ;-)
> > >
> > > One of the UI "looks" I usually have to adhere to is not having colons
> at
> > > the
> > > end of lables set with Form.Label. Is there any way of turning this
> off?
> > >
> > > It is not an imperative feature. If it is available I will use it
> > > otherwise I
> > > will just live with the default.
> > >
> > > Cheers,
> > >
> > > Scott.
>
>

Re: Form Label Colons

Posted by Scott Lanham <li...@sael.com.au>.
Would it be possible to just take the Form.label as is and if I need the ":" I 
can just add it there?

On Thu, 27 Aug 2009 12:10:38 pm Todd Volkert wrote:
> Nope, but again, it wouldn't be too tough to add a style in TerraFormSkin
> if you needed it. :)
>
> -T
>
> On Wed, Aug 26, 2009 at 10:06 PM, Scott Lanham <li...@sael.com.au> wrote:
> > Hi,
> >
> > You guys must love these pernickety questions ;-)
> >
> > One of the UI "looks" I usually have to adhere to is not having colons at
> > the
> > end of lables set with Form.Label. Is there any way of turning this off?
> >
> > It is not an imperative feature. If it is available I will use it
> > otherwise I
> > will just live with the default.
> >
> > Cheers,
> >
> > Scott.


Re: Form Label Colons

Posted by Todd Volkert <tv...@gmail.com>.
Nope, but again, it wouldn't be too tough to add a style in TerraFormSkin if
you needed it. :)

-T

On Wed, Aug 26, 2009 at 10:06 PM, Scott Lanham <li...@sael.com.au> wrote:

> Hi,
>
> You guys must love these pernickety questions ;-)
>
> One of the UI "looks" I usually have to adhere to is not having colons at
> the
> end of lables set with Form.Label. Is there any way of turning this off?
>
> It is not an imperative feature. If it is available I will use it otherwise
> I
> will just live with the default.
>
> Cheers,
>
> Scott.
>
>
>