The MyFaces Examples sport an example like that - look at http://www.irian.at/myfaces/home.jsf
click on examples -> components -> master-detail example -> edit all countries the corresponding backing bean class you can find in the MyFaces examples source code. regards, Martin On Thu, 3 Feb 2005 12:38:49 -0500, Sean Schofield <[EMAIL PROTECTED]> wrote: > I assume you mean a dataTable that contains editable (UIInput) > components right? Tables themselves are not really editable but they > can contain editable components. > > Here is a link to an excellent online resource for JSF tags. It shows > the component details, an example JSP, the resulting HTML (as it > appears) and the resulting HTML code. > > http://www.exadel.com/tutorial/jsf/jsftags-guide.html > > Eventually I'd like to see us produce something like that for myfaces. > Currently we have some examples but it would be nice to have a > consistent format and approach to all of the examples. > > As for examples of a backing bean, I don't have one off hand but the > backing bean for a dataTable is not too tough. Generally you point > the "value" of the table to a collection of beans and assign a > variable name in the "var" attribute so that you can reference with > binding expressions as you iterrate over that collection. You should > be able to find one through a simple google search and all of the JSF > books basically cover this one. (You might as well get a JSF book if > you're going to be doing some serious JSF) > > HTH, > > sean > > On Thu, 03 Feb 2005 07:06:45 -0600, Norm Deane > <[EMAIL PROTECTED]> wrote: > > Can someone point me in the direction of an example of an editable > > dataTable? I'd like to see both the JSP page and the backing bean. > > > > Thanks, > > > > Norm > > >

