There's an example of using labels here:
http://wiki.apache.org/myfaces/Create_and_Display_Messages
On 10/13/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> I'd probably go with a label instead, but you could just use
>
> <h:outputText id="bundleName" value="#{bundle.Name}"/>
> <h:inputText id="studentName" value="#{student.name}"/>
>
> On 10/13/05, Dave <[EMAIL PROTECTED]> wrote:
> > what id should I assign to them statically? The data model is a list of
> > objects. Thanks.
> >
> > <t:dataTable
> > var="student"
> > value="#{bean.students}">
> > <h:column>
> > <h:outputText value="#{bundle.Name}"/>
> > </h:column>
> >
> > <h:column>
> > <h:inputText value="#{student.name}"/>
> > </h:column>
> > </t:dataTable>
> >
> >
> > Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> > You can statically assign an id on your page.
> >
> > I think you can also assign a label to your component, and that label
> > value will be used instead of the id.
> >
> > On 10/13/05, Dave wrote:
> > >
> > > Hello,
> > > I am using with two columns.
> > > one is label, the other is .
> > > If there is any validation problem, I get the message like:
> > >
> > >
> > > Validation Error "_id49": Value is not a valid option.
> > >
> > >
> > >
> > > How can I replace _id49 with some meaningful id?
> > >
> > > I notieced that component id can not bind to backing bean(or data model)
> > > method.
> > >
> > >
> > >
> > > Thanks. Dave
> > >
> > > ________________________________
> > > Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
> > >
> > >
> >
> >
> > ________________________________
> > Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
> >
> >
>