You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Anjib Mulepati <an...@hotmail.com> on 2010/11/01 16:09:14 UTC
Adding new attributes to struts1 tags
Hello
I am trying to add aria attributes to struts tags like <html:textarea>.
Currently it doesn't support. How can i add this?
I am using struts 1.3.8
Anjib
Re: Adding new attributes to struts1 tags
Posted by Anjib Mulepati <an...@hotmail.com>.
I did the search too but most is about creating new customized tag only.
So if anyone have link to this attribute adding.
Anjib
On 11/1/2010 12:10 PM, Paul Benedict wrote:
> struts tags customizing
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Adding new attributes to struts1 tags
Posted by Paul Benedict <pb...@apache.org>.
Search for "struts tags customizing". I am sure you will find something.
On Mon, Nov 1, 2010 at 11:01 AM, Anjib Mulepati <an...@hotmail.com> wrote:
> Yh i though same but haven't done these thing yet. So trying o find some
> tutorial on extending this.
>
> Anjib
>
> On 11/1/2010 11:51 AM, Paul Benedict wrote:
>>
>> One reason these are not supported is that the attributes are still in
>> draft specification. However, I don't think Struts should be so
>> difficult to extend to support other attributes.
>>
>> Paul
>>
>> On Mon, Nov 1, 2010 at 10:42 AM, Anjib Mulepati<an...@hotmail.com>
>> wrote:
>>>
>>> All ARIA attributes like
>>>
>>> * |aria-autocomplete|
>>>
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-autocomplete>
>>> * |aria-checked|(state)
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-checked>
>>> * |aria-disabled|(state)
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-disabled>
>>> * |aria-expanded|(state)
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-expanded>
>>> * |aria-haspopup|
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-haspopup>
>>> * |aria-hidden|(state)
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-hidden>
>>> * |aria-invalid|(state)
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-invalid>
>>> * |aria-label|
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-label>
>>> * |aria-level|
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-level>
>>> * |aria-multiline|
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-multiline>
>>> * |aria-multiselectable|
>>>
>>>
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-multiselectable>
>>> * |aria-orientation|
>>>
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-orientation>
>>> * |aria-pressed|(state)
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-pressed>
>>> * |aria-readonly|
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-readonly>
>>> * |aria-required|
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-required>
>>> * |aria-selected|(state)
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-selected>
>>> * |aria-sort|
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-sort>
>>> * |aria-valuemax|
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuemax>
>>> * |aria-valuemin|
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuemin>
>>> * |aria-valuenow|
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuenow>
>>> * |aria-valuetext|
>>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuetext>
>>>
>>>
>>>
>>> Currently I can't add any of the ARIA attributes to struts tags.
>>>
>>> Anjib
>>>
>>> On 11/1/2010 11:33 AM, Paul Benedict wrote:
>>>>
>>>> If you don't mind, what attributes are missing?
>>>>
>>>> On Mon, Nov 1, 2010 at 10:31 AM, Anjib Mulepati<an...@hotmail.com>
>>>> wrote:
>>>>>
>>>>> I need to do this in almost all available tags so can u post me some
>>>>> link
>>>>> where I can read about how to do this?
>>>>>
>>>>> Thanks
>>>>>
>>>>> On 11/1/2010 11:26 AM, Paul Benedict wrote:
>>>>>>
>>>>>> You can subclass the TextAreaTag class and write a custom TLD.
>>>>>>
>>>>>> -- Paul
>>>>>>
>>>>>> On Mon, Nov 1, 2010 at 10:09 AM, Anjib Mulepati<an...@hotmail.com>
>>>>>> wrote:
>>>>>>>
>>>>>>> Hello
>>>>>>>
>>>>>>> I am trying to add aria attributes to struts tags
>>>>>>> like<html:textarea>.
>>>>>>> Currently it doesn't support. How can i add this?
>>>>>>>
>>>>>>> I am using struts 1.3.8
>>>>>>>
>>>>>>> Anjib
>>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>
>>>>
>>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Adding new attributes to struts1 tags
Posted by Anjib Mulepati <an...@hotmail.com>.
Yh i though same but haven't done these thing yet. So trying o find some
tutorial on extending this.
Anjib
On 11/1/2010 11:51 AM, Paul Benedict wrote:
> One reason these are not supported is that the attributes are still in
> draft specification. However, I don't think Struts should be so
> difficult to extend to support other attributes.
>
> Paul
>
> On Mon, Nov 1, 2010 at 10:42 AM, Anjib Mulepati<an...@hotmail.com> wrote:
>> All ARIA attributes like
>>
>> * |aria-autocomplete|
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-autocomplete>
>> * |aria-checked|(state)
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-checked>
>> * |aria-disabled|(state)
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-disabled>
>> * |aria-expanded|(state)
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-expanded>
>> * |aria-haspopup|
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-haspopup>
>> * |aria-hidden|(state)
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-hidden>
>> * |aria-invalid|(state)
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-invalid>
>> * |aria-label|
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-label>
>> * |aria-level|
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-level>
>> * |aria-multiline|
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-multiline>
>> * |aria-multiselectable|
>>
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-multiselectable>
>> * |aria-orientation|
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-orientation>
>> * |aria-pressed|(state)
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-pressed>
>> * |aria-readonly|
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-readonly>
>> * |aria-required|
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-required>
>> * |aria-selected|(state)
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-selected>
>> * |aria-sort|
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-sort>
>> * |aria-valuemax|
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuemax>
>> * |aria-valuemin|
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuemin>
>> * |aria-valuenow|
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuenow>
>> * |aria-valuetext|
>> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuetext>
>>
>>
>>
>> Currently I can't add any of the ARIA attributes to struts tags.
>>
>> Anjib
>>
>> On 11/1/2010 11:33 AM, Paul Benedict wrote:
>>> If you don't mind, what attributes are missing?
>>>
>>> On Mon, Nov 1, 2010 at 10:31 AM, Anjib Mulepati<an...@hotmail.com>
>>> wrote:
>>>> I need to do this in almost all available tags so can u post me some link
>>>> where I can read about how to do this?
>>>>
>>>> Thanks
>>>>
>>>> On 11/1/2010 11:26 AM, Paul Benedict wrote:
>>>>> You can subclass the TextAreaTag class and write a custom TLD.
>>>>>
>>>>> -- Paul
>>>>>
>>>>> On Mon, Nov 1, 2010 at 10:09 AM, Anjib Mulepati<an...@hotmail.com>
>>>>> wrote:
>>>>>> Hello
>>>>>>
>>>>>> I am trying to add aria attributes to struts tags like<html:textarea>.
>>>>>> Currently it doesn't support. How can i add this?
>>>>>>
>>>>>> I am using struts 1.3.8
>>>>>>
>>>>>> Anjib
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>>
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Adding new attributes to struts1 tags
Posted by Paul Benedict <pb...@apache.org>.
One reason these are not supported is that the attributes are still in
draft specification. However, I don't think Struts should be so
difficult to extend to support other attributes.
Paul
On Mon, Nov 1, 2010 at 10:42 AM, Anjib Mulepati <an...@hotmail.com> wrote:
> All ARIA attributes like
>
> * |aria-autocomplete|
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-autocomplete>
> * |aria-checked|(state)
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-checked>
> * |aria-disabled|(state)
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-disabled>
> * |aria-expanded|(state)
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-expanded>
> * |aria-haspopup|
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-haspopup>
> * |aria-hidden|(state)
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-hidden>
> * |aria-invalid|(state)
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-invalid>
> * |aria-label|
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-label>
> * |aria-level|
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-level>
> * |aria-multiline|
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-multiline>
> * |aria-multiselectable|
>
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-multiselectable>
> * |aria-orientation|
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-orientation>
> * |aria-pressed|(state)
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-pressed>
> * |aria-readonly|
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-readonly>
> * |aria-required|
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-required>
> * |aria-selected|(state)
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-selected>
> * |aria-sort|
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-sort>
> * |aria-valuemax|
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuemax>
> * |aria-valuemin|
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuemin>
> * |aria-valuenow|
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuenow>
> * |aria-valuetext|
> <http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuetext>
>
>
>
> Currently I can't add any of the ARIA attributes to struts tags.
>
> Anjib
>
> On 11/1/2010 11:33 AM, Paul Benedict wrote:
>>
>> If you don't mind, what attributes are missing?
>>
>> On Mon, Nov 1, 2010 at 10:31 AM, Anjib Mulepati<an...@hotmail.com>
>> wrote:
>>>
>>> I need to do this in almost all available tags so can u post me some link
>>> where I can read about how to do this?
>>>
>>> Thanks
>>>
>>> On 11/1/2010 11:26 AM, Paul Benedict wrote:
>>>>
>>>> You can subclass the TextAreaTag class and write a custom TLD.
>>>>
>>>> -- Paul
>>>>
>>>> On Mon, Nov 1, 2010 at 10:09 AM, Anjib Mulepati<an...@hotmail.com>
>>>> wrote:
>>>>>
>>>>> Hello
>>>>>
>>>>> I am trying to add aria attributes to struts tags like<html:textarea>.
>>>>> Currently it doesn't support. How can i add this?
>>>>>
>>>>> I am using struts 1.3.8
>>>>>
>>>>> Anjib
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Adding new attributes to struts1 tags
Posted by Anjib Mulepati <an...@hotmail.com>.
All ARIA attributes like
* |aria-autocomplete|
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-autocomplete>
* |aria-checked|(state)
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-checked>
* |aria-disabled|(state)
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-disabled>
* |aria-expanded|(state)
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-expanded>
* |aria-haspopup|
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-haspopup>
* |aria-hidden|(state)
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-hidden>
* |aria-invalid|(state)
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-invalid>
* |aria-label|
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-label>
* |aria-level|
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-level>
* |aria-multiline|
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-multiline>
* |aria-multiselectable|
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-multiselectable>
* |aria-orientation|
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-orientation>
* |aria-pressed|(state)
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-pressed>
* |aria-readonly|
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-readonly>
* |aria-required|
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-required>
* |aria-selected|(state)
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-selected>
* |aria-sort|
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-sort>
* |aria-valuemax|
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuemax>
* |aria-valuemin|
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuemin>
* |aria-valuenow|
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuenow>
* |aria-valuetext|
<http://www.w3.org/TR/wai-aria/states_and_properties#aria-valuetext>
Currently I can't add any of the ARIA attributes to struts tags.
Anjib
On 11/1/2010 11:33 AM, Paul Benedict wrote:
> If you don't mind, what attributes are missing?
>
> On Mon, Nov 1, 2010 at 10:31 AM, Anjib Mulepati<an...@hotmail.com> wrote:
>> I need to do this in almost all available tags so can u post me some link
>> where I can read about how to do this?
>>
>> Thanks
>>
>> On 11/1/2010 11:26 AM, Paul Benedict wrote:
>>> You can subclass the TextAreaTag class and write a custom TLD.
>>>
>>> -- Paul
>>>
>>> On Mon, Nov 1, 2010 at 10:09 AM, Anjib Mulepati<an...@hotmail.com>
>>> wrote:
>>>> Hello
>>>>
>>>> I am trying to add aria attributes to struts tags like<html:textarea>.
>>>> Currently it doesn't support. How can i add this?
>>>>
>>>> I am using struts 1.3.8
>>>>
>>>> Anjib
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
Re: Adding new attributes to struts1 tags
Posted by Paul Benedict <pb...@apache.org>.
If you don't mind, what attributes are missing?
On Mon, Nov 1, 2010 at 10:31 AM, Anjib Mulepati <an...@hotmail.com> wrote:
> I need to do this in almost all available tags so can u post me some link
> where I can read about how to do this?
>
> Thanks
>
> On 11/1/2010 11:26 AM, Paul Benedict wrote:
>>
>> You can subclass the TextAreaTag class and write a custom TLD.
>>
>> -- Paul
>>
>> On Mon, Nov 1, 2010 at 10:09 AM, Anjib Mulepati<an...@hotmail.com>
>> wrote:
>>>
>>> Hello
>>>
>>> I am trying to add aria attributes to struts tags like<html:textarea>.
>>> Currently it doesn't support. How can i add this?
>>>
>>> I am using struts 1.3.8
>>>
>>> Anjib
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Adding new attributes to struts1 tags
Posted by Anjib Mulepati <an...@hotmail.com>.
I need to do this in almost all available tags so can u post me some
link where I can read about how to do this?
Thanks
On 11/1/2010 11:26 AM, Paul Benedict wrote:
> You can subclass the TextAreaTag class and write a custom TLD.
>
> -- Paul
>
> On Mon, Nov 1, 2010 at 10:09 AM, Anjib Mulepati<an...@hotmail.com> wrote:
>> Hello
>>
>> I am trying to add aria attributes to struts tags like<html:textarea>.
>> Currently it doesn't support. How can i add this?
>>
>> I am using struts 1.3.8
>>
>> Anjib
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Adding new attributes to struts1 tags
Posted by Paul Benedict <pb...@apache.org>.
You can subclass the TextAreaTag class and write a custom TLD.
-- Paul
On Mon, Nov 1, 2010 at 10:09 AM, Anjib Mulepati <an...@hotmail.com> wrote:
> Hello
>
> I am trying to add aria attributes to struts tags like <html:textarea>.
> Currently it doesn't support. How can i add this?
>
> I am using struts 1.3.8
>
> Anjib
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org