You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Denis Kononenko <de...@yahoo.com> on 2010/08/23 20:58:10 UTC

How use Form.required

Hello!
I can't use attribute Form.required
...<TextInput Form.label="First name" Form.required="true" textSize="21"/>...Form.required - not worked
Help me. Thanks


      

Re: How use Form.required

Posted by Greg Brown <gk...@mac.com>.
Yes - in 1.5.x, the closeable attribute was non-functional. It has been implemented for Pivot 2.0 as a property of TabPane itself.


On Aug 26, 2010, at 3:35 AM, Denis Kononenko wrote:

> TabPane.closable situation as I understand it similar?
> sorry for my bad English
> thanks
> 
> 
> --- On Tue, 8/24/10, Greg Brown <gk...@mac.com> wrote:
> 
> From: Greg Brown <gk...@mac.com>
> Subject: Re: How use Form.required
> To: user@pivot.apache.org
> Date: Tuesday, August 24, 2010, 4:56 AM
> 
> OK, that was my original thought also. Please feel free to submit a patch or feature request to add this. The easiest way to handle it would probably be to attach a TagDecorator to the field when "required" is true (the decorator would draw the asterisk).
> Thanks,
> Greg
> 
> On Aug 24, 2010, at 1:30 AM, Denis Kononenko wrote:
> 
>> example a red asterisk (*) character as a separator between the label and the  child to indicate a required field.
>> 
>> --- On Mon, 8/23/10, Greg Brown <gk...@mac.com> wrote:
>> 
>> From: Greg Brown <gk...@mac.com>
>> Subject: Re: How use Form.required
>> To: user@pivot.apache.org
>> Date: Monday, August 23, 2010, 12:17 PM
>> 
>> That attribute doesn't actually do anything at the moment. It was added in case a particular form skin wanted to highlight required fields - however, the default form skin doesn't do this.
>> 
>> Just curious - what would you expect to see when you set this value to true?
>> 
>> On Aug 23, 2010, at 2:58 PM, Denis Kononenko wrote:
>> 
>>> Hello!
>>> 
>>> I can't use attribute Form.required
>>> 
>>> ...
>>> <TextInput Form.label="First name" Form.required="true" textSize="21"/>
>>> ...
>>> Form.required - not worked
>>> 
>>> Help me. Thanks
>>> 
>> 
>> 
> 
> 


Re: How use Form.required

Posted by Denis Kononenko <de...@yahoo.com>.
TabPane.closable situation as I understand it similar?sorry for my bad Englishthanks

--- On Tue, 8/24/10, Greg Brown <gk...@mac.com> wrote:

From: Greg Brown <gk...@mac.com>
Subject: Re: How use Form.required
To: user@pivot.apache.org
Date: Tuesday, August 24, 2010, 4:56 AM

OK, that was my original thought also. Please feel free to submit a patch or feature request to add this. The easiest way to handle it would probably be to attach a TagDecorator to the field when "required" is true (the decorator would draw the asterisk).Thanks,Greg

On Aug 24, 2010, at 1:30 AM, Denis Kononenko wrote:
example a red asterisk (*) character as a separator between the label and the  child to indicate a required field.

--- On Mon, 8/23/10, Greg Brown <gk...@mac.com> wrote:

From: Greg Brown <gk...@mac.com>
Subject: Re: How use Form.required
To: user@pivot.apache.org
Date: Monday, August 23, 2010, 12:17 PM

That attribute doesn't actually do anything at the moment. It was added in case a particular form skin wanted to highlight required fields - however, the default form skin doesn't do this.
Just curious - what would you expect to see when you set this value to
 true?

On Aug 23, 2010, at 2:58 PM, Denis Kononenko wrote:
Hello!
I can't use attribute Form.required
...<TextInput Form.label="First name" Form.required="true" textSize="21"/>...Form.required - not worked
Help me. Thanks


      
 









      



      

Re: How use Form.required

Posted by Greg Brown <gk...@mac.com>.
OK, that was my original thought also. Please feel free to submit a patch or feature request to add this. The easiest way to handle it would probably be to attach a TagDecorator to the field when "required" is true (the decorator would draw the asterisk).
Thanks,
Greg

On Aug 24, 2010, at 1:30 AM, Denis Kononenko wrote:

> example a red asterisk (*) character as a separator between the label and the  child to indicate a required field.
> 
> --- On Mon, 8/23/10, Greg Brown <gk...@mac.com> wrote:
> 
> From: Greg Brown <gk...@mac.com>
> Subject: Re: How use Form.required
> To: user@pivot.apache.org
> Date: Monday, August 23, 2010, 12:17 PM
> 
> That attribute doesn't actually do anything at the moment. It was added in case a particular form skin wanted to highlight required fields - however, the default form skin doesn't do this.
> 
> Just curious - what would you expect to see when you set this value to true?
> 
> On Aug 23, 2010, at 2:58 PM, Denis Kononenko wrote:
> 
>> Hello!
>> 
>> I can't use attribute Form.required
>> 
>> ...
>> <TextInput Form.label="First name" Form.required="true" textSize="21"/>
>> ...
>> Form.required - not worked
>> 
>> Help me. Thanks
>> 
> 
> 


Re: How use Form.required

Posted by Denis Kononenko <de...@yahoo.com>.
example a red asterisk (*) character as a separator between the label and the  child to indicate a required field.

--- On Mon, 8/23/10, Greg Brown <gk...@mac.com> wrote:

From: Greg Brown <gk...@mac.com>
Subject: Re: How use Form.required
To: user@pivot.apache.org
Date: Monday, August 23, 2010, 12:17 PM

That attribute doesn't actually do anything at the moment. It was added in case a particular form skin wanted to highlight required fields - however, the default form skin doesn't do this.
Just curious - what would you expect to see when you set this value to true?

On Aug 23, 2010, at 2:58 PM, Denis Kononenko wrote:
Hello!
I can't use attribute Form.required
...<TextInput Form.label="First name" Form.required="true" textSize="21"/>...Form.required - not worked
Help me. Thanks


      
 



      

Re: How use Form.required

Posted by Greg Brown <gk...@mac.com>.
That attribute doesn't actually do anything at the moment. It was added in case a particular form skin wanted to highlight required fields - however, the default form skin doesn't do this.

Just curious - what would you expect to see when you set this value to true?

On Aug 23, 2010, at 2:58 PM, Denis Kononenko wrote:

> Hello!
> 
> I can't use attribute Form.required
> 
> ...
> <TextInput Form.label="First name" Form.required="true" textSize="21"/>
> ...
> Form.required - not worked
> 
> Help me. Thanks
>