<t:textfield value="someValue" placeholder="prop:name" disabled="true"/>

In this case "disabled" is T5 parameter, not html attribute.

http://tapestry.apache.org/component-parameters.html

This component will be rendered as:

<input ... disabled="disabled">


On Tue, Mar 5, 2013 at 4:59 PM, Tony Nelson <tnel...@starpoint.com> wrote:
>
>
>> -----Original Message-----
>> From: Ivan Khalopik [mailto:ikhalo...@gmail.com]
>> Sent: Tuesday, March 05, 2013 3:34 AM
>> To: Tapestry users
>> Subject: Re: tapestry5.3 and Twitter-bootstrap disabled inputs
>>
>> You can use span element with .uneditable-input if you have some field that
>> should not be modified at all.
>>
>> <span class="input-xlarge uneditable-input">Some value here</span>
>>
>> If you need some client-side behaviour of enable/disable component use
>> disabled attribute as mentioned earlier.
>>
>> <input type="text" placeholder="${name}" disabled="disabled"/>
>>
>> Or:
>>
>> <t:textfield value="someValue" placeholder="prop:name"
>> disabled="true"/>
>>
>
> According to this
>
> http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#boolean-attribute
>
> disabled="true"
>
> is actually invalid markup.
>
> Since 1982, Starpoint Solutions has been a trusted source of human capital 
> and solutions. We are committed to our clients, employees, environment, 
> community and social concerns.  We foster an inclusive culture based on 
> trust, respect, honesty and solid performance. Learn more about Starpoint and 
> our social responsibility at http://www.starpoint.com/social_responsibility
>
> This email message from Starpoint Solutions LLC is for the sole use of  the 
> intended recipient(s) and may contain confidential and privileged  
> information.  Any unauthorized review, use, disclosure or distribution is 
> prohibited.  If you are not the intended recipient, please contact the sender 
> by reply email and destroy all copies of the original message.  Opinions, 
> conclusions and other information in this message that do not relate to the 
> official business of Starpoint Solutions shall be understood as neither given 
> nor endorsed by it.



-- 
BR
Ivan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to