On 7/11/07, Tomas KRAMAR <[EMAIL PROTECTED]> wrote:
This seems like exactly what I need, but I just can't figure out how to use
it. My search in google showed nothing. I was hoping to find some
configuration file inside struts-taglib.jar, but nothing too.
Could you point me to the right direction?

There is nothing else - you have to create your own custom tag
implementation(s) (with tlds) with the code for any your new
attributes - it just provides a method that implementations can
override at an appropriate point so that all you need are the
getters/setters for your new attribute(s) and the logic to render the
attribute in that method.

Niall

2007/7/10, Niall Pemberton <[EMAIL PROTECTED]>:
>
> On 7/10/07, Tomas KRAMAR <[EMAIL PROTECTED]> wrote:
> > Hi folks,
> > I need to turn off the autocompletion feature on a html text input. I am
> > using my own ajax autocompletion, but the default autocompletion
> interferes
> > with mine. I have read, that struts taglib does not support this, as it
> is
> > not part of HTML specification. It it is a worthwhile trade for me,
> because
> > my autocompletion is now unusable.
> > I have read that struts provides some hooks to change the default
> behaviour,
> > but couldnt' find something more specific. I dont feel like modifying
> struts
> > tlds and taglibs. Can you guys give me some hint how to add
> > autocomplete="off" support? It seems to me like a common request, and I
> > dont't want to reinvent the wheel.
>
> The "hooks" are methods in the tags where custom attributes can be
> added - which is the only mechanism provided:
>
> http://tinyurl.com/3ydoop
>
> Niall
>
> > Thanks in advance.
> >
> > --
> > Tomas Kramar

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to