pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: Form Field Label & Error Message
Date Wed, 07 Dec 2011 12:34:14 GMT
You need to put the Form.Label attributes and flags on the BoxPane, not the Label.

On Dec 6, 2011, at 11:44 PM, Jumbo <p_kowshik@yahoo.com> wrote:

> In the following markup code, the Form field labels are not displayed. When
> Error Flags are set for the fields during validation, the tooltips with
> error messages are also not displayed.
> 
> <Form bxml:id="Form">
>   <Form.Section>
>      <BoxPane orientation="horizontal">
>         <TextInput bxml:id="firstNameTextInput"
>                     Form.Label="First Name"
>                     maximumLength="25"/>
>         <TextInput bxml:id="lastNameTextInput"
>                     Form.Label="Last Name"
>                     maximumLength="25"/>
>      </BoxPane>
>   </Form.Section>
> </Form>
> 
> When I remove the <BoxPane> element, the above mentioned things work but the
> fields are displayed one below the other whereas I want to display them on
> the same line.
> 
> How do I get the correct markup?
> 
> Thanks
> 
> --
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Form-Field-Label-Error-Message-tp3566467p3566467.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Mime
View raw message