I don't think you have to state what an acceptable value is.  
However, you can provide IDE tool hints about components in your
faces-config file, but these are optional.

On 11/11/05, Warren Bell <[EMAIL PROTECTED]> wrote:
> Do you have to state somewhere what is an acceptable value for a property. I
> can see where the property/attribute is listed in the tld, but there is no
> mention of what values can be used. The IDE I am using states that "table"
> and "list" are the two values that the property "layout" can use. I can not
> find these values listed anywhere accept in the rederer itself. I am
> thinking that my IDE (Eclipse with M7 NitroX plugin) has a configuration
> file of some sorts.
>
> >
> > Warren Bell wrote:
> > > I would like to just add another value for an existing property. I have
> > > extended the renderer for the messages component. Now I just need the
> > > component to use that renderer. And the component to pass to
> > the renderer
> > > the new property value. The property is layout and its accepted
> > values are
> > > table|list. I want to add 'text' as an additional value. I have included
> > > this new value in my new class.
> >
> > Dang. I didn't read carefully enough. Sorry. As the "layout" attribute
> > already exists, you can completely ignore my most recent reply :-(
> >
> > Yes all you need in the jsp page is:
> >    <t:messages layout="text">
> > and to configure a new renderer as my first reply showed.
> >
> > Looks to me like your new renderer will just need to reimplement this
> > inherited method (copy/paste/edit):
> >      protected void renderMessages(FacesContext facesContext,
> >                                    UIComponent messages)
> > and add a call to the "renderText" method when layout matches.
> >
> > Sorry for the confusion.
> >
> > Regards,
> >
> > Simon
> >
> > __________ NOD32 1.1283 (20051110) Information __________
> >
> > This message was checked by NOD32 antivirus system.
> > http://www.eset.com
> >
> >
>
>

Reply via email to